summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2011-12-02 15:16:39 +0100
committerTor Didriksen <tor.didriksen@oracle.com>2011-12-02 15:16:39 +0100
commitc188f9437311417099ff137fd4a3227cafe16f22 (patch)
tree997c5610c6e985b427e13c8acfe1167882acb782 /sql/sys_vars.cc
parentd9b1886f920fc3e715766b18fb0be2bce78818ed (diff)
downloadmariadb-git-c188f9437311417099ff137fd4a3227cafe16f22.tar.gz
Bug#11761576 post-push fix: HAVE_EXPLICIT_TEMPLATE_INSTANTIATION in header file broke Mac build
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 65cc4d4c4ab..f5a9ab3b55c 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -3253,3 +3253,17 @@ static Sys_var_tz Sys_time_zone(
SESSION_VAR(time_zone), NO_CMD_LINE,
DEFAULT(&default_tz), NO_MUTEX_GUARD, IN_BINLOG);
+
+/****************************************************************************
+ Used templates
+****************************************************************************/
+
+#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
+template class List<set_var_base>;
+template class List_iterator_fast<set_var_base>;
+template class Sys_var_unsigned<uint, GET_UINT, SHOW_INT>;
+template class Sys_var_unsigned<ulong, GET_ULONG, SHOW_LONG>;
+template class Sys_var_unsigned<ha_rows, GET_HA_ROWS, SHOW_HA_ROWS>;
+template class Sys_var_unsigned<ulonglong, GET_ULL, SHOW_LONGLONG>;
+#endif
+