You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John N Underwood (JIRA)" <ji...@apache.org> on 2018/09/20 19:13:00 UTC

[jira] [Created] (GROOVY-8804) Sql.rows(gstring) fails while Sql.rows(string) works

John N Underwood created GROOVY-8804:
----------------------------------------

             Summary: Sql.rows(gstring) fails while Sql.rows(string) works
                 Key: GROOVY-8804
                 URL: https://issues.apache.org/jira/browse/GROOVY-8804
             Project: Groovy
          Issue Type: Bug
          Components: SQL processing
    Affects Versions: 2.5.2, 3.0.0-alpha-3, 2.6.0-alpha-4, 2.4.15
            Reporter: John N Underwood


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

I have created a sample program which demonstrates the behavior at https://github.com/jnunderwood/groovy-sql-test



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)