pgsql: Fix bugs in the isolation tester flex rules.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bugs in the isolation tester flex rules.
Date: 2011-03-10 07:07:13
Message-ID: E1PxZxp-0003hf-Pa@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2011-03-10 11:25:01 Re: pgsql: Added new version of ecpg's parser generator script. This one wa
Previous Message Itagaki Takahiro 2011-03-10 06:24:00 pgsql: Cleanup copyright years and file names in the header comments of