mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -9742,7 +9742,6 @@ int spider_mbase_handler::append_insert(
|
||||
spider_string *str,
|
||||
int link_idx
|
||||
) {
|
||||
SPIDER_SHARE *share = spider->share;
|
||||
DBUG_ENTER("spider_mbase_handler::append_insert");
|
||||
direct_insert_kind = SPIDER_SQL_DIRECT_INSERT_KIND_INSERT;
|
||||
if (
|
||||
@@ -9769,15 +9768,6 @@ int spider_mbase_handler::append_insert(
|
||||
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
|
||||
str->q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
|
||||
}
|
||||
else if (spider->wide_handler->insert_delayed)
|
||||
{
|
||||
if (share->internal_delayed)
|
||||
{
|
||||
if (str->reserve(SPIDER_SQL_SQL_DELAYED_LEN))
|
||||
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
|
||||
str->q_append(SPIDER_SQL_SQL_DELAYED_STR, SPIDER_SQL_SQL_DELAYED_LEN);
|
||||
}
|
||||
}
|
||||
else if (
|
||||
spider->wide_handler->lock_type >= TL_WRITE &&
|
||||
!spider->wide_handler->write_can_replace &&
|
||||
@@ -16758,12 +16748,6 @@ int spider_mbase_copy_table::append_insert_str(
|
||||
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
|
||||
sql.q_append(SPIDER_SQL_LOW_PRIORITY_STR, SPIDER_SQL_LOW_PRIORITY_LEN);
|
||||
}
|
||||
else if (insert_flg & SPIDER_DB_INSERT_DELAYED)
|
||||
{
|
||||
if (sql.reserve(SPIDER_SQL_SQL_DELAYED_LEN))
|
||||
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
|
||||
sql.q_append(SPIDER_SQL_SQL_DELAYED_STR, SPIDER_SQL_SQL_DELAYED_LEN);
|
||||
}
|
||||
else if (insert_flg & SPIDER_DB_INSERT_HIGH_PRIORITY)
|
||||
{
|
||||
if (sql.reserve(SPIDER_SQL_HIGH_PRIORITY_LEN))
|
||||
|
Reference in New Issue
Block a user