1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Portability fixes

Fixed some wrong column specifications in mysql_fix_privilege_tables
This commit is contained in:
monty@mysql.com
2004-03-19 18:26:02 +02:00
parent f375eb50f8
commit 9a1baf7d62
7 changed files with 14 additions and 22 deletions

View File

@ -17,7 +17,7 @@ MY_TZ=GMT-3
TZ=$MY_TZ; export TZ # for UNIX_TIMESTAMP tests to work
# For query_cache test
case "$SYSTEM" in
case `uname` in
SCO_SV | UnixWare | OpenUNIX )
# do nothing (Causes strange behavior)
;;

View File

@ -59,12 +59,3 @@ ASIN(0.8+0.2)
SELECT ASIN(1.2-0.2);
ASIN(1.2-0.2)
1.570796
select floor(log(4)/log(2));
floor(log(4)/log(2))
2
select floor(log(8)/log(2));
floor(log(8)/log(2))
3
select floor(log(16)/log(2));
floor(log(16)/log(2))
4

View File

@ -26,7 +26,7 @@ select (@id := id) - id from t3;
0
kill @id;
drop table t2,t3;
Server shutdown in progress
Got one of the listed errors
show binlog events from 79;
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.001 79 Query 1 79 use `test`; create table t1 (a int primary key)

View File

@ -33,6 +33,7 @@ SELECT ASIN(1.2-0.2);
# Bug #3051 FLOOR returns invalid
#
select floor(log(4)/log(2));
select floor(log(8)/log(2));
select floor(log(16)/log(2));
# This can't be tested as it's not portable
#select floor(log(4)/log(2));
#select floor(log(8)/log(2));
#select floor(log(16)/log(2));

View File

@ -44,7 +44,7 @@ select (@id := id) - id from t3;
kill @id;
drop table t2,t3;
connection master;
--error 1053;
--error 1053,0;
reap;
connection master1;
show binlog events from 79;