Update of /cvsroot/monetdb/clients/src/python/Cimpl
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25530/Cimpl
Modified Files:
Tag: Clients_1-20
CMapi.py
Log Message:
also pass the dbname to mapi.init and Cmapi.mapi_connect
Index: CMapi.py
===================================================================
RCS file: /cvsroot/monetdb/clients/src/python/Cimpl/CMapi.py,v
retrieving revision 1.4.2.4
retrieving revision 1.4.2.5
diff -u -d -r1.4.2.4 -r1.4.2.5
--- CMapi.py 25 Oct 2007 08:02:04 -0000 1.4.2.4
+++ CMapi.py 31 Oct 2007 07:12:50 -0000 1.4.2.5
@@ -21,8 +21,8 @@
import MapiLib
class Mapi:
- def __init__(self, host = None, port = 0, username = None, password =
None, lang = None):
- self.__mid = MapiLib.mapi_connect(host, int(port), username, password,
lang, None)
+ def __init__(self, host = None, port = 0, username = None, password =
None, lang = None, dbname = None):
+ self.__mid = MapiLib.mapi_connect(host, int(port), username, password,
lang, dbname)
if not self.__mid:
raise IOError("Creating connection structure failed")
if self.error():
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins