summaryrefslogtreecommitdiff
path: root/sql/derror.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-04 21:52:41 +0300
committerunknown <monty@hundin.mysql.fi>2001-10-04 21:52:41 +0300
commitbd7b4aaa7dac716bb6d54b3d1dd355f78b68f0f2 (patch)
treece2737a2cb7f8b0c9ce7fc646f448b1fc1a1bc92 /sql/derror.cc
parent6bede5bed1add70fb5bb442ba70fe029c4c534f7 (diff)
downloadmariadb-git-bd7b4aaa7dac716bb6d54b3d1dd355f78b68f0f2.tar.gz
New script: explain_log.sh
Portability fixes. Handle cleanup when we get an error before the message file is read. Fix bug in multi-table delete include/mysql.h: Portability fix mysql-test/mysql-test-run.sh: Don't use long names for sockets (portability fix) sql/derror.cc: Better cleanup sql/mysqld.cc: Fix that --enable-locking works. Handle case when we get an error before the message file is read sql/sql_delete.cc: Fix bug in multi-table delete sql/sql_select.cc: Fix bug in multi-table delete sql/table.h: Fix bug in multi-table delete tools/mysqlmanager.c: Portability fixes
Diffstat (limited to 'sql/derror.cc')
-rw-r--r--sql/derror.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/derror.cc b/sql/derror.cc
index 697d363b86b..bda0690ae7d 100644
--- a/sql/derror.cc
+++ b/sql/derror.cc
@@ -51,6 +51,7 @@ static void read_texts(const char *file_name,const char ***point,
uchar head[32],*pos;
DBUG_ENTER("read_texts");
+ *point=0; // If something goes wrong
LINT_INIT(buff);
funktpos=0;
if ((file=my_open(fn_format(name,file_name,language,"",4),