~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/mix1.inc

  • Committer: lbieber at stabletransit
  • Date: 2010-10-19 14:03:27 UTC
  • mfrom: (1861.1.2 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101019140327-2jvt5j2wi4pzhm1z
Merge Brian - Small collection of cleanups/refactor'ing around locks
Merge Monty - fix a few things in the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
 
318
318
DELETE IGNORE FROM t1 WHERE i = 1;
319
319
 
320
 
SELECT * FROM t1 CROSS JOIN t2;
 
320
SELECT * FROM t1, t2;
321
321
 
322
322
DROP TABLE t2, t1;
323
323
 
408
408
EXPLAIN SELECT DISTINCT t1.name, t1.dept FROM t1 WHERE t1.name='rs5';
409
409
SELECT DISTINCT t1.name, t1.dept FROM t1 WHERE t1.name='rs5';
410
410
DELETE FROM t1;
411
 
--replace_column 9 #
412
411
EXPLAIN SELECT DISTINCT t1.name, t1.dept FROM t1 WHERE t1.name='rs5';
413
412
SELECT DISTINCT t1.name, t1.dept FROM t1 WHERE t1.name='rs5';
414
413
 
653
652
CREATE TABLE t2 (a int, b int, primary key (a));
654
653
BEGIN;
655
654
INSERT INTO t2 values(100,100);
656
 
COMMIT;
657
655
--error ER_DUP_ENTRY
658
656
CREATE TABLE IF NOT EXISTS t2 (primary key (a)) select * from t1;
659
657
SELECT * from t2;
916
914
set global innodb_autoextend_increment=8;
917
915
set global innodb_autoextend_increment=@my_innodb_autoextend_increment;
918
916
 
919
 
# BUG: 
920
 
# set @my_innodb_commit_concurrency=@@global.innodb_commit_concurrency;
921
 
# set global innodb_commit_concurrency=0;
922
 
# set global innodb_commit_concurrency=@my_innodb_commit_concurrency;
 
917
set @my_innodb_commit_concurrency=@@global.innodb_commit_concurrency;
 
918
set global innodb_commit_concurrency=0;
 
919
set global innodb_commit_concurrency=@my_innodb_commit_concurrency;
923
920
 
924
921
--echo End of 5.0 tests
925
922
 
1036
1033
#             auto_increment keys
1037
1034
#
1038
1035
create table t1 (a int auto_increment primary key) engine=innodb;
1039
 
--error ER_UNKNOWN_ERROR
 
1036
--error 1105
1040
1037
alter table t1 order by a;
1041
1038
drop table t1;
1042
1039
 
1097
1094
DROP TABLE t2;
1098
1095
DROP TABLE t1;
1099
1096
 
1100
 
SET GLOBAL innodb_lock_wait_timeout=@orig_lock_wait_timeout ;
 
1097
SET innodb_lock_wait_timeout=@orig_lock_wait_timeout ;
1101
1098
 
1102
1099
--echo End of 5.1 tests