diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-01-31 01:06:50 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-01-31 01:06:50 +0300 |
commit | ddc8765a9e35a020446fc28712751fe62200ea11 (patch) | |
tree | 64c1a58bb6f6f5516fbf930759b54e0081b98b90 /sql/sql_db.cc | |
parent | 744d6cf57cfb9803a899a2d54e7407a27db96a27 (diff) | |
parent | 788c28aceb023702282bfbf372016da79f9ab49f (diff) | |
download | mariadb-git-ddc8765a9e35a020446fc28712751fe62200ea11.tar.gz |
Manual merge from mysql-trunk-merge.
Conflicts:
- mysql-test/suite/rpl/r/rpl_binlog_grant.result
- mysql-test/suite/rpl/r/rpl_sp.result
- mysql-test/suite/rpl/t/rpl_binlog_grant.test
- sql/sql_parse.cc
- sql/sql_table.cc
- sql/sql_test.cc
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 6713a8f58f8..1be84751581 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -854,7 +854,7 @@ bool mysql_alter_db(THD *thd, const char *db, HA_CREATE_INFO *create_info) qinfo.db_len = strlen(db); /* These DDL methods and logging protected with LOCK_mysql_create_db */ - if (error= mysql_bin_log.write(&qinfo)) + if ((error= mysql_bin_log.write(&qinfo))) goto exit; } my_ok(thd, result); |