Update of /cvsroot/monetdb/sql/src/storage
In directory sc8-pr-cvs16:/tmp/cvs-serv31503

Modified Files:
        sql_storage.h 
Log Message:
All the features supported for functions are now supported for procedures. 
However, procedure and functions differ in two aspects (well, maybe one):
Procedure do not have return type and no return statements in their 
runtime_body.

A new field to the struct sql_func was added to simply the distinguish between t
hem and also to help in the dependencies check.



Index: sql_storage.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/sql_storage.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- sql_storage.h       28 Apr 2007 11:19:33 -0000      1.38
+++ sql_storage.h       3 May 2007 23:31:55 -0000       1.39
@@ -63,7 +63,7 @@
 
 extern sql_type *sql_trans_create_type(sql_trans *tr, sql_schema * s, char 
*sqlname, int digits, int scale, int radix, char *impl);
 
-extern sql_func *sql_trans_create_func(sql_trans *tr, sql_schema * s, char 
*func, list *args, sql_subtype *res, bit sql, bit aggr, char *mod, char *impl);
+extern sql_func *sql_trans_create_func(sql_trans *tr, sql_schema * s, char 
*func, list *args, sql_subtype *res, bit sql, bit aggr, char *mod, char *impl, 
int is_func);
 
 extern void sql_trans_drop_func(sql_trans *tr, sql_schema *s, int id, int 
drop_action);
 extern void sql_trans_drop_all_func(sql_trans *tr, sql_schema *s, list 
*list_func, int drop_action);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to