mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@@ -335,7 +335,7 @@ static int mrn_change_encoding(grn_ctx *ctx, const CHARSET_INFO *charset)
|
||||
return mrn::encoding::set(ctx, charset);
|
||||
}
|
||||
|
||||
#if !defined(DBUG_OFF) && !defined(_lint)
|
||||
#if defined DBUG_TRACE && !defined(_lint)
|
||||
static const char *mrn_inspect_thr_lock_type(enum thr_lock_type lock_type)
|
||||
{
|
||||
const char *inspected = "<unknown>";
|
||||
@@ -3381,16 +3381,16 @@ int ha_mroonga::wrapper_create_index(const char *name, TABLE *table,
|
||||
index_tables, NULL, tmp_share);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (error) {
|
||||
for (uint j = 0; j < i; j++) {
|
||||
if (index_tables[j]) {
|
||||
grn_obj_remove(ctx, index_tables[j]);
|
||||
if (error) {
|
||||
for (uint j = 0; j < i; j++) {
|
||||
if (index_tables[j]) {
|
||||
grn_obj_remove(ctx, index_tables[j]);
|
||||
}
|
||||
}
|
||||
grn_obj_remove(ctx, grn_table);
|
||||
grn_table = NULL;
|
||||
}
|
||||
grn_obj_remove(ctx, grn_table);
|
||||
grn_table = NULL;
|
||||
}
|
||||
MRN_FREE_VARIABLE_LENGTH_ARRAYS(index_tables);
|
||||
DBUG_RETURN(error);
|
||||
|
Reference in New Issue
Block a user