mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch 'bb-10.4-release' into bb-10.5-release
This commit is contained in:
@ -121,6 +121,7 @@ When one supplies long data for a placeholder:
|
||||
static const uint PARAMETER_FLAG_UNSIGNED= 128U << 8;
|
||||
#endif
|
||||
#include "lock.h" // MYSQL_OPEN_FORCE_SHARED_MDL
|
||||
#include "log_event.h" // class Log_event
|
||||
#include "sql_handler.h"
|
||||
#include "transaction.h" // trans_rollback_implicit
|
||||
#include "mysql/psi/mysql_ps.h" // MYSQL_EXECUTE_PS
|
||||
@ -2440,6 +2441,16 @@ static bool check_prepared_statement(Prepared_statement *stmt)
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
break;
|
||||
case SQLCOM_SHOW_BINLOG_EVENTS:
|
||||
case SQLCOM_SHOW_RELAYLOG_EVENTS:
|
||||
{
|
||||
List<Item> field_list;
|
||||
Log_event::init_show_field_list(thd, &field_list);
|
||||
|
||||
if ((res= send_stmt_metadata(thd, stmt, &field_list)) == 2)
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
break;
|
||||
#endif /* EMBEDDED_LIBRARY */
|
||||
case SQLCOM_SHOW_CREATE_PROC:
|
||||
if ((res= mysql_test_show_create_routine(stmt, &sp_handler_procedure)) == 2)
|
||||
|
Reference in New Issue
Block a user