From: Date: October 29 2008 3:07pm Subject: bzr commit into mysql-5.1 branch (tomas.ulin:2711) Bug#40346 List-Archive: http://lists.mysql.com/commits/57319 X-Bug: 40346 Message-Id: <20081029140751.ED7055D837B@linux.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/tomas/mysql_src/cge-6.2-global-schema-lock/ 2711 Tomas Ulin 2008-10-29 Bug#40346 - correction for embedded modified: sql/ha_ndbcluster_binlog.h === modified file 'sql/ha_ndbcluster_binlog.h' --- a/sql/ha_ndbcluster_binlog.h 2008-10-29 13:09:15 +0000 +++ b/sql/ha_ndbcluster_binlog.h 2008-10-29 14:07:35 +0000 @@ -147,8 +147,13 @@ private: }; extern Ndb_cluster_connection* g_ndb_cluster_connection; +#ifdef HAVE_NDB_BINLOG void ndbcluster_global_schema_lock_init(); void ndbcluster_global_schema_lock_deinit(); +#else +inline void ndbcluster_global_schema_lock_init() {} +inline void ndbcluster_global_schema_lock_deinit() {} +#endif #ifdef HAVE_NDB_BINLOG extern pthread_t ndb_binlog_thread;