← Back to team overview

maria-developers team mailing list archive

Rev 2767: Fied problem with of compilation without dynamic plugin loading. in file:///Users/bell/maria/bzr/work-maria-5.2-plugin/

 

At file:///Users/bell/maria/bzr/work-maria-5.2-plugin/

------------------------------------------------------------
revno: 2767
revision-id: sanja@xxxxxxxxxxxx-20100401200509-o67qhkcgzv5s9oai
parent: sanja@xxxxxxxxxxxx-20100401143451-z7dyg1mj84zf8ue5
committer: sanja@xxxxxxxxxxxx
branch nick: work-maria-5.2-plugin
timestamp: Thu 2010-04-01 23:05:09 +0300
message:
  Fied problem with of compilation without dynamic plugin loading.
=== modified file 'sql/sql_plugin.cc'
--- a/sql/sql_plugin.cc	2010-04-01 14:34:51 +0000
+++ b/sql/sql_plugin.cc	2010-04-01 20:05:09 +0000
@@ -388,6 +388,7 @@ static inline void free_plugin_mem(struc
   @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(st
 
   DBUG_RETURN(FALSE);
 }
+#endif HAVE_DLOPEN
 
 static st_plugin_dl *plugin_dl_add(const LEX_STRING *dl, int report)
 {