mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +03:00
Merge branch '11.4' into 11.8
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
#include "lock.h"
|
||||
#include "wsrep_mysqld.h"
|
||||
#include "sql_connect.h"
|
||||
#include "sql_cursor.h" //Select_materialize
|
||||
#ifdef WITH_WSREP
|
||||
#include "wsrep_thd.h"
|
||||
#include "wsrep_trans_observer.h"
|
||||
@@ -910,7 +911,6 @@ THD::THD(my_thread_id id, bool is_wsrep_applier)
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
mysql_cond_init(key_COND_wsrep_thd, &COND_wsrep_thd, NULL);
|
||||
wsrep_info[sizeof(wsrep_info) - 1] = '\0'; /* make sure it is 0-terminated */
|
||||
#endif
|
||||
/* Call to init() below requires fully initialized Open_tables_state. */
|
||||
reset_open_tables_state();
|
||||
@@ -8899,6 +8899,12 @@ void Charset_loader_server::raise_not_applicable_error(const char *cs,
|
||||
}
|
||||
|
||||
|
||||
bool THD::is_cursor_execution() const
|
||||
{
|
||||
return dynamic_cast<Select_materialize*>(this->lex->result);
|
||||
}
|
||||
|
||||
|
||||
LEX_CSTRING make_string(THD *thd, const char *start_ptr,
|
||||
const char *end_ptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user