summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_test.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-08-05 16:29:09 +0200
committerunknown <serg@serg.mylan>2003-08-05 16:29:09 +0200
commit0f314c9da3803367d34633a51dd2dbf3f0bd10a0 (patch)
treed9af0d3b70bec48c9c57f571b62bf99b3a2a8412 /mysql-test/t/func_test.test
parent964569510899d778917849c4a9984cc3f2ab3b16 (diff)
downloadmariadb-git-0f314c9da3803367d34633a51dd2dbf3f0bd10a0.tar.gz
make it clear for optimizer that XOR's are not optimizable at the moment (BUG#992)
Diffstat (limited to 'mysql-test/t/func_test.test')
-rw-r--r--mysql-test/t/func_test.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/func_test.test b/mysql-test/t/func_test.test
index f5ad2e21c73..700fab97f5e 100644
--- a/mysql-test/t/func_test.test
+++ b/mysql-test/t/func_test.test
@@ -18,6 +18,11 @@ select -1.49 or -1.49,0.6 or 0.6;
select 3 ^ 11, 1 ^ 1, 1 ^ 0, 1 ^ NULL, NULL ^ 1;
select 1 XOR 1, 1 XOR 0, 0 XOR 1, 0 XOR 0, NULL XOR 1, 1 XOR NULL, 0 XOR NULL;
+create table t1 (a int);
+insert t1 values (1);
+select * from t1 where 1 xor 1;
+drop table t1;
+
#
# Wrong usage of functions
#