1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

A fix for systems that don't have HAVE_MMAP defined.

Moved some variable externs from sql_class.h to mysql_priv.h


sql/mysql_priv.h:
  Moved variables from sql_class.h to mysql_priv.h
sql/mysqld.cc:
  Didn't compile, if HAVE_MMAP was not defined (Netware for example)
sql/sql_class.h:
  Moved variables.
This commit is contained in:
unknown
2005-06-07 11:30:09 +03:00
parent 6f1db965ad
commit fb53b789e9
3 changed files with 6 additions and 4 deletions

View File

@@ -45,10 +45,6 @@ extern const char **errmesg;
#define TC_LOG_PAGE_SIZE 8192
#define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE)
extern ulong opt_tc_log_size;
extern ulong tc_log_max_pages_used;
extern ulong tc_log_page_size;
extern ulong tc_log_page_waits;
#define TC_HEURISTIC_RECOVER_COMMIT 1
#define TC_HEURISTIC_RECOVER_ROLLBACK 2