summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <ram@mysql.r18.ru>2003-07-11 14:17:18 +0500
committerunknown <ram@mysql.r18.ru>2003-07-11 14:17:18 +0500
commit1a45c8397258d992bdc526d3463b92ad448a3754 (patch)
tree48a18693fe6dbf9c774bc24b096baa0fdfc5ea18 /mysql-test
parent3a894149a7faff46caebd25e4b4abfc86a9f12ef (diff)
downloadmariadb-git-1a45c8397258d992bdc526d3463b92ad448a3754.tar.gz
Fix for the bug #801: create table t1 select x'41'; doesn't work
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/create.result2
-rw-r--r--mysql-test/t/create.test7
2 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index 2e2aa41c671..e6192eb6ccb 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -176,3 +176,5 @@ Column 'k1' cannot be null
insert into t1 values (NULL, NULL);
Column 'k1' cannot be null
drop table t1;
+create table t1 select x'4132';
+drop table t1;
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 86c3f6be0f5..d46807f1dca 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -127,3 +127,10 @@ insert into t1 values ("a", 1), ("b", 2);
!$1048 insert into t1 values (NULL, 3);
!$1048 insert into t1 values (NULL, NULL);
drop table t1;
+
+#
+# Bug # 801
+#
+
+create table t1 select x'4132';
+drop table t1;