unknown
38caa8c060
Fix for prepared statements:
...
added setting of 'neg' in Item_param::set_time() (looks like the only forgotten
member).
It's the second place I find where 'neg' was forgotten.
The symptom was unexpected negative times in the binary log when running
tests/client_test.c (test_date() in fact):
# at 43009
#040210 15:46:42 server id 1 log_pos 43009 Query thread_id=1 exec_time=0 error_code=0
SET TIMESTAMP=1076424402;
INSERT INTO test_date VALUES('2000-01-10 11:16:20','-11:16:20' etc
sql/item.cc:
Don't forget to copy 'neg'.
2004-02-10 23:47:34 +01:00
..
2004-01-26 20:31:38 +04:00
2003-12-18 18:12:00 +04:00
2003-11-20 22:06:25 +02:00
2003-10-07 15:42:26 +03:00
2003-12-13 18:49:10 +01:00
2004-02-10 15:42:46 +04:00
2004-02-10 15:42:46 +04:00
2004-02-02 20:25:39 +04:00
2004-01-23 16:02:57 +04:00
2003-10-30 19:17:57 +01:00
2003-10-30 19:17:57 +01:00
2004-02-09 12:31:03 +01:00
2003-12-19 20:52:13 +03:00
2003-10-24 22:44:48 +02:00
2003-10-11 13:06:55 +02:00
2003-11-21 19:16:19 +03:00
2003-12-19 20:52:13 +03:00
2003-10-31 10:34:34 +01:00
2003-11-20 22:06:25 +02:00
2003-08-19 00:08:08 +03:00
2003-12-17 22:52:03 +00:00
2003-12-17 22:52:03 +00:00
2003-09-19 14:44:31 +05:00
2003-11-22 03:21:40 +02:00
2003-11-03 14:01:59 +02:00
2003-08-05 12:52:37 +05:00
2004-02-05 18:14:48 +01:00
2004-02-05 18:14:48 +01:00
2004-01-15 21:06:22 +04:00
2004-01-15 21:06:22 +04:00
2004-02-10 13:36:21 +00:00
2004-02-09 12:31:03 +01:00
2004-01-23 19:54:22 +04:00
2004-01-15 21:06:22 +04:00
2003-12-30 14:08:19 +04:00
2004-01-20 20:55:47 +04:00
2004-02-09 12:31:03 +01:00
2004-02-06 16:59:25 +04:00
2004-01-31 10:04:16 +04:00
2003-12-30 14:08:19 +04:00
2004-02-09 12:31:03 +01:00
2004-02-09 12:31:03 +01:00
2004-02-09 13:59:41 +01:00
2003-11-17 18:02:08 +04:00
2004-01-19 19:53:25 +04:00
2004-02-10 23:47:34 +01:00
2004-02-02 17:50:14 +04:00
2003-10-30 12:57:26 +02:00
2004-01-23 16:02:57 +04:00
2004-01-23 20:52:35 +04:00
2003-09-24 10:24:56 +03:00
2003-12-21 19:39:32 +02:00
2003-12-17 17:35:34 +02:00
2003-12-17 17:35:34 +02:00
2004-02-03 14:35:24 +04:00
2004-02-09 14:44:03 +02:00
2004-02-05 18:14:48 +01:00
2003-12-18 15:51:22 +04:00
2003-12-17 17:35:34 +02:00
2004-02-09 12:31:03 +01:00
2004-02-05 18:14:48 +01:00
2003-11-20 22:06:25 +02:00
2003-09-03 16:31:01 +02:00
2003-11-28 12:18:13 +02:00
2004-02-10 18:33:06 +03:00
2003-11-28 12:18:13 +02:00
2003-12-17 17:35:34 +02:00
2004-02-01 15:30:32 +02:00
2004-02-10 15:14:48 +01:00
2003-12-17 22:52:03 +00:00
2003-12-26 12:32:24 +02:00
2003-12-26 12:32:02 +02:00
2003-11-04 14:09:03 +02:00
2004-02-09 15:01:51 +02:00
2003-12-19 16:25:50 +02:00
2003-12-17 17:35:34 +02:00
2004-02-09 14:44:03 +02:00
2003-11-21 19:16:19 +03:00
2004-01-07 16:41:09 +04:00
2003-12-01 17:19:10 +04:00
2004-02-09 12:31:03 +01:00
2004-02-09 12:31:03 +01:00
2003-12-19 16:34:48 +02:00
2004-01-30 07:32:35 +01:00
2004-02-09 12:10:12 +02:00
2004-02-10 02:18:22 +02:00
2003-10-08 11:19:09 +03:00
2003-12-19 20:52:13 +03:00
2004-02-09 14:44:03 +02:00
2004-01-17 13:13:48 +02:00
2004-02-09 12:10:12 +02:00
2004-02-10 19:33:02 +04:00
2004-02-10 02:18:22 +02:00
2004-01-30 08:09:42 +01:00
2004-01-03 00:12:07 +02:00
2004-02-01 15:30:32 +02:00
2004-02-09 14:44:03 +02:00
2004-02-09 15:01:51 +02:00
2003-12-17 17:35:34 +02:00
2003-12-19 20:52:13 +03:00
2003-08-11 22:44:43 +03:00
2004-02-10 02:18:22 +02:00
2004-02-10 02:18:22 +02:00
2004-02-09 12:31:03 +01:00
2004-02-10 13:11:55 +00:00
2004-02-09 12:31:03 +01:00
2004-01-28 18:35:52 +01:00
2003-11-20 22:06:25 +02:00
2004-02-01 15:30:32 +02:00
2003-08-27 22:30:50 +03:00
2004-02-10 02:18:22 +02:00
2004-02-09 15:01:51 +02:00
2004-02-09 12:31:03 +01:00
2003-11-20 22:06:25 +02:00
2003-11-18 13:47:27 +02:00
2004-01-23 20:00:10 +04:00
2003-12-17 17:35:34 +02:00
2003-12-17 17:35:34 +02:00
2003-12-18 17:46:56 +01:00
2003-12-17 17:35:34 +02:00
2004-01-15 21:06:22 +04:00
2003-12-05 01:55:57 +03:00