List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:July 25 2007 2:17pm
Subject:Rev 125: Added ndbglobals to perl to fix build issue. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 125
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Wed 2007-07-25 07:16:35 -0700
message:
  Added ndbglobals to perl to fix build issue.
modified:
  perl/mgmapi.i                  mgmapi.i-20070415084702-pjs702i1rleb6otl-1
  perl/ndbapi.i                  ndb.i-20070225155255-5ief7aicto319mbu-1
=== modified file 'perl/mgmapi.i'
--- a/perl/mgmapi.i	2007-04-15 09:56:16 +0000
+++ b/perl/mgmapi.i	2007-07-25 14:16:35 +0000
@@ -25,4 +25,5 @@
 #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
 %}
 
-%include "Mgm.i"
+%include "mgmglobals.i"
+%include "NdbMgm.i"

=== modified file 'perl/ndbapi.i'
--- a/perl/ndbapi.i	2007-05-08 18:32:56 +0000
+++ b/perl/ndbapi.i	2007-07-25 14:16:35 +0000
@@ -1,6 +1,25 @@
+// -*- mode: c++ -*-
+/*  ndb-connectors: Wrappers for the NDBAPI
+    Copyright (C) 2006 MySQL, Inc.
+    
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or 
+    (at your option) any later version.
+    
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
 %module "mysql::cluster::ndbapi"
 
-%include "globals.i"
+%include "ndbglobals.i"
 %{
 
 #define NDB_exception(excp, msg) do { sv_setpvf(GvSV(PL_errgv),#excp " %s\n", msg);
SWIG_fail; } while (0)
@@ -27,15 +46,17 @@
 
 
 %include "../swig/Ndb.i"
+%include "NdbDictionary.i"
 %include "NdbTransaction.i"
 %include "perl_extend_ndbtransaction_async.i"
 %include "NdbOperation.i"
 %include "NdbScanOperation.i"
 %include "NdbIndexOperation.i"
 %include "NdbIndexScanOperation.i"
+%include "NdbEventOperation.i"
 %include "perl_ndbrecattr_typemap.i" 
 %include "NdbRecAttr.i"
 %include "perl_extend_ndbrecattr.i"
 %include "NdbError.i"
 %include "NdbBlob.i"
-%include "NdbDictionary.i"
+%include "NdbScanFilter.i"

Thread
Rev 125: Added ndbglobals to perl to fix build issue. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor25 Jul