1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixed test suite failures in 5.1-bugteam

This commit is contained in:
Georgi Kodinov
2008-10-07 19:54:12 +03:00
parent e9ff58bb54
commit 4d7ad72e52
4 changed files with 9 additions and 0 deletions

View File

@ -188,3 +188,5 @@ b val
12 e 12 e
13 f 13 f
14 g 14 g
drop trigger t1_after_insert;
drop table t1,t2;

View File

@ -24,6 +24,9 @@ drop table if exists t1,t2;
create table t1(f int); create table t1(f int);
create table t2(f int); create table t2(f int);
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
SELECT COUNT(*) FROM t1;
COUNT(*)
10
create temporary table t3(f int); create temporary table t3(f int);
insert into t3 select * from t1 where f<6; insert into t3 select * from t1 where f<6;
create temporary table t3(f int); create temporary table t3(f int);

View File

@ -56,6 +56,8 @@ drop table if exists t1,t2;
create table t1(f int); create table t1(f int);
create table t2(f int); create table t2(f int);
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
# Auxiliary select (We want that all rows are in the table)
SELECT COUNT(*) FROM t1;
connection con1; connection con1;
create temporary table t3(f int); create temporary table t3(f int);

View File

@ -175,3 +175,5 @@ insert into t1 values ( 123, 'a'), ( 123, 'b'), ( 123, 'c'),
insert into t1 values ( 654, 'a'), ( 654, 'b'), ( 654, 'c'), insert into t1 values ( 654, 'a'), ( 654, 'b'), ( 654, 'c'),
(654, 'd'), (654, 'e'), (654, 'f'), (654, 'g'); (654, 'd'), (654, 'e'), (654, 'f'), (654, 'g');
select * from t2 order by b; select * from t2 order by b;
drop trigger t1_after_insert;
drop table t1,t2;