Loading configure.in +3 −1 Original line number Diff line number Diff line Loading @@ -1931,9 +1931,11 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \ # # case "$target" in *-*-aix4*) *-*-aix4* | *-*-sco*) # (grr) aix 4.3 has a stub for clock_gettime, (returning ENOSYS) # and using AC_TRY_RUN is hard when cross-compiling # We also disable for SCO for the time being, the headers for the # thread library we use conflicts with other headers. ;; *) AC_CHECK_FUNCS(clock_gettime) ;; Loading innobase/srv/srv0srv.c +7 −5 Original line number Diff line number Diff line Loading @@ -1677,11 +1677,13 @@ srv_lock_timeout_and_monitor_thread( srv_printf_innodb_monitor(stderr); } if (srv_innodb_status) { mutex_enter(&srv_monitor_file_mutex); rewind(srv_monitor_file); srv_printf_innodb_monitor(srv_monitor_file); os_file_set_eof(srv_monitor_file); mutex_exit(&srv_monitor_file_mutex); } if (srv_print_innodb_tablespace_monitor && difftime(current_time, last_table_monitor_time) > 60) { Loading mysql-test/r/func_compress.result +2 −2 Original line number Diff line number Diff line Loading @@ -69,6 +69,6 @@ Error 1259 ZLIB: Input data corrupted Error 1256 Uncompressed data size too large; the maximum size is 1048576 (probably, length of uncompressed data was corrupted) drop table t1; set @@max_allowed_packet=1048576*100; select compress(repeat('aaaaaaaaaa', 10000000)) is null; compress(repeat('aaaaaaaaaa', 10000000)) is null select compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null; compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null 0 mysql-test/r/rpl_start_stop_slave.result +2 −2 Original line number Diff line number Diff line slave stop; stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; slave start; start slave; stop slave; create table t1(n int); start slave; Loading mysql-test/r/select.result +21 −3 Original line number Diff line number Diff line Loading @@ -2353,6 +2353,27 @@ select * from t2,t3 where t2.s = t3.s; s s two two drop table t1, t2, t3; create table t1 (a integer, b integer, index(a), index(b)); create table t2 (c integer, d integer, index(c), index(d)); insert into t1 values (1,2), (2,2), (3,2), (4,2); insert into t2 values (1,3), (2,3), (3,4), (4,4); explain select * from t1 left join t2 on a=c where d in (4); id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t2 ref c,d d 5 const 2 Using where 1 SIMPLE t1 ALL a NULL NULL NULL 3 Using where select * from t1 left join t2 on a=c where d in (4); a b c d 3 2 3 4 4 2 4 4 explain select * from t1 left join t2 on a=c where d = 4; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t2 ref c,d d 5 const 2 Using where 1 SIMPLE t1 ALL a NULL NULL NULL 3 Using where select * from t1 left join t2 on a=c where d = 4; a b c d 3 2 3 4 4 2 4 4 drop table t1, t2; CREATE TABLE t1 ( i int(11) NOT NULL default '0', c char(10) NOT NULL default '', Loading @@ -2365,7 +2386,4 @@ INSERT INTO t1 VALUES (3,'c'); EXPLAIN SELECT i FROM t1 WHERE i=1; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 const PRIMARY PRIMARY 4 const 1 Using index EXPLAIN SELECT i FROM t1 WHERE i=1; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 const PRIMARY PRIMARY 4 const 1 Using index DROP TABLE t1; Loading
configure.in +3 −1 Original line number Diff line number Diff line Loading @@ -1931,9 +1931,11 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \ # # case "$target" in *-*-aix4*) *-*-aix4* | *-*-sco*) # (grr) aix 4.3 has a stub for clock_gettime, (returning ENOSYS) # and using AC_TRY_RUN is hard when cross-compiling # We also disable for SCO for the time being, the headers for the # thread library we use conflicts with other headers. ;; *) AC_CHECK_FUNCS(clock_gettime) ;; Loading
innobase/srv/srv0srv.c +7 −5 Original line number Diff line number Diff line Loading @@ -1677,11 +1677,13 @@ srv_lock_timeout_and_monitor_thread( srv_printf_innodb_monitor(stderr); } if (srv_innodb_status) { mutex_enter(&srv_monitor_file_mutex); rewind(srv_monitor_file); srv_printf_innodb_monitor(srv_monitor_file); os_file_set_eof(srv_monitor_file); mutex_exit(&srv_monitor_file_mutex); } if (srv_print_innodb_tablespace_monitor && difftime(current_time, last_table_monitor_time) > 60) { Loading
mysql-test/r/func_compress.result +2 −2 Original line number Diff line number Diff line Loading @@ -69,6 +69,6 @@ Error 1259 ZLIB: Input data corrupted Error 1256 Uncompressed data size too large; the maximum size is 1048576 (probably, length of uncompressed data was corrupted) drop table t1; set @@max_allowed_packet=1048576*100; select compress(repeat('aaaaaaaaaa', 10000000)) is null; compress(repeat('aaaaaaaaaa', 10000000)) is null select compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null; compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null 0
mysql-test/r/rpl_start_stop_slave.result +2 −2 Original line number Diff line number Diff line slave stop; stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; slave start; start slave; stop slave; create table t1(n int); start slave; Loading
mysql-test/r/select.result +21 −3 Original line number Diff line number Diff line Loading @@ -2353,6 +2353,27 @@ select * from t2,t3 where t2.s = t3.s; s s two two drop table t1, t2, t3; create table t1 (a integer, b integer, index(a), index(b)); create table t2 (c integer, d integer, index(c), index(d)); insert into t1 values (1,2), (2,2), (3,2), (4,2); insert into t2 values (1,3), (2,3), (3,4), (4,4); explain select * from t1 left join t2 on a=c where d in (4); id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t2 ref c,d d 5 const 2 Using where 1 SIMPLE t1 ALL a NULL NULL NULL 3 Using where select * from t1 left join t2 on a=c where d in (4); a b c d 3 2 3 4 4 2 4 4 explain select * from t1 left join t2 on a=c where d = 4; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t2 ref c,d d 5 const 2 Using where 1 SIMPLE t1 ALL a NULL NULL NULL 3 Using where select * from t1 left join t2 on a=c where d = 4; a b c d 3 2 3 4 4 2 4 4 drop table t1, t2; CREATE TABLE t1 ( i int(11) NOT NULL default '0', c char(10) NOT NULL default '', Loading @@ -2365,7 +2386,4 @@ INSERT INTO t1 VALUES (3,'c'); EXPLAIN SELECT i FROM t1 WHERE i=1; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 const PRIMARY PRIMARY 4 const 1 Using index EXPLAIN SELECT i FROM t1 WHERE i=1; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 const PRIMARY PRIMARY 4 const 1 Using index DROP TABLE t1;