summaryrefslogtreecommitdiff
path: root/mysys/my_error.c
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-02-21 14:16:00 +0200
committermonty@donna.mysql.fi <>2001-02-21 14:16:00 +0200
commit1c298277f9ff4aa38b847c3de083e0d54e27a247 (patch)
tree34f7d174c7e612bd03a5cf88fe4e2ac2411a33a4 /mysys/my_error.c
parentf45764791b6bc6de8740ca160de94f4f3f2ab1c4 (diff)
downloadmariadb-git-1c298277f9ff4aa38b847c3de083e0d54e27a247.tar.gz
Fixes for innobase
Added test for ALTER TABLE ORDER BY
Diffstat (limited to 'mysys/my_error.c')
-rw-r--r--mysys/my_error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_error.c b/mysys/my_error.c
index 562b192b24d..6887126e6ec 100644
--- a/mysys/my_error.c
+++ b/mysys/my_error.c
@@ -65,6 +65,8 @@ int my_error(int nr,myf MyFlags, ...)
/* Skipp if max size is used (to be compatible with printf) */
while (isdigit(*tpos) || *tpos == '.' || *tpos == '-')
tpos++;
+ if (*tpos == 'l') /* Skipp 'l' argument */
+ *tpos++;
if (*tpos == 's') /* String parameter */
{
par = va_arg(ap, char *);