summaryrefslogtreecommitdiff
path: root/sql/sql_db.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-02-06 17:14:05 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2018-02-07 20:12:12 +0000
commitd995dd2865b4dd5d01175594ed667cfe8ce41712 (patch)
treec5072261dd3a00d47d72e4f085822a68d7ec3ee5 /sql/sql_db.cc
parent7bcf5e2907db6a8f1178aca967c8d326be3e5e22 (diff)
downloadmariadb-git-d995dd2865b4dd5d01175594ed667cfe8ce41712.tar.gz
Windows : reenable warning C4805 (unsafe mix of types in bool operations)
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r--sql/sql_db.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index 114c06fdf2e..67910a3b618 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -1653,7 +1653,7 @@ bool mysql_opt_change_db(THD *thd,
bool mysql_upgrade_db(THD *thd, const LEX_CSTRING *old_db)
{
- int error= 0, change_to_newdb= 0;
+ bool error= 0, change_to_newdb= 0;
char path[FN_REFLEN+16];
uint length;
Schema_specification_st create_info;