mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fix tests on windows
This commit is contained in:
10
mysql-test/suite/versioning/wait_system_clock.inc
Normal file
10
mysql-test/suite/versioning/wait_system_clock.inc
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# windows has a rather low-resolution system clock
|
||||
# wait until the event from the past will actually be in the past
|
||||
#
|
||||
if (`select @@version_compile_os in ("win32","win64","windows")`)
|
||||
{
|
||||
let $_past=`select max(row_start) from t1`;
|
||||
--let $wait_condition=select TIMESTAMP'$_past' < sysdate(6)
|
||||
--source include/wait_condition.inc
|
||||
}
|
Reference in New Issue
Block a user