1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Merge remote-tracking branch 'origin/11.2' into 11.4

This commit is contained in:
Alexander Barkov
2024-07-09 17:41:26 +04:00
636 changed files with 14636 additions and 11289 deletions

View File

@@ -311,16 +311,16 @@ public:
@param thd global context the processed statement
@returns false on success, true on error
*/
virtual bool prepare(THD *thd);
bool prepare(THD *thd) override;
/**
Execute the processed statement once
@param thd global context the processed statement
@returns false on success, true on error
*/
virtual bool execute(THD *thd);
bool execute(THD *thd) override;
virtual bool is_dml() const { return true; }
bool is_dml() const override { return true; }
select_result *get_result() { return result; }
@@ -410,9 +410,9 @@ public:
:show_all_slaves_status(status_all)
{}
enum_sql_command sql_command_code() const { return SQLCOM_SHOW_SLAVE_STAT; }
enum_sql_command sql_command_code() const override { return SQLCOM_SHOW_SLAVE_STAT; }
bool execute(THD *thd);
bool execute(THD *thd) override;
bool is_show_all_slaves_stat() { return show_all_slaves_status; }
};
@@ -421,20 +421,20 @@ class Sql_cmd_create_table_like: public Sql_cmd,
public Storage_engine_name
{
public:
Storage_engine_name *option_storage_engine_name() { return this; }
bool execute(THD *thd);
Storage_engine_name *option_storage_engine_name() override { return this; }
bool execute(THD *thd) override;
};
class Sql_cmd_create_table: public Sql_cmd_create_table_like
{
public:
enum_sql_command sql_command_code() const { return SQLCOM_CREATE_TABLE; }
enum_sql_command sql_command_code() const override { return SQLCOM_CREATE_TABLE; }
};
class Sql_cmd_create_sequence: public Sql_cmd_create_table_like
{
public:
enum_sql_command sql_command_code() const { return SQLCOM_CREATE_SEQUENCE; }
enum_sql_command sql_command_code() const override { return SQLCOM_CREATE_SEQUENCE; }
};
@@ -458,9 +458,9 @@ public:
@param thd the current thread.
@return false on success.
*/
bool execute(THD *thd);
bool execute(THD *thd) override;
virtual enum_sql_command sql_command_code() const
enum_sql_command sql_command_code() const override
{
return SQLCOM_CALL;
}