-
-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token unknown error on formfeed in query [CORE5479] #5749
Comments
Modified by: @mrotteveelsecurity: Developers [ 10012 ] => |
Commented by: @asfernandes SQL standard: But Unicode is complex and has invisible characters that even tricks Java source code. How should we decide what to consider whitespaces? |
Al eliminar los espacios en blanco de un store procedure pude resolver. |
@Jhironsel Please post in English in the tracker. This ticket describes a bug in Firebird compared to the SQL standard, that Firebird doesn't consider the formfeed character as white space while it should. Your comment doesn't seem related to that problem (your statements contains normal spaces, 0x20, and works just fine in all. I can't reproduce an error with spaces between parameters, but if you have reproducible bug in a supported version (3.0, 4.0), then please create a separate ticket. |
@asfernandes I seem to have missed your comment back then. Your question is answered by section 4.2.4 Character repertoires of the SQL:2016 standard:
|
I have a Q: what about "U+000B, Vertical Tabulation" ? Can it be used as delimiter ? |
@pavel-zotov According to the quote from the standard (see above), it should be considered whitespace, yes. |
@pavel-zotov However, the change seems to have been specifically applied only for the formfeed character. |
Yes. And, because of this, QA test currently does not check u+000B. |
Submitted by: @mrotteveel
If a query contains a formfeed (\f or ASCII 0x0C), then Firebird produces the error:
Dynamic SQL Error; SQL error code = -104; Token unknown - line 3, column 1; [SQLState:42000, ISC error code:335544634]
(where the token is the formfeed character)
Instead a formfeed should be considered whitespace.
The text was updated successfully, but these errors were encountered: