mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Portability fixes
This commit is contained in:
@@ -19,10 +19,10 @@
|
||||
#include <my_dir.h>
|
||||
#include <hash.h>
|
||||
|
||||
#define SQL_CACHE_LENGTH 300
|
||||
#define SQL_CACHE_LENGTH 30 // 300 crashes apple gcc.
|
||||
|
||||
HASH sql_cache;
|
||||
LEX lex_array_static[SQL_CACHE_LENGTH];
|
||||
static LEX lex_array_static[SQL_CACHE_LENGTH];
|
||||
LEX * lex_array = lex_array_static;
|
||||
int last_lex_array_item = SQL_CACHE_LENGTH - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user