diff options
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 63f964e96ce..63c53c3332e 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -6832,7 +6832,7 @@ class Type_holder: public Sql_alloc, public Type_all_attributes, public Type_geometry_attributes { - TYPELIB *m_typelib; + const TYPELIB *m_typelib; bool m_maybe_null; public: Type_holder() @@ -6863,11 +6863,11 @@ public: { return Type_geometry_attributes::get_geometry_type(); } - void set_typelib(TYPELIB *typelib) + void set_typelib(const TYPELIB *typelib) { m_typelib= typelib; } - TYPELIB *get_typelib() const + const TYPELIB *get_typelib() const { return m_typelib; } |