diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-12-17 10:56:26 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-12-17 10:56:26 +0100 |
commit | a058974440f7df7832f4bb9bf5d2783ca040fa66 (patch) | |
tree | d94290683a230f3829d8fc230729c948003b4c57 /sql/sql_class.cc | |
parent | cd0970c4808b80f33516e9e47e0bb62dae1e6bd5 (diff) | |
download | mariadb-git-a058974440f7df7832f4bb9bf5d2783ca040fa66.tar.gz |
remove HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 70b43a9ac3e..71ef2f61096 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -73,23 +73,6 @@ char empty_c_string[1]= {0}; /* used for not defined db */ const char * const THD::DEFAULT_WHERE= "field list"; - -/***************************************************************************** -** Instansiate templates -*****************************************************************************/ - -#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION -/* Used templates */ -template class List<Key>; -template class List_iterator<Key>; -template class List<Key_part_spec>; -template class List_iterator<Key_part_spec>; -template class List<Alter_drop>; -template class List_iterator<Alter_drop>; -template class List<Alter_column>; -template class List_iterator<Alter_column>; -#endif - /**************************************************************************** ** User variables ****************************************************************************/ @@ -4981,27 +4964,6 @@ THD::binlog_prepare_pending_rows_event(TABLE* table, uint32 serv_id, DBUG_RETURN(pending); /* This is the current pending event */ } -#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION -/* - Instantiate the versions we need, we have -fno-implicit-template as - compiling option. -*/ -template Rows_log_event* -THD::binlog_prepare_pending_rows_event(TABLE*, uint32, MY_BITMAP const*, - size_t, size_t, bool, - Write_rows_log_event*); - -template Rows_log_event* -THD::binlog_prepare_pending_rows_event(TABLE*, uint32, MY_BITMAP const*, - size_t colcnt, size_t, bool, - Delete_rows_log_event *); - -template Rows_log_event* -THD::binlog_prepare_pending_rows_event(TABLE*, uint32, MY_BITMAP const*, - size_t colcnt, size_t, bool, - Update_rows_log_event *); -#endif - /* Declare in unnamed namespace. */ CPP_UNNAMED_NS_START /** |