mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
mysql-5.5.31 merge
This commit is contained in:
@@ -377,3 +377,16 @@ USE test;
|
||||
#
|
||||
--error ER_UNKNOWN_TABLE
|
||||
PREPARE h_r FROM 'HANDLER t1 READ `PRIMARY` LAST';
|
||||
|
||||
#
|
||||
# MySQL Bug#16385711: HANDLER, CREATE TABLE IF NOT EXISTS, PROBLEM AFTER MYSQL_HA_FIND
|
||||
#
|
||||
create view v as select 1;
|
||||
create temporary table v as select 2;
|
||||
handler v open;
|
||||
prepare stmt from 'create table if not exists v as select 3';
|
||||
execute stmt;
|
||||
--error ER_UNKNOWN_TABLE
|
||||
handler v read next;
|
||||
drop view v;
|
||||
|
||||
|
Reference in New Issue
Block a user