1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merge hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/mysql-5.0-rpl

into  hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/merge-mysql-5.1-new-rpl
This commit is contained in:
hezx@hezx.(none)
2007-12-12 15:43:52 +08:00
7 changed files with 178 additions and 2 deletions

View File

@ -1540,6 +1540,8 @@ bool mysql_drop_view(THD *thd, TABLE_LIST *views, enum_drop_mode drop_mode)
something_wrong= error || wrong_object_name || non_existant_views.length();
if (some_views_deleted || !something_wrong)
{
DBUG_RETURN(TRUE);
}
/* if something goes wrong, bin-log with possible error code,
otherwise bin-log with error code cleared.
*/