diff options
Diffstat (limited to 'mysql-test/suite/versioning/wait_system_clock.inc')
-rw-r--r-- | mysql-test/suite/versioning/wait_system_clock.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/suite/versioning/wait_system_clock.inc b/mysql-test/suite/versioning/wait_system_clock.inc new file mode 100644 index 00000000..21bbe7ae --- /dev/null +++ b/mysql-test/suite/versioning/wait_system_clock.inc @@ -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 +} |