summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-08-23 10:33:18 +0300
committerunknown <monty@hundin.mysql.fi>2002-08-23 10:33:18 +0300
commitcb0bef6f866787c44ac7ff34dda6268125df122a (patch)
tree0af25259f02975cf79b354828178ac326e6a9ee4 /sql
parentddc880095ca1abd23ea9d0b0a4b5aea75b10ac63 (diff)
downloadmariadb-git-cb0bef6f866787c44ac7ff34dda6268125df122a.tar.gz
Fixed bug in mysqld when using configure --localstatedir
Docs/manual.texi: Changelog
Diffstat (limited to 'sql')
-rw-r--r--sql/mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index b4667db5abe..3d0ab19743b 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -3458,7 +3458,7 @@ static void set_options(void)
(void) strmake(default_charset, MYSQL_CHARSET, sizeof(default_charset)-1);
(void) strmake(language, LANGUAGE, sizeof(language)-1);
(void) strmake(mysql_real_data_home, get_relative_path(DATADIR),
- sizeof(mysql_real_data_home-1));
+ sizeof(mysql_real_data_home)-1);
#ifdef __WIN__
/* Allow Win32 users to move MySQL anywhere */
{