| 1 | /* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. |
| 2 | |
| 3 | This program is free software; you can redistribute it and/or modify |
| 4 | it under the terms of the GNU General Public License as published by |
| 5 | the Free Software Foundation; version 2 of the License. |
| 6 | |
| 7 | This program is distributed in the hope that it will be useful, |
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | GNU General Public License for more details. |
| 11 | |
| 12 | You should have received a copy of the GNU General Public License |
| 13 | along with this program; if not, write to the Free Software |
| 14 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 15 | */ |
| 16 | |
| 17 | /* |
| 18 | Note that sql_builtin.cc is automatically built by sql_bultin.cc.in |
| 19 | and cmake/plugin.cmake |
| 20 | */ |
| 21 | |
| 22 | #include <my_global.h> |
| 23 | #include <mysql/plugin.h> |
| 24 | |
| 25 | typedef struct st_maria_plugin builtin_maria_plugin[]; |
| 26 | |
| 27 | #ifdef _MSC_VER |
| 28 | extern "C" |
| 29 | #else |
| 30 | extern |
| 31 | #endif |
| 32 | builtin_maria_plugin |
| 33 | builtin_maria_csv_plugin, builtin_maria_heap_plugin, builtin_maria_myisam_plugin, builtin_maria_myisammrg_plugin, builtin_maria_userstat_plugin, builtin_maria_sql_sequence_plugin, builtin_maria_innobase_plugin, builtin_maria_aria_plugin, builtin_maria_perfschema_plugin, builtin_maria_sequence_plugin, builtin_maria_feedback_plugin, builtin_maria_user_variables_plugin, builtin_maria_partition_plugin, |
| 34 | builtin_maria_binlog_plugin, |
| 35 | #ifdef WITH_WSREP |
| 36 | builtin_maria_wsrep_plugin, |
| 37 | #endif /* WITH_WSREP */ |
| 38 | builtin_maria_mysql_password_plugin; |
| 39 | |
| 40 | struct st_maria_plugin *mysql_optional_plugins[]= |
| 41 | { |
| 42 | builtin_maria_innobase_plugin, builtin_maria_aria_plugin, builtin_maria_perfschema_plugin, builtin_maria_sequence_plugin, builtin_maria_feedback_plugin, builtin_maria_user_variables_plugin, builtin_maria_partition_plugin, 0 |
| 43 | }; |
| 44 | |
| 45 | struct st_maria_plugin *mysql_mandatory_plugins[]= |
| 46 | { |
| 47 | builtin_maria_binlog_plugin, builtin_maria_mysql_password_plugin, |
| 48 | #ifdef WITH_WSREP |
| 49 | builtin_maria_wsrep_plugin, |
| 50 | #endif /* WITH_WSREP */ |
| 51 | builtin_maria_csv_plugin, builtin_maria_heap_plugin, builtin_maria_myisam_plugin, builtin_maria_myisammrg_plugin, builtin_maria_userstat_plugin, builtin_maria_sql_sequence_plugin, 0 |
| 52 | }; |
| 53 | |