mariadb/storage/myisam
Nisha Gopalakrishnan d01b5c392c Bug#11757464:SERVER CRASH IN RECURSIVE CALL WHEN OOM
Analysis:
---------

When the server is out of memory, an error is raised
to indicate the same. Handling the error requires
more memory to be allocated which fails, hence the
error handling loops in a recursion and causes the
server to crash.

Fix:
---
a) Prevents pushing the 'out of memory' error condition
to the diagnostic area as it requires memory allocation.
GET DIAGNOSTICS, SHOW WARNINGS and SHOW ERRORS statements
will not show information about this error. However the
'out of memory' error is returned to the client.
b) It sets the ME_FATALERROR flag when 'out of memory' errors
are reported (for places where the flag is not already set).
This flag prevents activation of SP error handlers which also
require memory allocation and therefore are likely to fail.
2013-01-15 15:30:26 +05:30
..
ftbench Merge 2010-12-29 00:47:05 +01:00
ChangeLog
CMakeLists.txt Updated/added copyright headers 2011-06-30 17:37:13 +02:00
ft_boolean_search.c Bug #13955256: KEYCACHE CRASHES, CORRUPTIONS/HANGS WITH, 2012-05-16 16:14:27 +05:30
ft_nlq_search.c Bug #13955256: KEYCACHE CRASHES, CORRUPTIONS/HANGS WITH, 2012-05-16 16:14:27 +05:30
ft_parser.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
ft_static.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
ft_stopwords.c Updated/added copyright headers 2011-07-03 17:47:37 +02:00
ft_update.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
ftdefs.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
fulltext.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
ha_myisam.cc BUG#13555854: CHECK AND REPAIR TABLE SHOULD BE MORE ROBUST [1] 2012-07-02 15:20:23 +05:30
ha_myisam.h Updated/added copyright headers 2012-02-16 10:48:16 +01:00
mi_cache.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_changed.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_check.c Updated/added copyright headers 2012-02-16 10:48:16 +01:00
mi_checksum.c Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
mi_close.c Updated/added copyright headers 2012-02-15 17:21:38 +01:00
mi_create.c Updated/added copyright headers 2011-07-04 01:25:49 +02:00
mi_dbug.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_delete.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_delete_all.c Updated/added copyright headers 2012-02-15 17:21:38 +01:00
mi_delete_table.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_dynrec.c Merge 5.1 => 5.5 2012-03-06 13:47:57 +01:00
mi_extra.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_extrafunc.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_info.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_key.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_keycache.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_locking.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_log.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_open.c BUG#13556107: CHECK AND REPAIR TABLE SHOULD BE MORE ROBUST [3] 2012-11-14 17:02:36 +05:30
mi_packrec.c Updated/added copyright headers 2012-02-16 10:48:16 +01:00
mi_page.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_panic.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_preload.c Updated/added copyright headers 2012-02-16 10:48:16 +01:00
mi_range.c Updated/added copyright headers 2011-07-04 01:25:49 +02:00
mi_rename.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_rfirst.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rkey.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_rlast.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rnext.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_rnext_same.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_rprev.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_rrnd.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_rsame.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_rsamepos.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_scan.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mi_search.c Bug#13556000: CHECK AND REPAIR TABLE SHOULD BE MORE ROBUST[2] 2012-11-09 19:19:11 +05:30
mi_static.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_statrec.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_test1.c Updated/added copyright headers 2011-07-04 01:25:49 +02:00
mi_test2.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_test3.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_test_all.res Merge chilla.local:/home/mydev/mysql-5.0-bug14400-monty 2006-09-19 14:33:29 +02:00
mi_test_all.sh Merge 2010-12-29 00:47:05 +01:00
mi_unique.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mi_update.c Updated/added copyright headers 2011-07-04 01:25:49 +02:00
mi_write.c Bug#11758009 - UNION EXECUTION ORDER WRONG ? 2013-01-15 14:33:22 +05:30
myisam_ftdump.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
myisamchk.c BUG#11754894: MYISAMCHK ERROR HAS INCORRECT REFERENCE 2012-10-30 19:00:12 +05:30
myisamdef.h Updated/added copyright headers 2012-02-16 10:48:16 +01:00
myisamlog.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
myisampack.c Bug#11757464:SERVER CRASH IN RECURSIVE CALL WHEN OOM 2013-01-15 15:30:26 +05:30
NEWS
rt_index.c Merge 2010-12-29 01:26:31 +01:00
rt_index.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
rt_key.c Merge chilla.local:/home/mydev/mysql-5.0-bug25673 2007-03-08 12:13:54 +01:00
rt_key.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
rt_mbr.c Merge mysql.com:/home/hf/work/30286/my50-30286 2007-10-05 15:43:15 +05:00
rt_mbr.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
rt_split.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
rt_test.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sort.c Updated/added copyright headers 2012-02-16 10:48:16 +01:00
sp_defs.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
sp_key.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sp_test.c Updated/added copyright headers 2011-07-03 17:47:37 +02:00
test_pack
TODO