merged 5.1-main -> 5.1-bugteam

This commit is contained in:
Georgi Kodinov 2008-10-13 13:22:36 +03:00
commit 8bb2eb38f5
25 changed files with 624 additions and 42 deletions

View file

@ -5012,8 +5012,9 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
}
VOID(pthread_mutex_unlock(&LOCK_open));
IF_DBUG(int result=) store_create_info(thd, table, &query,
create_info);
IF_DBUG(int result=)
store_create_info(thd, table, &query,
create_info, FALSE /* show_database */);
DBUG_ASSERT(result == 0); // store_create_info() always return 0
write_bin_log(thd, TRUE, query.ptr(), query.length());