summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <peter@linux.local>2002-06-21 00:27:19 +0400
committerunknown <peter@linux.local>2002-06-21 00:27:19 +0400
commit73a63df0f55c277d1c4dc110b13de1b8a8ff72b8 (patch)
treed0b51a0bf75237dd20f8a59b0b2cd25938a739c2 /client
parenta57e2220ba5ae2a0fec131bb1af7e498dfe1ebff (diff)
parent992cccd78e053a28af4130c1e9ee9a20327bac11 (diff)
downloadmariadb-git-73a63df0f55c277d1c4dc110b13de1b8a8ff72b8.tar.gz
Merge linux.local:/data/mysql-4.0-root into linux.local:/data/mysql-4.0
Diffstat (limited to 'client')
-rw-r--r--client/mysqlcheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index 78cd277f9be..948f9ca8477 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -463,10 +463,10 @@ static int handle_request_for_tables(char *tables, uint length)
if (!(query =(char *) my_malloc((sizeof(char)*(length+110)), MYF(MY_WME))))
return 1;
- sprintf(query, "%s TABLE %s %s", op, tables, options);
+ sprintf(query, "%s TABLE `%s` %s", op, tables, options);
if (mysql_query(sock, query))
{
- sprintf(message, "when executing '%s TABLE ... %s", op, options);
+ sprintf(message, "when executing '%s TABLE `%s` %s", op, tables,options);
DBerror(sock, message);
return 1;
}