summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2010-04-01 23:05:09 +0300
committerunknown <sanja@askmonty.org>2010-04-01 23:05:09 +0300
commit3dfa7cdd2977b8b11d5e63259e773eec1be28d25 (patch)
tree448e9e94f7afe7df7eddb9c3cedf51bf5d1dafc2 /sql/sql_plugin.cc
parent20739646d793d658d1ec6ded46e1d9b90f5d5fb4 (diff)
downloadmariadb-git-3dfa7cdd2977b8b11d5e63259e773eec1be28d25.tar.gz
Fied problem with of compilation without dynamic plugin loading.
sql/sql_plugin.cc: Fixed #ifdef
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index fdbaff1f0a0..2fc27eb06aa 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -388,6 +388,7 @@ static inline void free_plugin_mem(struct st_plugin_dl *p)
@retval TRUE ERROR
*/
+#ifdef HAVE_DLOPEN
static my_bool read_mysql_plugin_info(struct st_plugin_dl *plugin_dl,
void *sym, char *dlpath,
int report)
@@ -592,6 +593,7 @@ static my_bool read_maria_plugin_info(struct st_plugin_dl *plugin_dl,
DBUG_RETURN(FALSE);
}
+#endif HAVE_DLOPEN
static st_plugin_dl *plugin_dl_add(const LEX_STRING *dl, int report)
{