Changeset: 1e2a11f9d610 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1e2a11f9d610
Modified Files:
        
Branch: default
Log Message:

Merge with Oct2010 branch.
digits and scale are unsigned.


diffs (15 lines):

diff -r 75839a624507 -r 1e2a11f9d610 sql/src/common/sql_types.mx
--- a/sql/src/common/sql_types.mx       Sat Sep 18 23:11:21 2010 +0200
+++ b/sql/src/common/sql_types.mx       Mon Sep 20 09:25:00 2010 +0200
@@ -412,9 +412,9 @@
        char buf[BUFSIZ];
 
        if (t->digits && t->scale)
-               snprintf(buf, BUFSIZ, "%s(%d,%d)", t->type->sqlname, t->digits, 
t->scale);
+               snprintf(buf, BUFSIZ, "%s(%u,%u)", t->type->sqlname, t->digits, 
t->scale);
        else if (t->digits && t->type->radix != 2)
-               snprintf(buf, BUFSIZ, "%s(%d)", t->type->sqlname, t->digits);
+               snprintf(buf, BUFSIZ, "%s(%u)", t->type->sqlname, t->digits);
 
        else
                snprintf(buf, BUFSIZ, "%s", t->type->sqlname);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to