Commit 50c5af7b authored by konstantin@mysql.com's avatar konstantin@mysql.com

Post merge fix (test results)

parent 659de732
...@@ -411,6 +411,20 @@ a a ...@@ -411,6 +411,20 @@ a a
2.1 2.2 2.1 2.2
deallocate prepare stmt; deallocate prepare stmt;
create table t1 (a int); create table t1 (a int);
insert into t1 values (1),(2),(3);
create table t2 select * from t1;
prepare stmt FROM 'create table t2 select * from t1';
drop table t2;
execute stmt;
drop table t2;
execute stmt;
execute stmt;
ERROR 42S01: Table 't2' already exists
drop table t2;
execute stmt;
drop table t1,t2;
deallocate prepare stmt;
create table t1 (a int);
insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10); insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
prepare stmt from "select sql_calc_found_rows * from t1 limit 2"; prepare stmt from "select sql_calc_found_rows * from t1 limit 2";
execute stmt; execute stmt;
...@@ -434,3 +448,5 @@ a ...@@ -434,3 +448,5 @@ a
select found_rows(); select found_rows();
found_rows() found_rows()
10 10
deallocate prepare stmt;
drop table t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment