Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas 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.1945 05/07/15 19:46:42 tomas@stripped +4 -0
Bug#9442, moved ps ucs2 test from ps.test to ctype_ucs.test
mysql-test/t/ps.test
1.50 05/07/15 19:46:37 tomas@stripped +0 -13
Bug#9442, moved ps ucs2 test from ps.test to ctype_ucs.test
mysql-test/t/ctype_ucs.test
1.33 05/07/15 19:46:37 tomas@stripped +14 -0
Bug#9442, moved ps ucs2 test from ps.test to ctype_ucs.test
mysql-test/r/ps.result
1.50 05/07/15 19:46:37 tomas@stripped +0 -19
Bug#9442, moved ps ucs2 test from ps.test to ctype_ucs.test
mysql-test/r/ctype_ucs.result
1.38 05/07/15 19:46:37 tomas@stripped +19 -0
Bug#9442, moved ps ucs2 test from ps.test to ctype_ucs.test
# 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: tomas
# Host: poseidon.ndb.mysql.com
# Root: /home/tomas/mysql-5.0
--- 1.37/mysql-test/r/ctype_ucs.result 2005-07-03 13:17:45 +02:00
+++ 1.38/mysql-test/r/ctype_ucs.result 2005-07-15 19:46:37 +02:00
@@ -657,3 +657,22 @@
1.1 1.100
2.1 2.100
DROP TABLE t1;
+create table t1 (utext varchar(20) character set ucs2);
+insert into t1 values ("lily");
+insert into t1 values ("river");
+prepare stmt from 'select utext from t1 where utext like ?';
+set @param1='%%';
+execute stmt using @param1;
+utext
+lily
+river
+execute stmt using @param1;
+utext
+lily
+river
+select utext from t1 where utext like '%%';
+utext
+lily
+river
+drop table t1;
+deallocate prepare stmt;
--- 1.32/mysql-test/t/ctype_ucs.test 2005-07-03 13:17:45 +02:00
+++ 1.33/mysql-test/t/ctype_ucs.test 2005-07-15 19:46:37 +02:00
@@ -427,3 +427,17 @@
update t1 set b=a;
SELECT * FROM t1;
DROP TABLE t1;
+
+#
+# Bug#9442 Set parameter make query fail if column character set is UCS2
+#
+create table t1 (utext varchar(20) character set ucs2);
+insert into t1 values ("lily");
+insert into t1 values ("river");
+prepare stmt from 'select utext from t1 where utext like ?';
+set @param1='%%';
+execute stmt using @param1;
+execute stmt using @param1;
+select utext from t1 where utext like '%%';
+drop table t1;
+deallocate prepare stmt;
--- 1.49/mysql-test/r/ps.result 2005-07-14 22:41:51 +02:00
+++ 1.50/mysql-test/r/ps.result 2005-07-15 19:46:37 +02:00
@@ -759,25 +759,6 @@
?=?
1
deallocate prepare stmt;
-create table t1 (utext varchar(20) character set ucs2);
-insert into t1 values ("lily");
-insert into t1 values ("river");
-prepare stmt from 'select utext from t1 where utext like ?';
-set @param1='%%';
-execute stmt using @param1;
-utext
-lily
-river
-execute stmt using @param1;
-utext
-lily
-river
-select utext from t1 where utext like '%%';
-utext
-lily
-river
-drop table t1;
-deallocate prepare stmt;
create table t1 (a int);
prepare stmt from "select ??";
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near '?' at line 1
--- 1.49/mysql-test/t/ps.test 2005-07-15 00:13:03 +02:00
+++ 1.50/mysql-test/t/ps.test 2005-07-15 19:46:37 +02:00
@@ -789,19 +789,6 @@
execute stmt using @a, @b;
deallocate prepare stmt;
#
-# Bug#9442 Set parameter make query fail if column character set is UCS2
-#
-create table t1 (utext varchar(20) character set ucs2);
-insert into t1 values ("lily");
-insert into t1 values ("river");
-prepare stmt from 'select utext from t1 where utext like ?';
-set @param1='%%';
-execute stmt using @param1;
-execute stmt using @param1;
-select utext from t1 where utext like '%%';
-drop table t1;
-deallocate prepare stmt;
-#
# Bug#11299 "prepared statement makes wrong SQL syntax in binlog which stops
# replication": check that errouneous queries with placeholders are not
# allowed
| Thread |
|---|
| • bk commit into 5.0 tree (tomas:1.1945) BUG#9442 | tomas | 15 Jul |