summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <salle@geopard.online.bg>2002-07-23 20:42:08 +0300
committerunknown <salle@geopard.online.bg>2002-07-23 20:42:08 +0300
commit32aac8dcee2333520976ecc70ea5a53367790c4f (patch)
tree72cefbb7a67c72e287b3b4a5197fb16bbe1bac79 /mysql-test
parentb42ca98d34a2e834dfc454338493fa26553c8d20 (diff)
downloadmariadb-git-32aac8dcee2333520976ecc70ea5a53367790c4f.tar.gz
Fixed bug with INSERT .. SET db_name.tbl_name.col_name=''
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/insert_set.result6
-rw-r--r--mysql-test/t/insert_set.test10
2 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/insert_set.result b/mysql-test/r/insert_set.result
new file mode 100644
index 00000000000..438c2c95147
--- /dev/null
+++ b/mysql-test/r/insert_set.result
@@ -0,0 +1,6 @@
+drop database if exists a;
+create database a;
+use a;
+create table b (c int);
+insert into a.b set a.b.c = '1';
+drop database a;
diff --git a/mysql-test/t/insert_set.test b/mysql-test/t/insert_set.test
new file mode 100644
index 00000000000..41d20eaefdb
--- /dev/null
+++ b/mysql-test/t/insert_set.test
@@ -0,0 +1,10 @@
+#
+# Test of mysqld crash with fully qualified column names
+#
+
+drop database if exists a;
+create database a;
+use a;
+create table b (c int);
+insert into a.b set a.b.c = '1';
+drop database a;