dict0mem.h   dict0mem.h 
skipping to change at line 229 skipping to change at line 229
#define DICT_TF2_FLAG_UNSET(table, flag) \ #define DICT_TF2_FLAG_UNSET(table, flag) \
(table->flags2 &= ~(flag)) (table->flags2 &= ~(flag))
/** Tables could be chained together with Foreign key constraint. When /** Tables could be chained together with Foreign key constraint. When
first load the parent table, we would load all of its descedents. first load the parent table, we would load all of its descedents.
This could result in rescursive calls and out of stack error eventually. This could result in rescursive calls and out of stack error eventually.
DICT_FK_MAX_RECURSIVE_LOAD defines the maximum number of recursive loads, DICT_FK_MAX_RECURSIVE_LOAD defines the maximum number of recursive loads,
when exceeded, the child table will not be loaded. It will be loaded when when exceeded, the child table will not be loaded. It will be loaded when
the foreign constraint check needs to be run. */ the foreign constraint check needs to be run. */
#define DICT_FK_MAX_RECURSIVE_LOAD 255 #define DICT_FK_MAX_RECURSIVE_LOAD 20
/** Similarly, when tables are chained together with foreign key constraint s /** Similarly, when tables are chained together with foreign key constraint s
with on cascading delete/update clause, delete from parent table could with on cascading delete/update clause, delete from parent table could
result in recursive cascading calls. This defines the maximum number of result in recursive cascading calls. This defines the maximum number of
such cascading deletes/updates allowed. When exceeded, the delete from such cascading deletes/updates allowed. When exceeded, the delete from
parent table will fail, and user has to drop excessive foreign constraint parent table will fail, and user has to drop excessive foreign constraint
before proceeds. */ before proceeds. */
#define FK_MAX_CASCADE_DEL 255 #define FK_MAX_CASCADE_DEL 255
/**********************************************************************//** /**********************************************************************//**
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/