Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 483 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 483 Bytes

groovy-sql-test

Simple groovy program which demonstrates a possible bug with groovy Sql.

Details

Calling sql.rows(string) works while calling sql.rows(gstring) returns an empty result set. This indicates a possible bug in the protected method groovy.sql.Sql.asSql().

The behavior is the same under groovy version 2.4.15, 2.5.2, 2.6.0-alpha-4, and 3.0.0-alpha-3 all running under OpenJDK Java 8.0.181-zulu.

Run this program by simply calling groovy sqlTest.groovy.