mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
Portability fix extern "C" static -> extern "C"
client/mysqlbinlog.cc: Portability fix sql/gen_lex_hash.cc: Portability fix sql/repl_failsafe.cc: Portability fix sql/sql_class.cc: Portability fix sql/sql_udf.cc: Portability fix sql/mysqld.cc: Portability fix sql/sql_base.cc: Portability fix sql/sql_insert.cc: Portability fix sql/sql_parse.cc: Portability fix sql/sql_delete.cc: Portability fix
This commit is contained in:
@@ -39,8 +39,8 @@ static key_map get_key_map_from_key_list(TABLE *table,
|
||||
List<String> *index_list);
|
||||
|
||||
|
||||
extern "C" static byte *cache_key(const byte *record,uint *length,
|
||||
my_bool not_used __attribute__((unused)))
|
||||
extern "C" byte *table_cache_key(const byte *record,uint *length,
|
||||
my_bool not_used __attribute__((unused)))
|
||||
{
|
||||
TABLE *entry=(TABLE*) record;
|
||||
*length=entry->key_length;
|
||||
@@ -49,7 +49,7 @@ extern "C" static byte *cache_key(const byte *record,uint *length,
|
||||
|
||||
void table_cache_init(void)
|
||||
{
|
||||
VOID(hash_init(&open_cache,table_cache_size+16,0,0,cache_key,
|
||||
VOID(hash_init(&open_cache,table_cache_size+16,0,0,table_cache_key,
|
||||
(hash_free_key) free_cache_entry,0));
|
||||
mysql_rm_tmp_tables();
|
||||
}
|
||||
|
Reference in New Issue
Block a user