diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2016-01-17 21:21:39 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2016-02-02 14:35:10 +0100 |
commit | d4b3a199acb0ddcdedff441ae664b0a2cf2fe8d2 (patch) | |
tree | ab3df233d02318aece37de6f0f9c42e28bccef53 /sql/sql_class.cc | |
parent | 36eccebd6f8116bd8940c03701c453db71aecb69 (diff) | |
download | mariadb-git-d4b3a199acb0ddcdedff441ae664b0a2cf2fe8d2.tar.gz |
MDEV-9117: Client Server capability negotiation for MariaDB specific functionality
New capability flags space.
Removed old progress flag, added new one.
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |