8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Fixed CORE-5447 - EXECUTE STATEMENT with a statement with "Unexpected end of command" error is reported with wrong column number.

This commit is contained in:
Adriano dos Santos Fernandes 2017-02-07 14:45:43 +00:00
parent 969ebaa30a
commit 00586d586d

View File

@ -97,7 +97,7 @@ Parser::Parser(thread_db* tdbb, MemoryPool& pool, DsqlCompilerScratch* aScratch,
yylexemes = 0; yylexemes = 0;
lex.start = string; lex.start = string;
lex.line_start = lex.ptr = string; lex.line_start = lex.last_token = lex.ptr = string;
lex.end = string + length; lex.end = string + length;
lex.lines = 1; lex.lines = 1;
lex.att_charset = characterSet; lex.att_charset = characterSet;