1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00
Files
mariadb/tests
unknown d0db70270c A fix and test case for Bug#10729 "mysql_stmt_attr_set
CURSOR_TYPE_READ_ONLY". The bug was that we (me) don't perform proper
cleanups of the prepared statement when done fetching from a cursor.
Another patch.


sql/mysql_priv.h:
  Rename reset_stmt_for_execute to init_stmt_before_use (to correspond to
  cleanup_stmt_and_thd_after_use).
sql/sp_head.cc:
  Rename.
sql/sql_prepare.cc:
  Move common cleanup code to a cleanup function, call it when we close
  a cursor.
sql/sql_select.cc:
  Cleanup.
sql/sql_select.h:
  No need for init_thd, this code has been inlined in Cursor::open.
tests/mysql_client_test.c:
  Add a test case for Bug#10729 "mysql_stmt_attr_set CURSOR_TYPE_READ_ONLY"
  (problem reusing a prepared statemnt if there was a cursor)
2005-06-09 18:17:45 +04:00
..
2000-07-31 21:29:14 +02:00
2000-07-31 21:29:14 +02:00
2000-07-31 21:29:14 +02:00
2000-08-29 12:31:01 +03:00
2001-03-25 01:02:26 +02:00
2003-11-25 13:06:46 -08:00
2005-03-17 08:16:56 +02:00
2004-02-11 00:06:46 +01:00
2000-07-31 21:29:14 +02:00
2000-07-31 21:29:14 +02:00
2000-09-19 17:23:58 -06:00
2003-10-06 11:13:25 +03:00
2003-10-06 11:13:25 +03:00