summaryrefslogtreecommitdiff
path: root/sql/derror.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-04 21:52:41 +0300
committermonty@hundin.mysql.fi <>2001-10-04 21:52:41 +0300
commite80123501939a6e19dcc33efa837c15f5ca60641 (patch)
treece2737a2cb7f8b0c9ce7fc646f448b1fc1a1bc92 /sql/derror.cc
parentf0ae1dbb70cdf908aea201d56ee9bf0e10062a78 (diff)
downloadmariadb-git-e80123501939a6e19dcc33efa837c15f5ca60641.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
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),