Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23677

Modified Files:
        sql.mx 
Log Message:
The interaction with the sql backend requires a little more work.


U sql.mx
Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.308
retrieving revision 1.309
diff -u -d -r1.308 -r1.309
--- sql.mx      7 Jan 2009 14:19:28 -0000       1.308
+++ sql.mx      8 Jan 2009 12:25:41 -0000       1.309
@@ -1392,11 +1392,18 @@
 str
 mvc_getVersion(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci)
 {
+/*
+       The SQL database version should be retrievalble without
+       a client specific sql context. It is called by the MAL
+       workers.
        mvc *m = NULL;
        str msg = getContext(cntxt,mb, &m, NULL);
+*/
        lng *version = (lng*) getArgReference(stk,pci,0);
+       (void) cntxt;
+       (void) mb;
        *version = -1; /* TO BECOME PRECISE */
-       return msg;
+       return MAL_SUCCEED;
 }
 
 /* str mvc_restart_seq(lng *res, str *sname, str *seqname, lng *start); */


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to