← Back to team overview

randgen team mailing list archive

[Bug 896877] [NEW] The two loops in Generator::FromGrammar->next() can be merged into one

 

Public bug reported:

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 .

** Affects: randgen
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Random
Query Generator Team, which is subscribed to Random Query Generator.
https://bugs.launchpad.net/bugs/896877

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

Status in SQL Generator for testing SQL servers (MySQL, JavaDB, PostgreSQL):
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/randgen/+bug/896877/+subscriptions


Follow ups

References