summaryrefslogtreecommitdiff
path: root/mysql-test/t/overflow.test
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-01-29 14:40:48 +0200
committerGeorgi Kodinov <joro@sun.com>2009-01-29 14:40:48 +0200
commit37e88536e36bfd1145ef62e71a246d895dbafae3 (patch)
tree0607e0722f6c3da5241d6bd0e25b62365d41a547 /mysql-test/t/overflow.test
parentecfdc3560c1e20c673337420761fa11c084ed2d8 (diff)
downloadmariadb-git-37e88536e36bfd1145ef62e71a246d895dbafae3.tar.gz
Bug #35396: Abnormal query times in slow query log
If the system time is adjusted back during a query execution (resulting in the end time being earlier than the start time) the code that prints to the slow query log gets confused and prints unsigned negative numbers. Fixed by not logging the statements that would have negative execution time due to time shifts. No test case since this would involve changing the system time. sql/sql_parse.cc: Bug #35396: don't log queries with negative execution times (due to shifts in system time).
Diffstat (limited to 'mysql-test/t/overflow.test')
0 files changed, 0 insertions, 0 deletions