mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge 11.2 into 11.3
This commit is contained in:
@@ -29,6 +29,14 @@ class THD;
|
||||
class my_decimal;
|
||||
class sp_condition_value;
|
||||
|
||||
/* Types of LOG warnings, used by note_verbosity */
|
||||
|
||||
#define NOTE_VERBOSITY_NORMAL (1U << 0)
|
||||
/* Show warnings about keys parts that cannot be used */
|
||||
#define NOTE_VERBOSITY_UNUSABLE_KEYS (1U << 1)
|
||||
/* Show warnings in explain for key parts that cannot be used */
|
||||
#define NOTE_VERBOSITY_EXPLAIN (1U << 2)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class Sql_state
|
||||
@@ -1092,6 +1100,11 @@ public:
|
||||
return m_statement_warn_count;
|
||||
}
|
||||
|
||||
uint unsafe_statement_warn_count() const
|
||||
{
|
||||
return m_statement_warn_count;
|
||||
}
|
||||
|
||||
/**
|
||||
Get the current errno, state and id of the user defined condition
|
||||
and return them as Sql_condition_identity.
|
||||
|
Reference in New Issue
Block a user