SQL Generator for testing SQL servers (MySQL, JavaDB, PostgreSQL)

The two loops in Generator::FromGrammar->next() can be merged into one

Reported by Philip Stoev on 2011-11-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Random Query Generator
Undecided
Unassigned

Bug Description

The two loops in Generator::FromGrammar->next() can be merged into one to that the query string is generated in its final form in just a single pass.

The second loop can be simplified by removing the exceptions for "letter" and fixing the handling of quotes .

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers