Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2804/src/gdk

Modified Files:
        gdk_atoms.mx 
Log Message:
made @1FromStr less stricked it now allows for '.', ie in sql 
you can now load decimal data into a interger column


Index: gdk_atoms.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_atoms.mx,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- gdk_atoms.mx        15 Oct 2007 15:27:05 -0000      1.135
+++ gdk_atoms.mx        11 Dec 2007 19:04:51 -0000      1.136
@@ -1534,7 +1534,7 @@
                        if (*p++ == '-')
                                sign = -1;
                }
-               if (!num10(*p)) {
+               if (!num10(*p) && *p != '.') {
                        error = 1;
                        p = src;
                }


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to