mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Adopt to the introduction of a separate CLIENT_MULTI_RESULTS flag.
This commit is contained in:
@@ -3309,9 +3309,9 @@ mysql_execute_command(THD *thd)
|
||||
my_bool nsok= thd->net.no_send_ok;
|
||||
thd->net.no_send_ok= TRUE;
|
||||
#endif
|
||||
if (sp->m_multi_query)
|
||||
if (sp->m_multi_results)
|
||||
{
|
||||
if (! (thd->client_capabilities & CLIENT_MULTI_QUERIES))
|
||||
if (! (thd->client_capabilities & CLIENT_MULTI_RESULTS))
|
||||
{
|
||||
send_error(thd, ER_SP_BADSELECT);
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
@@ -3328,7 +3328,7 @@ mysql_execute_command(THD *thd)
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
thd->net.no_send_ok= nsok;
|
||||
#endif
|
||||
if (sp->m_multi_query)
|
||||
if (sp->m_multi_results)
|
||||
{
|
||||
if (! smrx)
|
||||
thd->server_status &= ~SERVER_MORE_RESULTS_EXISTS;
|
||||
|
||||
Reference in New Issue
Block a user