Changeset: 061e3425bf6a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/061e3425bf6a
Modified Files:
sql/server/sql_scan.c
Branch: literal_features
Log Message:
fix some issues
diffs (20 lines):
diff --git a/sql/server/sql_scan.c b/sql/server/sql_scan.c
--- a/sql/server/sql_scan.c
+++ b/sql/server/sql_scan.c
@@ -977,7 +977,7 @@ static inline int check_validity_number(
assert(*token);
- switch (*token) {
+ switch (type) {
case BINARYNUM:
is_valid_n_ary_digit = &is_valid_binary_digit;
break;
@@ -1083,6 +1083,7 @@ number(mvc * c, int cur)
}
} else {
if (cur == '.') {
+ token = INTNUM;
cur = scanner_getc(lc);
if ((cur = check_validity_number(c, cur, false,
&token, INTNUM)) == EOF) return cur;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]