summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
authorSergei Krivonos <sergeikrivonos@gmail.com>2021-11-30 18:11:14 -0700
committerSergei Krivonos <sergeikrivonos@gmail.com>2021-12-20 10:09:46 +0200
commitf5fe27294d42c7b9eb7cfbed4b4f5401b6c2bbbb (patch)
treefdabe4ed6f065ed57554b092dfaa782571a2bce5 /sql/set_var.h
parentc9fcea14e9e1f34a97451706eac51276c85bbea7 (diff)
downloadmariadb-git-bb-10.8-MDEV-27036.tar.gz
MDEV-27036: re-enable my_json_writer-t unit testbb-10.8-MDEV-27036
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index 2d538624825..cc279af5355 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -247,8 +247,7 @@ protected:
Typically it's the same as session_value_ptr(), but it's different,
for example, for ENUM, that is printed as a string, but stored as a number.
*/
- uchar *session_var_ptr(THD *thd) const
- { return ((uchar*)&(thd->variables)) + offset; }
+ uchar *session_var_ptr(THD *thd) const;
uchar *global_var_ptr() const
{ return ((uchar*)&global_system_variables) + offset; }