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
..
.cvsignore
auto_increment.res
auto_increment.tst
big_record.pl
connect_test.c
deadlock_test.c
drop_test.pl
export.pl
fork2_test.pl
fork_big.pl
fork_big2.pl
function.res
function.tst
grant.pl
grant.res
index_corrupt.pl
insert_and_repair.pl
insert_test.c
list_test.c
lock_test.pl
lock_test.res
mail_to_db.pl
Makefile.am
myisam-big-rows.tst
mysql_client_test.c A fix and test case for Bug#10729 "mysql_stmt_attr_set 2005-06-09 18:17:45 +04:00
pmail.pl
rename_test.pl
restore-lock.smack
select_test.c
showdb_test.c
ssl_test.c
table_types.pl
test_delayed_insert.pl
thread_test.c
truncate.pl
udf_test
udf_test.res