List:Commits« Previous MessageNext Message »
From:Hakan Kuecuekyilmaz Date:May 20 2007 1:58pm
Subject:bk commit into 6.0-falcon tree (hakank:1.2525) BUG#28500
View as plain text  
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-05-20 13:58:20+02:00, hakank@stripped +3 -0
  Added test case for Bug#28500.

  mysql-test/r/falcon_bug_28500.result@stripped, 2007-05-20 13:58:16+02:00,
hakank@stripped +13 -0
    New BitKeeper file ``mysql-test/r/falcon_bug_28500.result''

  mysql-test/r/falcon_bug_28500.result@stripped, 2007-05-20 13:58:16+02:00,
hakank@stripped +0 -0

  mysql-test/t/disabled.def@stripped, 2007-05-20 13:58:16+02:00, hakank@stripped
+1 -0
    Disabled failing test for Bug#28500.

  mysql-test/t/falcon_bug_28500.test@stripped, 2007-05-20 13:58:16+02:00,
hakank@stripped +38 -0
    New BitKeeper file ``mysql-test/t/falcon_bug_28500.test''

  mysql-test/t/falcon_bug_28500.test@stripped, 2007-05-20 13:58:16+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_28500.result	07/05/20 13:58:16
*** Bug #28500 ***
SET @@storage_engine = 'Falcon';
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a varchar(5));
CREATE UNIQUE INDEX i1 on t1 (a(4));
INSERT INTO t1 VALUES ('1234');
INSERT INTO t1 VALUES ('12345');
ERROR 23000: Duplicate entry '1234' for key 'i1'
SELECT count(*) FROM t1;
count(*)
1
DROP TABLE t1;
SET NAMES default;

--- New file ---
+++ mysql-test/t/falcon_bug_28500.test	07/05/20 13:58:16
#
# Bug #28500: Falcon: searches fail if unique prefixed Turkish index
# Note: This bug is not related to a Turkish index. Prefixed unique
#   index violation is not detected in Falcon is the underlying problem.
#   Therefore, the test was simplified to show the real problem.
#
--echo *** Bug #28500 ***

# ----------------------------------------------------- #
# --- Initialisation                                --- #
# ----------------------------------------------------- #
let $engine = 'Falcon';
eval SET @@storage_engine = $engine;

--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

CREATE TABLE t1 (a varchar(5));
CREATE UNIQUE INDEX i1 on t1 (a(4));
INSERT INTO t1 VALUES ('1234');

# ----------------------------------------------------- #
# --- Test                                          --- #
# ----------------------------------------------------- #
--error 1582
INSERT INTO t1 VALUES ('12345');

# ----------------------------------------------------- #
# --- Check                                         --- #
# ----------------------------------------------------- #
SELECT count(*) FROM t1;

# ----------------------------------------------------- #
# --- Final cleanup                                 --- #
# ----------------------------------------------------- #
DROP TABLE t1;
SET NAMES default;


--- 1.323/mysql-test/t/disabled.def	2007-05-15 19:27:58 +02:00
+++ 1.324/mysql-test/t/disabled.def	2007-05-20 13:58:16 +02:00
@@ -71,6 +71,7 @@
 falcon_bug_28026    : Bug#28026 2007-04-25 hakank Currently failing
 falcon_bug_28158    : Bug#28158 2007-05-02 hakank Currently failing
 falcon_bug_28165    : Bug#28158 2007-05-02 hakank Currently failing because of Bug#28158
+falcon_bug_28500    : Bug#28500 2007-05-20 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 6.0-falcon tree (hakank:1.2525) BUG#28500Hakan Kuecuekyilmaz20 May