1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-21 06:21:35 +03:00
Files
mariadb/sql
unknown df06466976 Fixed BUG#3117: LAST_INSERT_ID() works incorrectly inside stored procedure.
This turned out to be a problem for prepared statements as well; the id was
evaluated once, at parse time.


mysql-test/r/auto_increment.result:
  Updated results after bugfix in last_insert_id().
mysql-test/r/query_cache.result:
  Updated results after bugfix in last_insert_id().
mysql-test/r/variables.result:
  Updated results after bugfix in last_insert_id().
sql/item_func.cc:
  Fixed bug in last_insert_id(); get id at each evaluation (and not in the parser).
  Renamed the class Item_func_set_last_insert_id too, since it's not only for setting.
sql/item_func.h:
  Fixed bug in last_insert_id(); get id at each evaluation (and not in the parser).
  Renamed the class Item_func_set_last_insert_id too, since it's not only for setting.
sql/sql_yacc.yy:
  Fixed bug in last_insert_id(); get id at each evaluation (and not in the parser).
  Renamed the class Item_func_set_last_insert_id too, since it's not only for setting.
tests/client_test.c:
  Test case for last_insert_id() in prepared statements.
2004-03-25 17:42:13 +01:00
..
2003-12-18 18:12:00 +04:00
2003-11-20 22:06:25 +02:00
2004-03-16 14:59:22 +04:00
2004-03-18 15:21:06 +02:00
2004-03-16 14:59:22 +04:00
2004-02-11 00:06:46 +01:00
2004-03-05 19:49:50 +02:00
2004-03-15 16:32:53 +04:00
2004-03-15 16:32:53 +04:00
2004-03-16 22:41:30 +02:00
2004-02-16 10:03:25 +02:00
2004-03-18 00:16:04 +02:00
2003-12-30 13:14:21 +02:00
2004-03-16 22:41:30 +02:00
2004-02-11 00:06:46 +01:00
2004-02-11 00:06:46 +01:00
2004-03-04 13:20:17 +02:00
2004-02-11 00:06:46 +01:00
2004-02-13 15:27:21 +01:00
2004-03-18 15:21:06 +02:00
2004-03-20 13:36:26 +02:00
2004-03-04 23:18:54 +01:00
2004-03-04 08:50:37 +02:00
2004-01-20 20:55:47 +04:00
2004-03-20 13:36:26 +02:00
2004-03-04 17:52:06 +04:00
2004-03-20 13:36:26 +02:00
2004-03-20 13:36:26 +02:00
2004-03-20 13:36:26 +02:00
2004-02-11 00:06:46 +01:00
2004-03-05 19:49:50 +02:00
2004-03-04 23:18:54 +01:00
2004-03-16 22:41:30 +02:00
2004-03-18 00:16:04 +02:00
2004-02-03 14:35:24 +04:00
2004-03-16 22:41:30 +02:00
2004-02-21 14:25:43 +01:00
2003-12-17 17:35:34 +02:00
2004-03-18 00:16:04 +02:00
2004-02-05 18:14:48 +01:00
2003-12-17 17:35:34 +02:00
2004-03-20 17:08:01 +01:00
2004-03-20 15:56:20 +01:00
2004-03-17 10:30:40 +02:00
2004-03-16 02:41:36 +02:00
2003-12-19 16:25:50 +02:00
2004-02-13 15:27:21 +01:00
2004-03-20 13:36:26 +02:00
2004-03-16 22:41:30 +02:00
2004-03-09 12:52:25 +02:00
2004-03-18 00:16:04 +02:00
2003-12-19 16:34:48 +02:00
2004-03-16 22:41:30 +02:00
2004-03-18 00:16:04 +02:00
2004-03-20 13:36:26 +02:00
2004-03-18 00:16:04 +02:00
2004-03-16 22:41:30 +02:00
2004-03-20 13:36:26 +02:00
2004-02-11 00:06:46 +01:00
2004-03-15 12:53:27 +02:00
2004-02-11 00:06:46 +01:00
2004-03-20 13:36:26 +02:00
2004-03-04 08:50:37 +02:00
2004-03-05 19:49:50 +02:00
2003-11-20 22:06:25 +02:00
2004-03-19 14:35:00 +04:00
2004-03-20 13:36:26 +02:00
2003-11-20 22:06:25 +02:00
2004-03-17 12:28:26 -06:00
2004-03-16 22:41:30 +02:00
2003-12-17 17:35:34 +02:00