Update of /cvsroot/monetdb/sql/src/common
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22708/src/common
Modified Files:
Tag: SQL_2-16
sql_backend.mx
Log Message:
all mil tests now get HAVE_MONETDB4 conditional
removed backend_interpret (not needed anymore)
fixed 2 leaks in m5/sql
1) in str_cast (obvious unused/not freed GDKmalloc)
2) when destroying functions from the cache we no also correctly
cleanup the stack
Index: sql_backend.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/common/sql_backend.mx,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -u -d -r1.24 -r1.24.2.1
--- sql_backend.mx 3 Jan 2007 12:39:44 -0000 1.24
+++ sql_backend.mx 21 Feb 2007 10:06:39 -0000 1.24.2.1
@@ -55,7 +55,6 @@
typedef struct _backend_functions {
freestack_fptr fstack;
freecode_fptr fcode;
- interpret_fptr finterpret;
create_user_fptr fcuser;
drop_user_fptr fduser;
find_user_fptr ffuser;
@@ -68,7 +67,6 @@
extern void backend_init(backend_functions *funcs);
extern void backend_freestack(backend_stack stk);
extern void backend_freecode(backend_code code, backend_stack stk, int nr,
char *name);
-extern void backend_interpret(backend_stack stk, char *code);
extern char *backend_create_user(list *l, char *user, char *passwd, char
*fullname, sqlid defschemid, sqlid grantor);
extern int backend_drop_user(ptr mvc, char *user);
@@ -110,14 +108,6 @@
be_funcs->fcode(code, stk, nr, name);
}
-void
-backend_interpret(backend_stack stk, char *code)
-{
- assert(be_funcs != NULL);
- if (be_funcs->finterpret != NULL)
- be_funcs->finterpret(stk, code);
-}
-
char *
backend_create_user(list *l, char *user, char *passwd, char *fullname, sqlid
defschemid, sqlid grantor)
{
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins