diff options
author | unknown <monty@donna.mysql.com> | 2000-10-04 23:20:16 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-10-04 23:20:16 +0300 |
commit | fc78fef7968a652d2bf96ac5ee6d5f35faf7fcd9 (patch) | |
tree | f355b0229e2ae229e8311da676b61658f1b0a052 /sql/sql_cache.cc | |
parent | 63b7b45ff7f79a08a673e8b759a69f5ee7e67902 (diff) | |
download | mariadb-git-fc78fef7968a652d2bf96ac5ee6d5f35faf7fcd9.tar.gz |
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
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 78053d0d3e3..09d436c0c9c 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -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; |