From: Date: August 1 2007 12:18pm Subject: bk commit into 6.0-falcon tree (hakank:1.2663) BUG#29151 List-Archive: http://lists.mysql.com/commits/31947 X-Bug: 29151 Message-Id: <20070801101825.3DBFE20407D@lu0011.wdf.sap.corp> Below is the list of changes that have just been committed into a local 6.0-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-08-01 12:18:19+02:00, hakank@stripped +3 -0 Added test case for currently failing Bug#29151. mysql-test/r/falcon_bug_29151.result@stripped, 2007-08-01 12:18:00+02:00, hakank@stripped +35 -0 New BitKeeper file ``mysql-test/r/falcon_bug_29151.result'' mysql-test/r/falcon_bug_29151.result@stripped, 2007-08-01 12:18:00+02:00, hakank@stripped +0 -0 mysql-test/t/disabled.def@stripped, 2007-08-01 12:18:00+02:00, hakank@stripped +1 -0 Added currently failing test for Bug#29151. mysql-test/t/falcon_bug_29151.test@stripped, 2007-08-01 12:18:00+02:00, hakank@stripped +72 -0 New BitKeeper file ``mysql-test/t/falcon_bug_29151.test'' mysql-test/t/falcon_bug_29151.test@stripped, 2007-08-01 12:18:00+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_29151.result 07/08/01 12:18:00 *** Bug #29151 *** SET @@storage_engine = 'Falcon'; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( a int, b int, c char(50), PRIMARY KEY (a) ); SET @@autocommit = 0; # Establish connection conn1 SET storage_engine = 'Falcon'; SET @@autocommit = 0; INSERT INTO t1 VALUES(49990, 0, 'c1'); COMMIT; # Switch to connection default BEGIN; UPDATE t1 SET b=b+1 WHERE a = 49990; DELETE FROM t1 WHERE a = 49990; INSERT INTO t1 VALUES(49990, 0, 'c1'); # Switch to connection conn1 BEGIN; UPDATE t1 SET b=b+1 WHERE a = 49990; # Switch to connection default COMMIT; # Switch to connection conn1 DELETE FROM t1 WHERE a = 49990; INSERT INTO t1 VALUES(49990, 0, 'c2'); COMMIT; SELECT * FROM t1; a b c 49990 0 c2 COMMIT; # Switch to connection default DROP TABLE t1; --- New file --- +++ mysql-test/t/falcon_bug_29151.test 07/08/01 12:18:00 # # Bug #29151: Falcon: running sysbench 0.4.8 leads to duplicate key errors duplicate key # --echo *** Bug #29151 *** # ----------------------------------------------------- # # --- Initialisation --- # # ----------------------------------------------------- # let $engine = 'Falcon'; eval SET @@storage_engine = $engine; --disable_warnings DROP TABLE IF EXISTS t1; --enable_warnings CREATE TABLE t1 ( a int, b int, c char(50), PRIMARY KEY (a) ); SET @@autocommit = 0; --echo # Establish connection conn1 connect (conn1,localhost,root,,); eval SET storage_engine = $engine; SET @@autocommit = 0; INSERT INTO t1 VALUES(49990, 0, 'c1'); COMMIT; # ----------------------------------------------------- # # --- Test --- # # ----------------------------------------------------- # --echo # Switch to connection default connection default; BEGIN; UPDATE t1 SET b=b+1 WHERE a = 49990; DELETE FROM t1 WHERE a = 49990; INSERT INTO t1 VALUES(49990, 0, 'c1'); --echo # Switch to connection conn1 connection conn1; BEGIN; # This one blocks until other transaction COMMITs. --send UPDATE t1 SET b=b+1 WHERE a = 49990 --echo # Switch to connection default connection default; COMMIT; --echo # Switch to connection conn1 connection conn1; --reap DELETE FROM t1 WHERE a = 49990; # This gives an error with Falcon, but it should not. INSERT INTO t1 VALUES(49990, 0, 'c2'); COMMIT; # ----------------------------------------------------- # # --- Check --- # # ----------------------------------------------------- # SELECT * FROM t1; COMMIT; # ----------------------------------------------------- # # --- Final cleanup --- # # ----------------------------------------------------- # --echo # Switch to connection default connection default; disconnect conn1; DROP TABLE t1; --- 1.338/mysql-test/t/disabled.def 2007-07-11 18:55:42 +02:00 +++ 1.339/mysql-test/t/disabled.def 2007-08-01 12:18:00 +02:00 @@ -71,6 +71,7 @@ falcon_bug_27426 : Bug#27426 2007-03-27 hakank Currently failing falcon_bug_27997 : Bug#27997 2007-04-21 hakank Currently failing falcon_bug_28026 : Bug#28026 2007-04-25 hakank Currently failing +falcon_bug_29151 : Bug#29151 2007-08-01 hakank Currently failing falcon_bug_29246 : Bug#29246 2007-06-21 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