diff options
author | Monty <monty@mariadb.org> | 2015-02-01 15:24:22 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2015-02-01 15:24:22 +0200 |
commit | 0ee879ff8ac1b80cd9a963015344f5698a81f309 (patch) | |
tree | c787536b279abd6fce40f8f624af2593ddf83403 /sql/mysqld.h | |
parent | 67b24a2374fed4a7533d14cc443afa0f4e9febc7 (diff) | |
download | mariadb-git-0ee879ff8ac1b80cd9a963015344f5698a81f309.tar.gz |
Improve performance for calculating memory allocation
Extend interface for 'show variables' with current scope
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r-- | sql/mysqld.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h index 94fd3e1b704..5d331fa4809 100644 --- a/sql/mysqld.h +++ b/sql/mysqld.h @@ -54,6 +54,12 @@ typedef Bitmap<((MAX_INDEXES+7)/8*8)> key_map; /* Used for finding keys */ #define TEST_SIGINT 1024 /**< Allow sigint on threads */ #define TEST_SYNCHRONIZATION 2048 /**< get server to do sleep in some places */ + +/* Keep things compatible */ +#define OPT_DEFAULT SHOW_OPT_DEFAULT +#define OPT_SESSION SHOW_OPT_SESSION +#define OPT_GLOBAL SHOW_OPT_GLOBAL + /* Function prototypes */ void kill_mysql(void); void close_connection(THD *thd, uint sql_errno= 0); |