1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-21 08:47:42 +03:00
Files
mariadb/mysql-test/t
kaa@polly.local 4162e009cb Fix for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache"
Problem:
When creating a temporary field for a temporary table in create_tmp_field_from_field(), a resulting field is created as an exact copy of an original one (in Field::new_field()). However, Field_enum and Field_set contain a pointer (typelib) to memory allocated in the parent table's MEM_ROOT, which under some circumstances may be deallocated later by the time a temporary table is used.

Solution:
Override the new_field() method for Field_enum and Field_set and create a separate copy of the typelib structure in there.
2006-12-14 20:58:07 +03:00
..
2006-05-29 16:27:45 +02:00
2006-05-01 21:30:09 +03:00
2006-06-17 02:57:50 +04:00
2006-06-17 02:57:50 +04:00
2006-10-13 08:48:47 +02:00
2006-11-04 09:24:10 +01:00
2006-05-24 17:21:35 +03:00
2006-06-14 23:54:08 +04:00
2006-06-20 00:52:26 +04:00
2006-04-11 15:26:18 +05:00
2006-08-30 03:22:59 +04:00
2006-05-06 23:48:13 -07:00
2006-11-15 10:23:27 +01:00
2006-08-21 14:20:03 +04:00
2006-11-15 10:23:27 +01:00
2006-05-29 19:07:35 +04:00
2006-05-01 22:10:50 -04:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2006-09-21 00:59:48 +02:00
2006-04-27 21:59:04 +09:30
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-11-15 10:23:27 +01:00
2006-10-05 12:41:26 +02:00