1
0
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:
Sergei Golubchik
2025-07-28 20:16:25 +02:00
380 changed files with 11138 additions and 2776 deletions

View File

@@ -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)
{