Commit cd1909f6 authored by marko's avatar marko

branches/zip: Hide unnecessarily visible globals.

dict_ind_redundant, dict_ind_compact: Declare these UNIV_INTERN.
innodb_hton_ptr: Declare static.  We do not attempt to access the
built-in InnoDB any more.
trx_roll_savepoints_free(): Declare UNIV_INTERN.
parent 3db4187a
...@@ -29,9 +29,9 @@ Created 1/8/1996 Heikki Tuuri ...@@ -29,9 +29,9 @@ Created 1/8/1996 Heikki Tuuri
#endif #endif
/* dummy index for ROW_FORMAT=REDUNDANT supremum and infimum records */ /* dummy index for ROW_FORMAT=REDUNDANT supremum and infimum records */
dict_index_t* dict_ind_redundant; UNIV_INTERN dict_index_t* dict_ind_redundant;
/* dummy index for ROW_FORMAT=COMPACT supremum and infimum records */ /* dummy index for ROW_FORMAT=COMPACT supremum and infimum records */
dict_index_t* dict_ind_compact; UNIV_INTERN dict_index_t* dict_ind_compact;
#ifndef UNIV_HOTBACKUP #ifndef UNIV_HOTBACKUP
#include "buf0buf.h" #include "buf0buf.h"
......
...@@ -112,13 +112,7 @@ undefined. Map it to NULL. */ ...@@ -112,13 +112,7 @@ undefined. Map it to NULL. */
# define EQ_CURRENT_THD(thd) ((thd) == current_thd) # define EQ_CURRENT_THD(thd) ((thd) == current_thd)
#endif /* MYSQL_DYNAMIC_PLUGIN && __WIN__ */ #endif /* MYSQL_DYNAMIC_PLUGIN && __WIN__ */
#ifdef MYSQL_DYNAMIC_PLUGIN static struct handlerton* innodb_hton_ptr;
/* These must be weak global variables in the dynamic plugin. */
struct handlerton* innodb_hton_ptr;
#else /* MYSQL_DYNAMIC_PLUGIN */
/* This must be a global variable in the statically linked InnoDB. */
struct handlerton* innodb_hton_ptr = NULL;
#endif /* MYSQL_DYNAMIC_PLUGIN */
static const long AUTOINC_OLD_STYLE_LOCKING = 0; static const long AUTOINC_OLD_STYLE_LOCKING = 0;
static const long AUTOINC_NEW_STYLE_LOCKING = 1; static const long AUTOINC_NEW_STYLE_LOCKING = 1;
......
...@@ -278,7 +278,7 @@ trx_roll_savepoint_free( ...@@ -278,7 +278,7 @@ trx_roll_savepoint_free(
/*********************************************************************** /***********************************************************************
Frees savepoint structs starting from savep, if savep == NULL then Frees savepoint structs starting from savep, if savep == NULL then
free all savepoints. */ free all savepoints. */
UNIV_INTERN
void void
trx_roll_savepoints_free( trx_roll_savepoints_free(
/*=====================*/ /*=====================*/
......
...@@ -198,7 +198,7 @@ trx_roll_savepoint_free( ...@@ -198,7 +198,7 @@ trx_roll_savepoint_free(
/*********************************************************************** /***********************************************************************
Frees savepoint structs starting from savep, if savep == NULL then Frees savepoint structs starting from savep, if savep == NULL then
free all savepoints. */ free all savepoints. */
UNIV_INTERN
void void
trx_roll_savepoints_free( trx_roll_savepoints_free(
/*=====================*/ /*=====================*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment