Update of /cvsroot/monetdb/sql/src/server
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24180
Modified Files:
sql_atom.mx
Log Message:
use LL_CONSTANT macro to define constant values to help sparc/32-bits
compilation (error: integer constant is too large for 'long' type)
Index: sql_atom.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_atom.mx,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- sql_atom.mx 17 Feb 2010 09:56:24 -0000 1.71
+++ sql_atom.mx 18 Mar 2010 14:33:22 -0000 1.72
@@ -502,25 +502,25 @@
}
static lng scales[] = {
- 1,
- 10,
- 100,
- 1000,
- 10000,
- 100000,
- 1000000,
- 10000000,
- 100000000,
- 1000000000,
- 10000000000,
- 100000000000,
- 1000000000000,
- 10000000000000,
- 100000000000000,
- 1000000000000000,
- 10000000000000000,
- 100000000000000000,
- 1000000000000000000
+ LL_CONSTANT(1),
+ LL_CONSTANT(10),
+ LL_CONSTANT(100),
+ LL_CONSTANT(1000),
+ LL_CONSTANT(10000),
+ LL_CONSTANT(100000),
+ LL_CONSTANT(1000000),
+ LL_CONSTANT(10000000),
+ LL_CONSTANT(100000000),
+ LL_CONSTANT(1000000000),
+ LL_CONSTANT(10000000000),
+ LL_CONSTANT(100000000000),
+ LL_CONSTANT(1000000000000),
+ LL_CONSTANT(10000000000000),
+ LL_CONSTANT(100000000000000),
+ LL_CONSTANT(1000000000000000),
+ LL_CONSTANT(10000000000000000),
+ LL_CONSTANT(100000000000000000),
+ LL_CONSTANT(1000000000000000000)
};
/* cast atom a to type tp (success == 1, fail == 0) */
int
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins