1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Portability fixes

This commit is contained in:
monty@donna.mysql.com
2000-10-04 23:20:16 +03:00
parent 9f7c4563f7
commit b55de19ed2
17 changed files with 261 additions and 66 deletions

View File

@@ -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;