mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -2175,6 +2175,14 @@ public:
|
||||
((1U << STMT_READS_TEMP_TRANS_TABLE) |
|
||||
(1U << STMT_WRITES_TEMP_TRANS_TABLE))) != 0);
|
||||
}
|
||||
inline bool stmt_writes_to_non_temp_table()
|
||||
{
|
||||
DBUG_ENTER("THD::stmt_writes_to_non_temp_table");
|
||||
|
||||
DBUG_RETURN((stmt_accessed_table_flag &
|
||||
((1U << STMT_WRITES_TRANS_TABLE) |
|
||||
(1U << STMT_WRITES_NON_TRANS_TABLE))));
|
||||
}
|
||||
|
||||
/**
|
||||
Checks if a temporary non-transactional table is about to be accessed
|
||||
@ -2226,7 +2234,7 @@ public:
|
||||
unsafe= (binlog_unsafe_map[stmt_accessed_table_flag] & condition);
|
||||
|
||||
#if !defined(DBUG_OFF)
|
||||
DBUG_PRINT("LEX::is_mixed_stmt_unsafe", ("RESULT %02X %02X %02X\n", condition,
|
||||
DBUG_PRINT("LEX::is_mixed_stmt_unsafe", ("RESULT %02X %02X %02X", condition,
|
||||
binlog_unsafe_map[stmt_accessed_table_flag],
|
||||
(binlog_unsafe_map[stmt_accessed_table_flag] & condition)));
|
||||
|
||||
@ -4531,6 +4539,8 @@ public:
|
||||
Item_result return_type,
|
||||
const LEX_CSTRING &soname);
|
||||
Spvar_definition *row_field_name(THD *thd, const Lex_ident_sys_st &name);
|
||||
|
||||
void mark_first_table_as_inserting();
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user