mariadb/innobase/dict
Timothy Smith a786fa6109 Apply 3 patches from innodb-5.0-ss2637.
This fixes Bug#36149: Read buffer overflow in srv0start.c found during "make
test"

Per-revision comments:

r2484 | vasil | 2008-05-28 15:32:48 +0300 (Wed, 28 May 2008) | 9 lines

Fix Bug#36149 Read buffer overflow in srv0start.c found during "make test"

Use strncmp(3) instead of memcmp(3) to avoid reading past end of the string
if it is empty (*str == '\0'). This bug is _not_ a buffer overflow.

Discussed with:	Sunny (via IM)

r2538 | inaam | 2008-07-15 21:24:02 +0300 (Tue, 15 Jul 2008) | 15 lines

Fix of issue# 4

Fixed a timing hole where a thread dropping an index can free the
in-memory index struct while another thread is still using
that structure to remove entries from adaptive hash index belonging
to one of the pages that belongs to the index being dropped.

The fix is to have a reference counter in the index struct and to
wait for this counter to drop to zero beforing freeing the struct.

Reviewed by: Heikki


r2544 | inaam | 2008-07-22 18:58:11 +0300 (Tue, 22 Jul 2008) | 8 lines

Removed UNIV_INLINE qualifier from btr_search_info_get_ref_count().
Otherwise compilation failed on non-debug builds.

Pointed by: Vasil
2008-12-12 17:40:31 -07:00
..
dict0boot.c InnoDB: Fix ut0dbg compilation errors on NetWare 2005-06-16 15:00:25 +03:00
dict0crea.c This ChangeSet must be null-merged to 5.1. Applied innodb-5.0-ss982, -ss998, -ss1003 2006-11-09 05:02:37 +01:00
dict0dict.c Apply 3 patches from innodb-5.0-ss2637. 2008-12-12 17:40:31 -07:00
dict0load.c Applied innodb-5.0-ss492 snapshot. 2006-04-26 07:50:29 +04:00
dict0mem.c Applied innodb-5.0-ss476 snapshot. 2006-04-21 01:07:37 +04:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00