I looked at the sources for these a while ago. As I recall it struck me the sql version had some extra stuff for no particularly good reason. At any rate, there are only 2 really minor differences that distinguish the two (a reflection on how well-thought out the layering in Monet is): 1. snprintf(buf, sizeof(buf), "include sql;\n" // <------ this is added from the MAL version to ensure the sql module is init'd "in := \"" PTRFMT "\":streams;\n" "out := \"" PTRFMT "\":streams;\n" "mapi.malclient(in, out);\n", PTRFMTCAST in, PTRFMTCAST out); 2. streams = mapi_embedded_init(&mid, "sql"); // <------ paramter changed from the MAL version (from mal to sql) Really they're quite trivial, you could easily do the same stuff in your code. The only challenging thing about that approach is going to be the make process. On Sun, Jan 10, 2010 at 8:17 PM, Guillaume Yziquel < guillaume.yziquel@citycable.ch> wrote:
Hello.
I've been looking at Debian packages, and the followig things struck me:
-1- You have two shared libraries: libembeddedsql.so and libembeddedmal.so which are distributed, but there's only headers for the *sql.so one. You have to write your own for the *mal.so one.
-2- In the source, there are two libembeddedclient.c.in files: one for sql, one for mal. The one for sql contains a monetdb_sql() function call. The one for mal does not. Is there a good reason for this? Or is it simply the way it currently is?
All the best,
-- Guillaume Yziquel http://yziquel.homelinux.org/
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users