mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Manual merge from mysql-5.1-bugteam to mysql-trunk-merge.
Text conflict in sql/log.cc Text conflict in sql/log.h Text conflict in sql/sql_class.cc Text conflict in sql/sql_load.cc
This commit is contained in:
12
sql/table.cc
12
sql/table.cc
@ -310,13 +310,6 @@ TABLE_SHARE *alloc_table_share(TABLE_LIST *table_list, char *key,
|
||||
|
||||
share->version= refresh_version;
|
||||
|
||||
/*
|
||||
This constant is used to mark that no table map version has been
|
||||
assigned. No arithmetic is done on the value: it will be
|
||||
overwritten with a value taken from MYSQL_BIN_LOG.
|
||||
*/
|
||||
share->table_map_version= ~(ulonglong)0;
|
||||
|
||||
/*
|
||||
Since alloc_table_share() can be called without any locking (for
|
||||
example, ha_create_table... functions), we do not assign a table
|
||||
@ -383,11 +376,6 @@ void init_tmp_table_share(THD *thd, TABLE_SHARE *share, const char *key,
|
||||
share->path.length= share->normalized_path.length= strlen(path);
|
||||
share->frm_version= FRM_VER_TRUE_VARCHAR;
|
||||
|
||||
/*
|
||||
Temporary tables are not replicated, but we set up these fields
|
||||
anyway to be able to catch errors.
|
||||
*/
|
||||
share->table_map_version= ~(ulonglong)0;
|
||||
share->cached_row_logging_check= -1;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user