summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
authorNisha Gopalakrishnan <nisha.gopalakrishnan@oracle.com>2013-09-05 13:40:27 +0530
committerNisha Gopalakrishnan <nisha.gopalakrishnan@oracle.com>2013-09-05 13:40:27 +0530
commit14976fbe8a5d9e88cba6474808b8b59790e84c3e (patch)
tree778522b458bb5f9928f6bdc867d32a6bc43ae194 /sql/set_var.h
parente203951cb1e42404ed62abbfe7eb6e4cce53218c (diff)
downloadmariadb-git-14976fbe8a5d9e88cba6474808b8b59790e84c3e.tar.gz
BUG#16032946 - PLEASE GIVE A MESSAGE FOR "THREAD_CONCURRENCY DOESN'T
DO WHAT YOU EXPECT" Fix info: -------- Backport of the deprecation bug fix (WL#5265) for global variable 'THREAD_CONCURRENCY' from mysql-5.6 to mysql-5.5 Note: With this backport, certain additional deprecation warnings would be reported under error conditions while setting the global/session variables.
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index 01e3be11621..60164ba0363 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -143,6 +143,7 @@ public:
return (option.id != -1) && (m_parse_flag & parse_flags) &&
insert_dynamic(array, (uchar*)&option);
}
+ void do_deprecated_warning(THD *thd);
private:
virtual bool do_check(THD *thd, set_var *var) = 0;
@@ -156,7 +157,7 @@ private:
virtual void global_save_default(THD *thd, set_var *var) = 0;
virtual bool session_update(THD *thd, set_var *var) = 0;
virtual bool global_update(THD *thd, set_var *var) = 0;
- void do_deprecated_warning(THD *thd);
+
protected:
/**
A pointer to a value of the variable for SHOW.