Commit 769f45f9 authored by hhunger@hh-nb.hungers's avatar hhunger@hh-nb.hungers

Merge hh-nb.hungers:/work/trees/mysql-5.1-build-src-clean

into  hh-nb.hungers:/work/merge/mysql-5.1-build-repogca
parents 61469fa9 a6ab8d9e
...@@ -54,7 +54,7 @@ LOCK TABLE t1 WRITE; ...@@ -54,7 +54,7 @@ LOCK TABLE t1 WRITE;
SET @startTime = NOW(); SET @startTime = NOW();
SELECT * FROM t1; SELECT * FROM t1;
SET @endTime = NOW(); SET @endTime = NOW();
SET @TimeDifference = TIME_TO_SEC(TIMEDIFF(@endTime, @startTime)); SET @TimeDifference = TIME_TO_SEC(TIMEDIFF(@endTime, @startTime)) >= 2;
SELECT @TimeDifference;| SELECT @TimeDifference;|
** Connection con0 ** ** Connection con0 **
Sleeping 2 Seconds before unlock Sleeping 2 Seconds before unlock
...@@ -66,7 +66,7 @@ id value ...@@ -66,7 +66,7 @@ id value
2 val2 2 val2
3 val3 3 val3
@TimeDifference @TimeDifference
2 1
Testing for value OFF Testing for value OFF
** Connection con0 ** ** Connection con0 **
SET SESSION query_cache_wlock_invalidate = OFF; SET SESSION query_cache_wlock_invalidate = OFF;
......
...@@ -24,10 +24,10 @@ SET @ts_old = @@SESSION.timestamp; ...@@ -24,10 +24,10 @@ SET @ts_old = @@SESSION.timestamp;
Changing time zone Changing time zone
SET time_zone = 'MET'; SET time_zone = 'MET';
SET @ts_new = @@SESSION.timestamp; SET @ts_new = @@SESSION.timestamp;
SELECT @ts_new - @ts_old AS 'Timestamp Difference'; SELECT @ts_new - @ts_old >= 1 AS 'Timestamp Difference';
Timestamp Difference Timestamp Difference
1 1
1 Expected >=1 Expected
** Cleanup ** ** Cleanup **
** Connection default ** ** Connection default **
Disconnecting Connections con0, con1 Disconnecting Connections con0, con1
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
# # # #
############################################################################### ###############################################################################
--source include/not_embedded.inc
--source include/have_innodb.inc --source include/have_innodb.inc
--echo '#--------------------FN_DYNVARS_048_01-------------------------#' --echo '#--------------------FN_DYNVARS_048_01-------------------------#'
#################################################################### ####################################################################
# Check if setting innodb_table_locks is changed in new connection # # Check if setting innodb_table_locks is changed in new connection #
......
...@@ -136,7 +136,7 @@ send ...@@ -136,7 +136,7 @@ send
SET @startTime = NOW(); SET @startTime = NOW();
SELECT * FROM t1; SELECT * FROM t1;
SET @endTime = NOW(); SET @endTime = NOW();
SET @TimeDifference = TIME_TO_SEC(TIMEDIFF(@endTime, @startTime)); SET @TimeDifference = TIME_TO_SEC(TIMEDIFF(@endTime, @startTime)) >= 2;
SELECT @TimeDifference;| SELECT @TimeDifference;|
delimiter ;| delimiter ;|
......
...@@ -64,8 +64,8 @@ SET @ts_old = @@SESSION.timestamp; ...@@ -64,8 +64,8 @@ SET @ts_old = @@SESSION.timestamp;
--echo Changing time zone --echo Changing time zone
SET time_zone = 'MET'; SET time_zone = 'MET';
SET @ts_new = @@SESSION.timestamp; SET @ts_new = @@SESSION.timestamp;
SELECT @ts_new - @ts_old AS 'Timestamp Difference'; SELECT @ts_new - @ts_old >= 1 AS 'Timestamp Difference';
--echo 1 Expected --echo >=1 Expected
# #
# Cleanup # Cleanup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment