mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/bk/mysql-4.0
This commit is contained in:
commit
1e34d44b2b
4 changed files with 14 additions and 2 deletions
|
@ -1028,6 +1028,15 @@ case $SYSTEM_TYPE in
|
||||||
MAX_C_OPTIMIZE="-O"
|
MAX_C_OPTIMIZE="-O"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
*darwin7*)
|
||||||
|
if test "$ac_cv_prog_gcc" = "yes"
|
||||||
|
then
|
||||||
|
FLAGS="-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DFN_NO_CASE_SENCE"
|
||||||
|
CFLAGS="$CFLAGS $FLAGS"
|
||||||
|
CXXFLAGS="$CXXFLAGS $FLAGS"
|
||||||
|
MAX_C_OPTIMIZE="-O"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*freebsd*)
|
*freebsd*)
|
||||||
echo "Adding fix for interrupted reads"
|
echo "Adding fix for interrupted reads"
|
||||||
OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
|
OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
|
||||||
|
|
|
@ -46,6 +46,9 @@ 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;
|
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
|
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
|
0 1 1 0 NULL NULL NULL
|
||||||
|
select 1 like 2 xor 2 like 1;
|
||||||
|
1 like 2 xor 2 like 1
|
||||||
|
0
|
||||||
create table t1 (a int);
|
create table t1 (a int);
|
||||||
insert t1 values (1);
|
insert t1 values (1);
|
||||||
select * from t1 where 1 xor 1;
|
select * from t1 where 1 xor 1;
|
||||||
|
|
|
@ -17,6 +17,7 @@ select 2 in (3,2,5,9,5,1),"monty" in ("david","monty","allan"), 1.2 in (1.4,1.2,
|
||||||
select -1.49 or -1.49,0.6 or 0.6;
|
select -1.49 or -1.49,0.6 or 0.6;
|
||||||
select 3 ^ 11, 1 ^ 1, 1 ^ 0, 1 ^ NULL, NULL ^ 1;
|
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;
|
select 1 XOR 1, 1 XOR 0, 0 XOR 1, 0 XOR 0, NULL XOR 1, 1 XOR NULL, 0 XOR NULL;
|
||||||
|
select 1 like 2 xor 2 like 1;
|
||||||
|
|
||||||
create table t1 (a int);
|
create table t1 (a int);
|
||||||
insert t1 values (1);
|
insert t1 values (1);
|
||||||
|
|
|
@ -478,7 +478,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
|
||||||
%token CIPHER_SYM
|
%token CIPHER_SYM
|
||||||
|
|
||||||
%left SET_VAR
|
%left SET_VAR
|
||||||
%left OR_OR_CONCAT OR
|
%left OR_OR_CONCAT OR XOR
|
||||||
%left AND
|
%left AND
|
||||||
%left BETWEEN_SYM CASE_SYM WHEN_SYM THEN_SYM ELSE
|
%left BETWEEN_SYM CASE_SYM WHEN_SYM THEN_SYM ELSE
|
||||||
%left EQ EQUAL_SYM GE GT_SYM LE LT NE IS LIKE REGEXP IN_SYM
|
%left EQ EQUAL_SYM GE GT_SYM LE LT NE IS LIKE REGEXP IN_SYM
|
||||||
|
@ -488,7 +488,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
|
||||||
%left '-' '+'
|
%left '-' '+'
|
||||||
%left '*' '/' '%'
|
%left '*' '/' '%'
|
||||||
%left NEG '~'
|
%left NEG '~'
|
||||||
%left XOR
|
|
||||||
%left '^'
|
%left '^'
|
||||||
%right NOT
|
%right NOT
|
||||||
%right BINARY
|
%right BINARY
|
||||||
|
|
Loading…
Reference in a new issue