From: Date: April 17 2007 9:18pm Subject: bk commit into 5.1-falcon tree (hakank:1.2602) BUG#27895 List-Archive: http://lists.mysql.com/commits/24702 X-Bug: 27895 Message-Id: <20070417191852.EE49120437F@lu0011.wdf.sap.corp> Below is the list of changes that have just been committed into a local 5.1-falcon repository of hakan. When hakan does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-04-17 21:18:47+02:00, hakank@stripped +3 -0 Test for Bug#27895. mysql-test/r/falcon_bug_27895.result@stripped, 2007-04-17 21:18:45+02:00, hakank@stripped +30 -0 New BitKeeper file ``mysql-test/r/falcon_bug_27895.result'' mysql-test/r/falcon_bug_27895.result@stripped, 2007-04-17 21:18:45+02:00, hakank@stripped +0 -0 mysql-test/t/disabled.def@stripped, 2007-04-17 21:18:45+02:00, hakank@stripped +1 -0 Another crashing one. mysql-test/t/falcon_bug_27895.test@stripped, 2007-04-17 21:18:45+02:00, hakank@stripped +58 -0 New BitKeeper file ``mysql-test/t/falcon_bug_27895.test'' mysql-test/t/falcon_bug_27895.test@stripped, 2007-04-17 21:18:45+02:00, hakank@stripped +0 -0 # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: hakank # Host: lu0011.wdf.sap.corp # Root: /home/hakan/work/mysql/mysql-5.1-falcon --- New file --- +++ mysql-test/r/falcon_bug_27895.result 07/04/17 21:18:45 *** Bug #27895 *** SET @@storage_engine = 'Falcon'; DROP SCHEMA IF EXISTS db1; SET @@autocommit = 0; CREATE SCHEMA db1; USE db1; CREATE TABLE t1 (a int, b varchar(10)); INSERT INTO t1 VALUES (1, 'w'); CREATE INDEX i1 on t1 (a, b); COMMIT; # Establish connection conn1 SET storage_engine = 'Falcon'; SET @@autocommit = 0; # Switch to connection default START TRANSACTION; SELECT a, b FROM t1 WHERE a = 'w'; a b INSERT INTO t1 VALUES (12, 'w'); # Switch to connection conn1 USE db1; START TRANSACTION; INSERT INTO t1 VALUES (2, 'b'); COMMIT; # Switch to connection default COMMIT; SELECT count(*) FROM t1; count(*) 3 DROP SCHEMA db1; USE test; --- New file --- +++ mysql-test/t/falcon_bug_27895.test 07/04/17 21:18:45 # # Bug #27895: Falcon: crash if new database and interleaving transactions # --echo *** Bug #27895 *** # ----------------------------------------------------- # # --- Initialisation --- # # ----------------------------------------------------- # let $engine = 'Falcon'; eval SET @@storage_engine = $engine; --disable_warnings DROP SCHEMA IF EXISTS db1; --enable_warnings SET @@autocommit = 0; CREATE SCHEMA db1; USE db1; CREATE TABLE t1 (a int, b varchar(10)); INSERT INTO t1 VALUES (1, 'w'); CREATE INDEX i1 on t1 (a, b); COMMIT; --echo # Establish connection conn1 connect (conn1,localhost,root,,); eval SET storage_engine = $engine; SET @@autocommit = 0; # ----------------------------------------------------- # # --- Test --- # # ----------------------------------------------------- # --echo # Switch to connection default connection default; START TRANSACTION; SELECT a, b FROM t1 WHERE a = 'w'; INSERT INTO t1 VALUES (12, 'w'); --echo # Switch to connection conn1 connection conn1; USE db1; START TRANSACTION; INSERT INTO t1 VALUES (2, 'b'); COMMIT; # ----------------------------------------------------- # # --- Check --- # # ----------------------------------------------------- # --echo # Switch to connection default connection default; COMMIT; SELECT count(*) FROM t1; # ----------------------------------------------------- # # --- Final cleanup --- # # ----------------------------------------------------- # disconnect conn1; DROP SCHEMA db1; USE test; --- 1.300/mysql-test/t/disabled.def 2007-04-14 23:34:36 +02:00 +++ 1.301/mysql-test/t/disabled.def 2007-04-17 21:18:45 +02:00 @@ -80,6 +80,7 @@ falcon_bug_27426 : Bug#27426 2007-03-27 hakank Currently failing falcon_bug_27697 : Bug#27697 2007-04-07 hakank Currently failing falcon_bug_27722 : Bug#27722 2007-04-10 hakank Currently failing +falcon_bug_27895 : Bug#27895 2007-04-17 hakank Currently failing falcon_page_size_1 : Bug#23220 2007-02-19 hakank Currently failing falcon_page_size_2 : Bug#23220 2007-02-19 hakank Currently failing read_many_rows_falcon : Bug#23783 2006-10-30 ML Get pushbuild green