From d4b3a199acb0ddcdedff441ae664b0a2cf2fe8d2 Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Sun, 17 Jan 2016 21:21:39 +0100 Subject: MDEV-9117: Client Server capability negotiation for MariaDB specific functionality New capability flags space. Removed old progress flag, added new one. --- sql/sql_class.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_class.cc') diff --git a/sql/sql_class.cc b/sql/sql_class.cc index c5ad66200c8..a38822c3f16 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -4329,7 +4329,7 @@ extern "C" void thd_progress_init(MYSQL_THD thd, uint max_stage) is a high level command (like ALTER TABLE) and we are not in a stored procedure */ - thd->progress.report= ((thd->client_capabilities & CLIENT_PROGRESS) && + thd->progress.report= ((thd->client_capabilities & MARIADB_CLIENT_PROGRESS) && thd->progress.report_to_client && !thd->in_sub_stmt); thd->progress.next_report_time= 0; -- cgit v1.2.1