List:Internals« Previous MessageNext Message »
From:ramil Date:June 16 2005 9:17am
Subject:bk commit into 5.0 tree (ramil:1.1946) BUG#10650
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of ram. When ram 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
  1.1946 05/06/16 12:17:15 ramil@stripped +3 -0
  a fix (bug #10650: Bit literal case sensitivity).

  mysys/charset.c
    1.138 05/06/16 12:17:07 ramil@stripped +1 -1
    a fix (bug #10650: Bit literal case sensitivity).
    typo fixed.

  mysql-test/t/select.test
    1.49 05/06/16 12:17:07 ramil@stripped +5 -0
    a fix (bug #10650: Bit literal case sensitivity).

  mysql-test/r/select.result
    1.65 05/06/16 12:17:06 ramil@stripped +3 -0
    a fix (bug #10650: Bit literal case sensitivity).

# 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:	ramil
# Host:	gw.mysql.r18.ru
# Root:	/usr/home/ram/work/mysql-5.0

--- 1.137/mysys/charset.c	2005-04-26 15:43:15 +05:00
+++ 1.138/mysys/charset.c	2005-06-16 12:17:07 +05:00
@@ -97,7 +97,7 @@
 
   /* Special handling of hex and binary strings */
   state_map[(uchar)'x']= state_map[(uchar)'X']= (uchar) MY_LEX_IDENT_OR_HEX;
-  state_map[(uchar)'b']= state_map[(uchar)'b']= (uchar) MY_LEX_IDENT_OR_BIN;
+  state_map[(uchar)'b']= state_map[(uchar)'B']= (uchar) MY_LEX_IDENT_OR_BIN;
   state_map[(uchar)'n']= state_map[(uchar)'N']= (uchar) MY_LEX_IDENT_OR_NCHAR;
   return 0;
 }

--- 1.64/mysql-test/r/select.result	2005-06-09 21:15:08 +05:00
+++ 1.65/mysql-test/r/select.result	2005-06-16 12:17:06 +05:00
@@ -2699,3 +2699,6 @@
 1	SIMPLE	t2	ALL	NULL	NULL	NULL	NULL	3	
 1	SIMPLE	t1	ALL	NULL	NULL	NULL	NULL	5	Using where
 DROP TABLE t1,t2;
+select x'10' + 0, X'10' + 0, b'10' + 0, B'10' + 0;
+x'10' + 0	X'10' + 0	b'10' + 0	B'10' + 0
+16	16	2	2

--- 1.48/mysql-test/t/select.test	2005-06-09 21:15:47 +05:00
+++ 1.49/mysql-test/t/select.test	2005-06-16 12:17:07 +05:00
@@ -2271,3 +2271,8 @@
 
 DROP TABLE t1,t2;
 
+#
+# Bug #10650
+#
+
+select x'10' + 0, X'10' + 0, b'10' + 0, B'10' + 0;
Thread
bk commit into 5.0 tree (ramil:1.1946) BUG#10650ramil16 Jun