summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_equal.test
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2018-03-09 14:05:35 +0200
committerMonty <monty@mariadb.org>2018-03-29 13:59:44 +0300
commita7abddeffa6a760ce948c2dfb007cdf3f1a369d5 (patch)
tree70eb743fa965a17380bbc0ac88ae79ca1075b896 /mysql-test/t/func_equal.test
parentab1941266c59a19703a74b5593cf3f508a5752d7 (diff)
downloadmariadb-git-a7abddeffa6a760ce948c2dfb007cdf3f1a369d5.tar.gz
Create 'main' test directory and move 't' and 'r' there
Diffstat (limited to 'mysql-test/t/func_equal.test')
-rw-r--r--mysql-test/t/func_equal.test46
1 files changed, 0 insertions, 46 deletions
diff --git a/mysql-test/t/func_equal.test b/mysql-test/t/func_equal.test
deleted file mode 100644
index f17ebb5bd84..00000000000
--- a/mysql-test/t/func_equal.test
+++ /dev/null
@@ -1,46 +0,0 @@
-# Initialise
---disable_warnings
-drop table if exists t1,t2;
---enable_warnings
-
-#
-# Testing of the <=> operator
-#
-
-#
-# First some simple tests
-#
-
-select 0<=>0,0.0<=>0.0,0E0=0E0,"A"<=>"A",NULL<=>NULL;
-select 1<=>0,0<=>NULL,NULL<=>0;
-select 1.0<=>0.0,0.0<=>NULL,NULL<=>0.0;
-select "A"<=>"B","A"<=>NULL,NULL<=>"A";
-select 0<=>0.0, 0.0<=>0E0, 0E0<=>"0", 10.0<=>1E1, 10<=>10.0, 10<=>1E1;
-select 1.0<=>0E1,10<=>NULL,NULL<=>0.0, NULL<=>0E0;
-
-#
-# Test with tables
-#
-
-create table t1 (id int, value int);
-create table t2 (id int, value int);
-
-insert into t1 values (1,null);
-insert into t2 values (1,null);
-
-select t1.*, t2.*, t1.value<=>t2.value from t1, t2 where t1.id=t2.id and t1.id=1;
-select * from t1 where id <=>id;
-select * from t1 where value <=> value;
-select * from t1 where id <=> value or value<=>id;
-drop table t1,t2;
-
-#
-# Bug #12612: quoted bigint unsigned value and the use of "in" in where clause
-#
-create table t1 (a bigint unsigned);
-insert into t1 values (4828532208463511553);
-select * from t1 where a = '4828532208463511553';
-select * from t1 where a in ('4828532208463511553');
-drop table t1;
-
---echo #End of 4.1 tests