summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-12-13 14:26:57 +0100
committerunknown <tomas@whalegate.ndb.mysql.com>2007-12-13 14:26:57 +0100
commit2c20ba5a36c1f4f327bb15b3efd3ad235aab2784 (patch)
treea21151a99adb797108126b9e7d46f0b3f395fcf9 /mysql-test/include
parent7870d0a7da437315764cb3d494f62e9a9adb24de (diff)
parent0d5caaa4a1213e7d2d52a27ed41de32f3da0c050 (diff)
downloadmariadb-git-2c20ba5a36c1f4f327bb15b3efd3ad235aab2784.tar.gz
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/ctype_common.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/include/ctype_common.inc b/mysql-test/include/ctype_common.inc
index 9ee0a40c8ce..89b7ceb0c72 100644
--- a/mysql-test/include/ctype_common.inc
+++ b/mysql-test/include/ctype_common.inc
@@ -53,11 +53,13 @@ DROP TABLE t1;
#
# Bug #31070: crash during conversion of charsets
+# Bug #32726: crash with cast in order by clause and cp932 charset
#
create table t1 (a set('a') not null);
insert into t1 values (),();
select cast(a as char(1)) from t1;
select a sounds like a from t1;
+select 1 from t1 order by cast(a as char(1));
drop table t1;
DROP DATABASE d1;