Below is the list of changes that have just been committed into a local
6.0 repository of hakank. When hakank 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, 2008-03-04 17:59:46+01:00, hakank@lu0011.(none) +2 -0
Test case to demonstrate failure in Bug #34892.
mysql-test/suite/falcon/r/falcon_bug_34892.result@stripped, 2008-03-04 17:59:40+01:00, hakank@lu0011.(none) +8 -0
New BitKeeper file ``mysql-test/suite/falcon/r/falcon_bug_34892.result''
mysql-test/suite/falcon/r/falcon_bug_34892.result@stripped, 2008-03-04 17:59:40+01:00, hakank@lu0011.(none) +0 -0
mysql-test/suite/falcon/t/falcon_bug_34892.test@stripped, 2008-03-04 17:59:40+01:00, hakank@lu0011.(none) +37 -0
New BitKeeper file ``mysql-test/suite/falcon/t/falcon_bug_34892.test''
mysql-test/suite/falcon/t/falcon_bug_34892.test@stripped, 2008-03-04 17:59:40+01:00, hakank@lu0011.(none) +0 -0
diff -Nrup a/mysql-test/suite/falcon/r/falcon_bug_34892.result b/mysql-test/suite/falcon/r/falcon_bug_34892.result
--- /dev/null Wed Dec 31 16:00:00 196900
+++ b/mysql-test/suite/falcon/r/falcon_bug_34892.result 2008-03-04 17:59:40 +01:00
@@ -0,0 +1,8 @@
+*** Bug #34892 ***
+SET @@storage_engine = 'Falcon';
+DROP TABLE IF EXISTS t1;
+SET @@autocommit = 0;
+CREATE TABLE t1 (PRIMARY KEY (a)) SELECT 1 AS a UNION ALL SELECT 1;
+ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
+CREATE TABLE t1 (a int);
+DROP TABLE t1;
diff -Nrup a/mysql-test/suite/falcon/t/falcon_bug_34892.test b/mysql-test/suite/falcon/t/falcon_bug_34892.test
--- /dev/null Wed Dec 31 16:00:00 196900
+++ b/mysql-test/suite/falcon/t/falcon_bug_34892.test 2008-03-04 17:59:40 +01:00
@@ -0,0 +1,37 @@
+--source include/have_falcon.inc
+#
+# Bug #34892: Some falcon tests fail sporadically
+#
+--echo *** Bug #34892 ***
+
+# ----------------------------------------------------- #
+# --- Initialisation --- #
+# ----------------------------------------------------- #
+let $engine = 'Falcon';
+eval SET @@storage_engine = $engine;
+
+--disable_warnings
+DROP TABLE IF EXISTS t1;
+--enable_warnings
+
+# ----------------------------------------------------- #
+# --- Test --- #
+# ----------------------------------------------------- #
+SET @@autocommit = 0;
+--error ER_DUP_ENTRY
+CREATE TABLE t1 (PRIMARY KEY (a)) SELECT 1 AS a UNION ALL SELECT 1;
+
+# This CREATE TABLE provokes a
+# 1005: Can't create table 'test.t1' (errno: 156).
+CREATE TABLE t1 (a int);
+
+# ----------------------------------------------------- #
+# --- Check --- #
+# ----------------------------------------------------- #
+# Check is not applicable here.
+# SELECT count(*) FROM t1;
+
+# ----------------------------------------------------- #
+# --- Final cleanup --- #
+# ----------------------------------------------------- #
+DROP TABLE t1;
| Thread |
|---|
| • bk commit into 6.0 tree (hakank:1.2583) BUG#34892 | Hakan Kuecuekyilmaz | 4 Mar |