summaryrefslogtreecommitdiff
path: root/client/mysql.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysql.cc')
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 36a2fecd661..142e396d424 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -2626,7 +2626,7 @@ com_use(String *buffer __attribute__((unused)), char *line)
mysql_free_result(res);
}
- if (!current_db || cmp_database(current_db,tmp))
+ if (!current_db || cmp_database(charset_info, current_db,tmp))
{
if (one_database)
skip_updates= 1;