~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/multi_statement.test

  • Committer: Monty Taylor
  • Date: 2008-11-24 05:39:31 UTC
  • mto: This revision was merged to the branch mainline in revision 610.
  • Revision ID: mordred@solanthus.local-20081124053931-tzlxsgkdvs3b7n8n
Reverted libuuid check code. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t1;
 
3
--enable_warnings
 
4
 
 
5
select 1;
 
6
delimiter ||||;
 
7
select 2;
 
8
select 3;
 
9
select 4||||
 
10
delimiter 'abcd'||||
 
11
select 5;
 
12
select 6;
 
13
select 50, 'abc';'abcd'
 
14
select "abcd'";'abcd'select "'abcd";'abcd'
 
15
select 5'abcd'
 
16
delimiter ;'abcd'
 
17
select 'finish';
 
18
 
 
19
# Bug #8475: Make sure every statement that is a slow query in
 
20
# a multi-statement query gets logged as a slow query.
 
21
flush status;
 
22
delimiter ||||;
 
23
create table t1 (i int);
 
24
insert into t1 values (1);
 
25
select * from t1 where i = 1;
 
26
insert into t1 values (2),(3),(4);
 
27
select * from t1 where i = 2;
 
28
select * from t1 where i = 3||||
 
29
show status like 'Slow_queries'||||
 
30
drop table t1||||
 
31
 
 
32
delimiter ;||||
 
33
 
 
34
# End of 4.1 tests