mariadb/mysql-test/suite
Alfranio Correia 6b31aa1040 BUG#48506 crash in CREATE TABLE IF NOT EXISTS <existing_view> LIKE
<tmp_tbl> with RBL

When binlogging the statement, the server always handle the existing
object as a table, even though it is a view. However a view is
handled differently in other parts of the code thus leading the
statement to crash in RBL if the view exists.

This happens because the underlying tables for the view are not opened
when we try to call store_create_info() on the view in order to build
a CREATE TABLE statement.

This patch will only address the crash problem, other binlogging
problems related to CREATE TABLE IF NOT EXISTS LIKE when the existing
object is a view will be solved by BUG 47442.
2009-11-27 13:34:39 +00:00
..
binlog BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
bugs
federated Manual merge. 2009-09-30 19:25:06 -03:00
funcs_1 5.0-bugteam->5.1-bugteam merge 2009-10-28 13:23:02 +04:00
funcs_2
ibmdb2i
im
innodb Clean-up after applying innodb-zip-ss6129 snapshot: 2009-11-03 18:41:04 +04:00
jp
large_tests
manual
ndb
ndb_team
parts
rpl BUG#48506 crash in CREATE TABLE IF NOT EXISTS <existing_view> LIKE 2009-11-27 13:34:39 +00:00
rpl_ndb BUG#48091 valgrind errors when slave has double not null and master has double null 2009-10-22 01:21:50 +01:00
stress
sys_vars