Manual port Bug #Bug #54582 "stack overflow when opening many tables

linked with foreign keys at once" from mysql-5.1-security to
mysql-5.5-security again.

rb://391 approved by Heikki
This commit is contained in:
Jimmy Yang 2010-10-06 06:55:34 -07:00
commit 35f5429eda
9 changed files with 139 additions and 11 deletions

View file

@ -101,6 +101,9 @@ enum db_err {
requested but this storage does not
exist itself or the stats for a given
table do not exist */
DB_FOREIGN_EXCEED_MAX_CASCADE, /* Foreign key constraint related
cascading delete/update exceeds
maximum allowed depth */
/* The following are partial failure codes */
DB_FAIL = 1000,