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-21 16:43:05+02:00, hakank@stripped +3 -0
Added test case for bug #27993. Test fails
does not fail always. Looks like a timing issue.
mysql-test/r/falcon_bug_27993.result@stripped, 2007-04-21 16:43:02+02:00,
hakank@stripped +22 -0
New BitKeeper file ``mysql-test/r/falcon_bug_27993.result''
mysql-test/r/falcon_bug_27993.result@stripped, 2007-04-21 16:43:02+02:00,
hakank@stripped +0 -0
mysql-test/t/disabled.def@stripped, 2007-04-21 16:43:02+02:00, hakank@stripped
+1 -0
falcon_bug_27993.test fails currently.
mysql-test/t/falcon_bug_27993.test@stripped, 2007-04-21 16:43:02+02:00,
hakank@stripped +54 -0
New BitKeeper file ``mysql-test/t/falcon_bug_27993.test''
mysql-test/t/falcon_bug_27993.test@stripped, 2007-04-21 16:43:02+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_27993.result 07/04/21 16:43:02
*** Bug #27993 ***
SET @@storage_engine = 'Falcon';
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int);
SET @@autocommit = 0;
SELECT * FROM t1 WHERE a = 6;
a
INSERT INTO t1 VALUES (6);
# Establish connection conn1
SET storage_engine = 'Falcon';
SET @@autocommit = 0;
UPDATE t1 SET a = 5 WHERE a = 6;
# Switch to connection default
ROLLBACK;
# Switch to connection conn1
COMMIT;
# Switch to connection default
SELECT count(*) FROM t1;
count(*)
0
COMMIT;
USE test;
--- New file ---
+++ mysql-test/t/falcon_bug_27993.test 07/04/21 16:43:02
#
# Bug #27993: Falcon: crash if rollback while other job is waiting
#
--echo *** Bug #27993 ***
# ----------------------------------------------------- #
# --- Initialisation --- #
# ----------------------------------------------------- #
let $engine = 'Falcon';
eval SET @@storage_engine = $engine;
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
CREATE TABLE t1 (a int);
# ----------------------------------------------------- #
# --- Test --- #
# ----------------------------------------------------- #
SET @@autocommit = 0;
SELECT * FROM t1 WHERE a = 6;
INSERT INTO t1 VALUES (6);
--echo # Establish connection conn1
connect (conn1,localhost,root,,);
eval SET storage_engine = $engine;
SET @@autocommit = 0;
--real_sleep 5
--send UPDATE t1 SET a = 5 WHERE a = 6
--echo # Switch to connection default
connection default;
ROLLBACK;
--echo # Switch to connection conn1
connection conn1;
--reap
COMMIT;
# ----------------------------------------------------- #
# --- Check --- #
# ----------------------------------------------------- #
--echo # Switch to connection default
connection default;
SELECT count(*) FROM t1;
COMMIT;
# ----------------------------------------------------- #
# --- Final cleanup --- #
# ----------------------------------------------------- #
disconnect conn1;
USE test;
--- 1.308/mysql-test/t/disabled.def 2007-04-20 20:46:59 +02:00
+++ 1.309/mysql-test/t/disabled.def 2007-04-21 16:43:02 +02:00
@@ -75,6 +75,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_27951 : Bug#27951 2007-04-19 hakank Currently failing
+falcon_bug_27993 : Bug#27993 2007-04-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
read_many_rows_falcon : Bug#23783 2006-10-30 ML Get pushbuild green
| Thread |
|---|
| • bk commit into 5.1-falcon tree (hakank:1.2634) BUG#27993 | Hakan Kuecuekyilmaz | 21 Apr |