Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group