~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/variables.test

  • Committer: Brian Aker
  • Date: 2009-07-12 00:49:18 UTC
  • mfrom: (1063.9.51 brian-tmp-fix)
  • Revision ID: brian@gaz-20090712004918-chprmyj387ex6l8a
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
# key buffer
227
227
#
228
228
 
229
 
create table t1 (a int not null auto_increment, primary key(a));
230
 
create table t2 (a int not null auto_increment, primary key(a));
 
229
create temporary table t1 (a int not null auto_increment, primary key(a));
 
230
create temporary table t2 (a int not null auto_increment, primary key(a));
231
231
insert into t1 values(null),(null),(null);
232
232
insert into t2 values(null),(null),(null);
233
233
set global key_buffer_size=100000;
299
299
# BUG#4788 show create table provides incorrect statement
300
300
#
301
301
# What default width have numeric types?
302
 
create table t1 (
 
302
create temporary table t1 (
303
303
  c1 int,
304
304
  c2 int,
305
305
  c3 int,
310
310
#
311
311
# What types and widths have variables?
312
312
set @arg00= 8, @arg01= 8.8, @arg02= 'a string', @arg03= 0.2e0;
313
 
create table t1 as select @arg00 as c1, @arg01 as c2, @arg02 as c3, @arg03 as c4;
 
313
create temporary table t1 as select @arg00 as c1, @arg01 as c2, @arg02 as c3, @arg03 as c4;
314
314
show create table t1;
315
315
drop table t1;
316
316
 
404
404
# Bug#6282 Packet error with SELECT INTO
405
405
406
406
 
407
 
create table t1 (a int);
 
407
create temporary table t1 (a int);
408
408
select a into @x from t1;
409
409
show warnings;
410
410
drop table t1;