mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-27595 Backport SQL service, introduced by MDEV-19275.
The SQL SERVICE backported into the 10.4.
This commit is contained in:
@ -1477,7 +1477,7 @@ void CONNECT::close_with_error(uint sql_errno,
|
||||
if (thd)
|
||||
{
|
||||
if (sql_errno)
|
||||
net_send_error(thd, sql_errno, message, NULL);
|
||||
thd->protocol->net_send_error(thd, sql_errno, message, NULL);
|
||||
close_connection(thd, close_error);
|
||||
delete thd;
|
||||
set_current_thd(0);
|
||||
|
Reference in New Issue
Block a user