Update of /cvsroot/monetdb/sql/src/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4764/src/include
Modified Files:
sql_catalog.h
Log Message:
For avg we now always first change to doubles.
With this we can now rewrite all 'avg's into sum/cnt.
approved slight rounding changes
approved output after changes on the optimizers
approved tests which changed because of number of default functions changed
U sql_catalog.h
Index: sql_catalog.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/include/sql_catalog.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- sql_catalog.h 7 Jan 2009 14:19:29 -0000 1.63
+++ sql_catalog.h 4 Jun 2009 20:27:54 -0000 1.64
@@ -76,8 +76,8 @@
#define SCALE_FIX 1 /* many numerical functions require equal
scales/precision for all their inputs */
#define SCALE_NOFIX 2
-#define SCALE_ADD 3 /* multiplication gives the sum of scales */
-#define SCALE_SUB 4 /* on the other hand reduces the scales */
+#define SCALE_MUL 3 /* multiplication gives the sum of scales */
+#define SCALE_DIV 4 /* div on the other hand reduces the scales */
#define DIGITS_ADD 5 /* some types grow under functions (concat) */
#define INOUT 6 /* output type equals input type */
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins