mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Portability fixes
Docs/manual.texi: Updates in the links sections config.guess: Added fixes for Darwin config.sub: Added fixes for Darwin configure.in: Added fixes for Darwin extra/my_print_defaults.c: Fixed typo include/my_pthread.h: Added fixes for Darwin ltconfig: Portability fix myisam/mi_check.c: Make myisamchk more silent mysys/Makefile.am: Added mf_tempfile.c mysys/mf_cache.c: Remove not used parts mysys/mf_tempfile.c: Fix for Solaris sql/log.cc: Fix for Windows sql/sql_cache.cc: Fix for Darwin sql/sql_show.cc: Fix for temporary tables strings/strtol.c: Fix for Darwin support-files/mysql.spec.sh: Fix for documentation files that are installed compressed BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
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