summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-24 15:58:52 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-24 15:58:52 +0200
commit706a0a39ed3f6ca0f582d3c0946fce6e98062534 (patch)
tree52d5e2538b0d3d438c092ff518220c8a1b274613 /mysys/default.c
parent8ac45fb09d145d284aa78e54473748d2c82b23cd (diff)
parent84a63525d5d54af1dce105dd01f3708268f5e1ee (diff)
downloadmariadb-git-706a0a39ed3f6ca0f582d3c0946fce6e98062534.tar.gz
merged 5.0-bugteam -> 5.1-bugteam
Diffstat (limited to 'mysys/default.c')
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index ce997f2556a..1c021b4584f 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -1127,7 +1127,7 @@ static const char **init_default_directories(MEM_ROOT *alloc)
errors += add_directory(alloc, "/etc/mysql/", dirs);
#if defined(DEFAULT_SYSCONFDIR)
- if (DEFAULT_SYSCONFDIR != "")
+ if (DEFAULT_SYSCONFDIR[0])
errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
#endif /* DEFAULT_SYSCONFDIR */