List:Commits« Previous MessageNext Message »
From:Hakan Kuecuekyilmaz Date:March 27 2007 7:35am
Subject:bk commit into 5.1-falcon tree (hakank:1.2507) BUG#27426
View as plain text  
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-03-27 09:35:31+02:00, hakank@stripped +8 -0
  Extracted test for BUG#27426.

  BitKeeper/deleted/.del-falcon_bug_23517.result@stripped, 2007-03-27 08:59:36+02:00, hakank@stripped +0 -0
    Delete: mysql-test/t/falcon_bug_23517.result

  mysql-test/r/falcon_bug_208.result@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +0 -5
    Extracted test for BUG#27426.

  mysql-test/r/falcon_bug_27426.result@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +13 -0
    New BitKeeper file ``mysql-test/r/falcon_bug_27426.result''

  mysql-test/r/falcon_bug_27426.result@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +0 -0

  mysql-test/t/disabled.def@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +1 -0
    Test case for BUG#27426 is currently failing.

  mysql-test/t/falcon_bug.template@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +28 -0
    New BitKeeper file ``mysql-test/t/falcon_bug.template''

  mysql-test/t/falcon_bug.template@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +0 -0

  mysql-test/t/falcon_bug_208.test@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +0 -5
    Extracted test for BUG#27426.

  mysql-test/t/falcon_bug_24017.test@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +1 -1
    Fixed comment.

  mysql-test/t/falcon_bug_27426.test@stripped, 2007-03-27 09:35:26+02:00, hakank@stripped +33 -0
    New BitKeeper file ``mysql-test/t/falcon_bug_27426.test''

  mysql-test/t/falcon_bug_27426.test@stripped, 2007-03-27 09:35:26+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:	lu0008.wdf.sap.corp
# Root:	/home/hakan/work/mysql/mysql-5.1-falcon

--- 1.2/mysql-test/r/falcon_bug_208.result	2007-03-27 09:35:45 +02:00
+++ 1.3/mysql-test/r/falcon_bug_208.result	2007-03-27 09:35:45 +02:00
@@ -12,9 +12,4 @@ INSERT INTO t1 (b) VALUES ('0001-01-01 0
 SELECT count(*) FROM t1 WHERE b = '0001-01-01 00:00:00';
 count(*)
 1
-CREATE INDEX i1 on t1 (b);
-INSERT INTO t1 (b) VALUES ('1965-06-29 11:59:58');
-SELECT count(*) FROM t1 WHERE b < '9999-12-31 00:00:00';
-count(*)
-2
 DROP TABLE t1;
--- New file ---
+++ mysql-test/r/falcon_bug_27426.result	07/03/27 09:35:26
*** Bug #27426 ***
SET @@storage_engine = 'Falcon';
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a datetime);
CREATE INDEX i1 on t1 (a);
INSERT INTO t1 (a) VALUES ('1965-06-29 11:59:58');
SELECT count(*) FROM t1 WHERE a < '9999-12-31 00:00:00';
count(*)
1
SELECT count(*) FROM t1;
count(*)
1
DROP TABLE t1;

--- New file ---
+++ mysql-test/t/falcon_bug.template	07/03/27 09:35:26
#
# Bug #<xyz>: <Bug desscription>
#
--echo *** Bug #<xyz> ***

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

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

# ----------------------------------------------------- #
# --- Test                                          --- #
# ----------------------------------------------------- #

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

# ----------------------------------------------------- #
# --- Final cleanup                                 --- #
# ----------------------------------------------------- #
DROP TABLE t1;


--- 1.2/mysql-test/t/falcon_bug_208.test	2007-03-27 09:35:45 +02:00
+++ 1.3/mysql-test/t/falcon_bug_208.test	2007-03-27 09:35:45 +02:00
@@ -17,10 +17,5 @@ SELECT count(*) FROM t1 WHERE a = '0999-
 INSERT INTO t1 (b) VALUES ('0001-01-01 00:00:00');
 SELECT count(*) FROM t1 WHERE b = '0001-01-01 00:00:00';
 
-# Bug #27426: Falcon: searches fail if datetime column and index exists
-CREATE INDEX i1 on t1 (b);
-INSERT INTO t1 (b) VALUES ('1965-06-29 11:59:58');
-SELECT count(*) FROM t1 WHERE b < '9999-12-31 00:00:00';
-
 # Final cleanup.
 DROP TABLE t1;
--- New file ---
+++ mysql-test/t/falcon_bug_27426.test	07/03/27 09:35:26
#
# Bug #27426: Falcon: searches fail if datetime column and index exists
#
--echo *** Bug #27426 ***

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

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

CREATE TABLE t1 (a datetime);
CREATE INDEX i1 on t1 (a);

# ----------------------------------------------------- #
# --- Test                                          --- #
# ----------------------------------------------------- #
INSERT INTO t1 (a) VALUES ('1965-06-29 11:59:58');
SELECT count(*) FROM t1 WHERE a < '9999-12-31 00:00:00';

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

# ----------------------------------------------------- #
# --- Final cleanup                                 --- #
# ----------------------------------------------------- #
DROP TABLE t1;


--- 1.292/mysql-test/t/disabled.def	2007-03-27 09:35:45 +02:00
+++ 1.293/mysql-test/t/disabled.def	2007-03-27 09:35:45 +02:00
@@ -79,6 +79,7 @@ falcon_bug_26828    : Bug#26828 2007-03-
 falcon_bug_26871    : Bug#26871 2007-03-06 hakank Currently failing
 falcon_bug_27350    : Bug#27350 2007-03-23 hakank Currently failing
 falcon_bug_27357    : Bug#27357 2007-03-23 hakank Currently failing
+falcon_bug_27426    : Bug#27426 2007-03-27 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

--- 1.1/mysql-test/t/falcon_bug_24017.test	2007-03-27 09:35:45 +02:00
+++ 1.2/mysql-test/t/falcon_bug_24017.test	2007-03-27 09:35:45 +02:00
@@ -16,7 +16,7 @@ DROP TABLE IF EXISTS t1;
 #
 # Test long varchars
 #
-# Attention: 2499 is the last harmless value.
+# Attention: 2499 is the least harmless value.
 let $my_length= 2499;
 eval create table t1 (v varchar($my_length), key(v(10)));
 eval insert into t1 values(repeat('a',$my_length));
Thread
bk commit into 5.1-falcon tree (hakank:1.2507) BUG#27426Hakan Kuecuekyilmaz27 Mar