Commit 27277df7 authored by Annamalai Gurusami's avatar Annamalai Gurusami

Bug #16244691 SERVER GONE AWAY ERROR OCCURS DEPENDING ON THE NUMBER OF

TABLE/KEY RELATIONS

The DICT_FK_MAX_RECURSIVE_LOAD was reduced from 250 to 33 in rb#2058.
But in optimized build, this recursive depth is still too deep and
resulted in stack overflow.  So reducing this depth to 20 now.
parent a6890cce
...@@ -317,7 +317,7 @@ This could result in rescursive calls and out of stack error eventually. ...@@ -317,7 +317,7 @@ 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 33 #define DICT_FK_MAX_RECURSIVE_LOAD 20
/** Similarly, when tables are chained together with foreign key constraints /** Similarly, when tables are chained together with foreign key constraints
with on cascading delete/update clause, delete from parent table could with on cascading delete/update clause, delete from parent table could
......
...@@ -118,7 +118,7 @@ This could result in rescursive calls and out of stack error eventually. ...@@ -118,7 +118,7 @@ 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 33 #define DICT_FK_MAX_RECURSIVE_LOAD 20
/** Similarly, when tables are chained together with foreign key constraints /** Similarly, when tables are chained together with foreign key constraints
with on cascading delete/update clause, delete from parent table could with on cascading delete/update clause, delete from parent table could
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment