1
0
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:
unknown
2003-08-27 17:04:33 +02:00
parent 55e776d145
commit e68197450d
4 changed files with 6 additions and 6 deletions

View File

@@ -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;