summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_test.result
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/r/func_test.result
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/r/func_test.result')
-rw-r--r--mysql-test/r/func_test.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/func_test.result b/mysql-test/r/func_test.result
index 8cfae44b9dd..e1c27daa9a7 100644
--- a/mysql-test/r/func_test.result
+++ b/mysql-test/r/func_test.result
@@ -46,6 +46,11 @@ 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;
1 XOR 1 1 XOR 0 0 XOR 1 0 XOR 0 NULL XOR 1 1 XOR NULL 0 XOR NULL
0 1 1 0 NULL NULL NULL
+create table t1 (a int);
+insert t1 values (1);
+select * from t1 where 1 xor 1;
+a
+drop table t1;
select 5 between 0 and 10 between 0 and 1,(5 between 0 and 10) between 0 and 1;
5 between 0 and 10 between 0 and 1 (5 between 0 and 10) between 0 and 1
0 1