mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
After merge fixes
mysys/my_handler_errors.h: Updated error messages storage/maria/ha_maria.cc: After merge fix storage/maria/ma_rt_key.c: Use share->state.state instead of info->state storage/maria/ma_rt_test.c: After merge fix
This commit is contained in:
@ -55,13 +55,14 @@ static const char *handler_error_messages[]=
|
|||||||
"Failed to get next auto increment value",
|
"Failed to get next auto increment value",
|
||||||
"Failed to set row auto increment value",
|
"Failed to set row auto increment value",
|
||||||
"Unknown (generic) error from engine",
|
"Unknown (generic) error from engine",
|
||||||
"Record is the same",
|
"Record was not update. Original values was same as new values",
|
||||||
"It is not possible to log this statement",
|
"It is not possible to log this statement",
|
||||||
"The event was corrupt, leading to illegal data being read",
|
"The event was corrupt, leading to illegal data being read",
|
||||||
"The table is of a new format not supported by this version",
|
"The table is of a new format not supported by this version",
|
||||||
"The event could not be processed no other handler error happened",
|
"The event could not be processed. No other handler error happened",
|
||||||
"Got a fatal error during initialization of handler",
|
"Got a fatal error during initialization of handler",
|
||||||
"File too short; Expected more data in file",
|
"File too short; Expected more data in file",
|
||||||
"Read page with wrong checksum"
|
"Read page with wrong checksum",
|
||||||
|
"Row is not visible by the current transaction"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2859,6 +2859,8 @@ my_bool ha_maria::register_query_cache_table(THD *thd, char *table_name,
|
|||||||
*engine_callback,
|
*engine_callback,
|
||||||
ulonglong *engine_data)
|
ulonglong *engine_data)
|
||||||
{
|
{
|
||||||
|
ulonglong actual_data_file_length;
|
||||||
|
ulonglong current_data_file_length;
|
||||||
DBUG_ENTER("ha_maria::register_query_cache_table");
|
DBUG_ENTER("ha_maria::register_query_cache_table");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -58,7 +58,7 @@ int maria_rtree_add_key(MARIA_HA *info, const MARIA_KEYDEF *keyinfo,
|
|||||||
/* save key */
|
/* save key */
|
||||||
DBUG_ASSERT(_ma_dpos(info, nod_flag, key + key_length +
|
DBUG_ASSERT(_ma_dpos(info, nod_flag, key + key_length +
|
||||||
share->base.rec_reflength) <
|
share->base.rec_reflength) <
|
||||||
info->state->data_file_length +
|
share->state.state.data_file_length +
|
||||||
share->base.pack_reclength);
|
share->base.pack_reclength);
|
||||||
memcpy(key_pos, key, key_length + share->base.rec_reflength);
|
memcpy(key_pos, key, key_length + share->base.rec_reflength);
|
||||||
added_len= key_length + share->base.rec_reflength;
|
added_len= key_length + share->base.rec_reflength;
|
||||||
|
@ -99,7 +99,7 @@ int main(int argc, char *argv[])
|
|||||||
if (maria_init() ||
|
if (maria_init() ||
|
||||||
(init_pagecache(maria_pagecache, maria_block_size * 16, 0, 0,
|
(init_pagecache(maria_pagecache, maria_block_size * 16, 0, 0,
|
||||||
maria_block_size, MY_WME) == 0) ||
|
maria_block_size, MY_WME) == 0) ||
|
||||||
ma_control_file_open(TRUE) ||
|
ma_control_file_open(TRUE, TRUE) ||
|
||||||
(init_pagecache(maria_log_pagecache,
|
(init_pagecache(maria_log_pagecache,
|
||||||
TRANSLOG_PAGECACHE_SIZE, 0, 0,
|
TRANSLOG_PAGECACHE_SIZE, 0, 0,
|
||||||
TRANSLOG_PAGE_SIZE, MY_WME) == 0) ||
|
TRANSLOG_PAGE_SIZE, MY_WME) == 0) ||
|
||||||
|
Reference in New Issue
Block a user