diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2011-12-02 15:16:39 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2011-12-02 15:16:39 +0100 |
commit | c188f9437311417099ff137fd4a3227cafe16f22 (patch) | |
tree | 997c5610c6e985b427e13c8acfe1167882acb782 /sql/sys_vars.cc | |
parent | d9b1886f920fc3e715766b18fb0be2bce78818ed (diff) | |
download | mariadb-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.cc | 14 |
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 + |