summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-10-19 11:00:44 +0500
committerunknown <ram@gw.mysql.r18.ru>2004-10-19 11:00:44 +0500
commitf914da3dff8e583cc4f20921dfac35ce7b351764 (patch)
tree671262bd6d96c155fa54e4aeb31b54325e87b70d /client
parentc0abb5a98ffe68ab3f5972cddb87683c78625024 (diff)
downloadmariadb-git-f914da3dff8e583cc4f20921dfac35ce7b351764.tar.gz
A fix (bug #6101: mysqldump writes invalid SQL).
client/mysqldump.c: A fix (bug #6101: mysqldump writes invalid SQL). Syntax corrected.
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 56505afd235..e2101bd6c23 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1797,7 +1797,7 @@ static int init_dumping(char *database)
MYSQL_ROW row;
MYSQL_RES *dbinfo;
- sprintf(qbuf,"SHOW CREATE DATABASE WITH IF NOT EXISTS %s",
+ sprintf(qbuf,"SHOW CREATE DATABASE IF NOT EXISTS %s",
qdatabase);
if (mysql_query(sock, qbuf) || !(dbinfo = mysql_store_result(sock)))