Update of /cvsroot/monetdb/sql/src/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22843

Modified Files:
        sql_catalog.h 
Log Message:
cleanup of scale fixing in functions



U sql_catalog.h
Index: sql_catalog.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/include/sql_catalog.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- sql_catalog.h       5 Jun 2008 09:23:04 -0000       1.57
+++ sql_catalog.h       20 Jun 2008 20:56:08 -0000      1.58
@@ -197,27 +197,28 @@
 
        char *imp;
        char *mod;
-       list *ops;              /* param list */
+       list *ops;      /* param list */
        sql_subtype res;
-       /* res.scale
-          SCALE_NOFIX/SCALE_NONE => nothing
-          SCALE_FIX => input scale fixing,
-          SCALE_ADD => leave inputs as is and do add scales
-          example numerical multiplication
-          SCALE_SUB => first input scale, fix with second scale
-          result scale is equal to first input
-          example numerical division
-          DIGITS_ADD => result digits, sum of args
-          example string concat
-        */
        int nr;
        int is_func;
-       int sql;                /* 0 native implementation
-                                  1 sql 
-                                  2 sql instantiated proc 
-                               */
+       int sql;        /* 0 native implementation
+                          1 sql 
+                          2 sql instantiated proc 
+                       */
        int aggr;
        int side_effect;
+       int fix_scale;          
+                       /*
+                          SCALE_NOFIX/SCALE_NONE => nothing
+                          SCALE_FIX => input scale fixing,
+                          SCALE_ADD => leave inputs as is and do add scales
+                          example numerical multiplication
+                          SCALE_SUB => first input scale, fix with second scale
+                          result scale is equal to first input
+                          example numerical division
+                          DIGITS_ADD => result digits, sum of args
+                          example string concat
+                       */
        sql_schema *s;
 } sql_func;
 


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

Reply via email to