diff options
author | Alexander Nozdrin <alik@sun.com> | 2009-11-05 23:28:35 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2009-11-05 23:28:35 +0300 |
commit | cd14c47c99ddcc52d7b72832c4d8dad8852e0985 (patch) | |
tree | bf91e085339760c6e972b1091e9a0c12545e1bc2 /sql/sql_view.cc | |
parent | 16b603a8b0c2bba16cb66b1769f21c0185435d33 (diff) | |
parent | b30c1886dc52153009c2ea67878a9763448f461e (diff) | |
download | mariadb-git-cd14c47c99ddcc52d7b72832c4d8dad8852e0985.tar.gz |
Manual merge from mysql-trunk-merge.
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index 87092fb14ca..9abbadb8c6b 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -1653,7 +1653,7 @@ bool mysql_drop_view(THD *thd, TABLE_LIST *views, enum_drop_mode drop_mode) /* if something goes wrong, bin-log with possible error code, otherwise bin-log with error code cleared. */ - write_bin_log(thd, !something_wrong, thd->query, thd->query_length); + write_bin_log(thd, !something_wrong, thd->query(), thd->query_length()); } VOID(pthread_mutex_unlock(&LOCK_open)); |