Changeset: 3921f6b9a787 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3921f6b9a787
Modified Files:
sql/server/sql_scan.c
Branch: Dec2025
Log Message:
Remove premature utf-8 check.
diffs (14 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
@@ -888,8 +888,8 @@ scanner_string(mvc *c, int quote, bool e
const size_t yycur = rs->pos + lc->yycur;
while (cur != EOF && (quote != '"' || cur != 0xFEFF) && pos <
limit &&
- (((cur = rs->buf[yycur + pos++]) & 0x80) == 0) &&
- cur && (cur != quote || escape)) {
+ (cur = rs->buf[yycur + pos++]) != 0 &&
+ (cur != quote || escape)) {
if (escapes && cur == '\\')
escape = !escape;
else
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]