1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

A fix and a test case for Bug#11909 "mysql_stmt_attr_set

CURSOR_TYPE_READ_ONLY nested queries corrupt result"
This commit is contained in:
konstantin@mysql.com
2005-08-08 19:24:56 +04:00
parent 88d7973da4
commit 043f77ccdf
4 changed files with 127 additions and 2 deletions

View File

@ -1715,6 +1715,7 @@ JOIN::destroy()
Cursor::Cursor(THD *thd)
:Query_arena(&main_mem_root, INITIALIZED),
join(0), unit(0),
protocol(thd),
close_at_commit(FALSE)
{
/* We will overwrite it at open anyway. */