Commit e2d71ef3 authored by Sergei Golubchik's avatar Sergei Golubchik

ps-protocol fix

parent 299b29b2
...@@ -1483,11 +1483,6 @@ Warnings: ...@@ -1483,11 +1483,6 @@ Warnings:
Warning 1292 Incorrect datetime value: '0' Warning 1292 Incorrect datetime value: '0'
Warning 1292 Incorrect datetime value: '0' Warning 1292 Incorrect datetime value: '0'
drop table t1; drop table t1;
select timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime));
timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime))
-838:59:59.999999
Warnings:
Warning 1292 Truncated incorrect time value: '-596523:14:07'
select convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow'); select convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow');
convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow') convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow')
NULL NULL
......
...@@ -920,7 +920,6 @@ drop table t1; ...@@ -920,7 +920,6 @@ drop table t1;
# #
# lp:731815 Crash/valgrind warning Item::send with 5.1-micro # lp:731815 Crash/valgrind warning Item::send with 5.1-micro
# #
select timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime));
select convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow'); select convert_tz(timediff('0000-00-00 00:00:00', cast('2008-03-26 07:09:06' as datetime)), 'UTC', 'Europe/Moscow');
# #
......
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