pgsql: Fix bugs in the isolation tester flex rules.
pgsql: Fix bugs in the isolation tester flex rules.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Fix bugs in the isolation tester flex rules. Tom Lane pointed out that it was giving a warning: "-s option given but default rule can be matched". That was because there was no rule to handle newline in a quoted string. I made that throw an error. Also, line number tracking was broken, giving incorrect line number on error. Fixed that too. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/74a09d92101f36a5fe66f4f74253708931546e4c Modified Files -------------- src/test/isolation/specscanner.l | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-)