diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-10-19 11:00:44 +0500 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-10-19 11:00:44 +0500 |
commit | f914da3dff8e583cc4f20921dfac35ce7b351764 (patch) | |
tree | 671262bd6d96c155fa54e4aeb31b54325e87b70d /client | |
parent | c0abb5a98ffe68ab3f5972cddb87683c78625024 (diff) | |
download | mariadb-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.c | 2 |
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))) |