1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-13 18:02:43 +03:00
Files
mariadb/sql
konstantin@mysql.com 8b0cee88f0 A fix and a test case for Bug#10736 "mysql_stmt_attr_set
CURSOR_TYPE_READ_ONLY select within select".
The bug was caused by the reset of thd->mem_root to thd->main_mem_root in 
Item_subselect::exec, which in turn triggered too early free_root() for
data which was needed on subsequent fetches from a cursor.
This reset also caused a memory leak in stored procedures, as 
subsequent executions of instructions containing a subselect
were allocating memory in thd->main_mem_root, which is not freed
until the end of the entire SP, instead of the per-call mem_root,
which is freed in the end of execution of the instruction.
2005-06-28 20:52:15 +04:00
..
2005-06-07 00:31:53 +03:00
2005-05-21 23:23:39 +02:00
2005-06-24 01:21:18 -07:00
2005-06-20 22:31:25 +02:00
2005-06-09 15:48:57 +02:00
2005-06-07 00:31:53 +03:00
2005-06-22 14:10:02 +02:00
2005-06-22 14:10:02 +02:00
2005-05-13 14:04:32 +03:00
2005-06-02 07:27:02 -07:00
2005-06-23 19:33:19 +03:00
2005-06-07 00:31:53 +03:00
2005-06-07 00:31:53 +03:00
2005-06-23 01:02:43 +04:00
2005-06-23 01:02:43 +04:00
2005-05-06 11:39:30 +03:00
2005-06-03 18:29:36 +02:00
2005-05-26 21:01:55 +02:00
2005-06-20 22:31:25 +02:00
2005-06-08 21:56:22 +05:00
2005-06-07 00:31:53 +03:00
2005-06-07 00:31:53 +03:00
2005-06-07 00:31:53 +03:00
2005-03-24 14:32:40 +01:00
2005-05-18 19:00:21 +03:00
2005-06-07 00:31:53 +03:00
2005-05-26 21:01:55 +02:00
2005-06-05 17:19:50 +03:00
2005-05-02 10:19:37 -07:00
2005-05-20 16:34:59 -05:00
2005-06-22 21:07:28 +04:00
2005-05-19 15:20:10 +02:00
2005-06-07 00:31:53 +03:00
2005-06-27 14:26:07 +02:00
2005-06-07 14:50:45 +04:00
2005-03-16 04:32:47 +03:00
2005-06-07 00:31:53 +03:00
2005-05-06 11:39:30 +03:00
2005-05-24 22:19:33 +04:00
2005-06-07 00:31:53 +03:00
2005-06-23 01:02:43 +04:00
2005-06-01 16:35:09 +03:00
2005-06-07 00:31:53 +03:00
2005-06-01 16:35:09 +03:00