~raghavendra-prabhu/percona-xtradb-cluster/release-5.5.30-galera-2.x

« back to all changes in this revision

Viewing changes to tests/conf/main.conf

  • Committer: Raghavendra D Prabhu
  • Date: 2013-04-05 13:55:24 UTC
  • mfrom: (95.2.22 2.x)
  • Revision ID: raghavendra.prabhu@percona.com-20130405135524-aa4f4y9rko7t3cvt
Merge galera/2.x branch.

We merge upto r148 of galera/2.x branch for 5.5.30-23.7.4 PXC release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# The code below tries to find available libglb.so and if found, export
11
11
# necessary variables for client side load balancing
12
12
GLB_LIB=${GLB_LIB:-""}
13
 
if [ ! -r "$GLB_LIB" ]
 
13
if [ -z "$GLB_LIB" ]
14
14
then
15
15
    if [ -r /usr/local/lib/libglb.so ]
16
16
    then
23
23
 
24
24
if [ -r "$GLB_LIB" ]
25
25
then
26
 
    LD_PRELOAD=${LD_PRELOAD:-""}
27
 
    if [ -n "$LD_PRELOAD" ]
 
26
    GLB_PRELOAD=${LD_PRELOAD:-""}
 
27
    if [ -n "$GLB_PRELOAD" ]
28
28
    then
29
 
        export LD_PRELOAD="$GLB_LIB:$LD_PRELOAD"
 
29
        export GLB_PRELOAD="$GLB_LIB:$GLB_PRELOAD"
30
30
    else
31
 
        export LD_PRELOAD="$GLB_LIB"
 
31
        export GLB_PRELOAD="$GLB_LIB"
32
32
    fi
33
33
 
34
34
    export GLB_BIND=$DBMS_HOST:$DBMS_PORT