1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-19 19:03:26 +03:00
Files
mariadb/sql
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
..
2003-12-18 18:12:00 +04:00
2003-11-20 22:06:25 +02:00
2003-10-07 15:42:26 +03:00
2004-02-10 15:42:46 +04:00
2004-02-10 15:42:46 +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-10-24 22:44:48 +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
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-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
2003-12-30 14:08:19 +04:00
2004-02-09 12:31:03 +01:00
2004-02-09 12:31:03 +01:00
2003-11-17 18:02:08 +04:00
2004-02-10 23:47:34 +01: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-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-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-12-17 17:35:34 +02:00
2003-12-17 22:52:03 +00: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
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-02-09 14:44:03 +02:00
2004-01-17 13:13:48 +02:00
2004-01-30 08:09:42 +01:00
2004-02-09 14:44:03 +02:00
2003-12-17 17:35:34 +02:00
2003-08-11 22:44:43 +03: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
2003-11-20 22:06:25 +02:00
2004-02-09 12:31:03 +01:00
2003-11-20 22:06:25 +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-17 17:35:34 +02:00
2004-01-15 21:06:22 +04:00