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
commitc36e935ac243e439012764fbbd87c460ff8ce9db (patch)
tree52d5e2538b0d3d438c092ff518220c8a1b274613 /mysys/default.c
parent515e83cc8e6e0b54e411758e2baeb1030076cd7c (diff)
parentdad07ffe9ed5711b66d86d18d9cdf814f472d49a (diff)
downloadmariadb-git-c36e935ac243e439012764fbbd87c460ff8ce9db.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 */