summaryrefslogtreecommitdiff
path: root/client/mysqlcheck.c
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-09 09:28:51 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-09 09:28:51 -0300
commite1f748c0bd7e347dbefb831d64755d834845d15b (patch)
tree8edee282fc8a225a291cd9be2e44e38709e31b1a /client/mysqlcheck.c
parent80935b8659411177bc3fca4e0eb9f7747577eb1d (diff)
parented9ffc6b09a13197f3aadaf89c1dd3accee2dfd1 (diff)
downloadmariadb-git-e1f748c0bd7e347dbefb831d64755d834845d15b.tar.gz
Merge of mysql-5.1-bugteam into mysql-trunk-merge.
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r--client/mysqlcheck.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index 1fc9f179895..2be88d4484d 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -708,8 +708,7 @@ static int handle_request_for_tables(char *tables, uint length)
if (opt_all_in_1)
{
/* No backticks here as we added them before */
- query_length= my_sprintf(query,
- (query, "%s TABLE %s %s", op, tables, options));
+ query_length= sprintf(query, "%s TABLE %s %s", op, tables, options);
}
else
{