summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authormonty@tik.mysql.com <>2000-12-15 10:58:17 +0200
committermonty@tik.mysql.com <>2000-12-15 10:58:17 +0200
commitb186b4f27a1bdb32cc28350af3c4974da669f510 (patch)
treeaf18dadc582d3cff29172087140d13e2a78fecac /client/mysqldump.c
parent36c7d4eb024fc36b6bf6b54d68ada84cfd1cd42c (diff)
downloadmariadb-git-b186b4f27a1bdb32cc28350af3c4974da669f510.tar.gz
Fixed that LPAD() and RPAD() cuts arguments
New test for string functions
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index ac9aed87022..f27f5c5e35b 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -660,11 +660,10 @@ static uint getTableStructure(char *table, char* db)
strpos=strend(insert_pat);
while ((row=mysql_fetch_row(tableRes)))
{
- ulong *lengths=mysql_fetch_lengths(tableRes);
if (init)
{
if (cFlag)
- strpos=strmov(strpos,", ");
+ strpos=strmov(strpos,", ");
}
init=1;
if (cFlag)