Partial fix for Bug#11764622 57480: MEMORY LEAK WHEN HAVING 256+ TABLES

Port vasil.dimov@oracle.com-20111205082626-87j5f48dq1ouk86r from mysql-trunk
This commit is contained in:
Vasil Dimov 2011-12-29 16:05:08 +02:00
commit 841e8ddbc5

View file

@ -1857,7 +1857,7 @@ pars_sql(
ut_ad(str);
heap = mem_heap_create(256);
heap = mem_heap_create(16000);
/* Currently, the parser is not reentrant: */
ut_ad(mutex_own(&(dict_sys->mutex)));