Skip to content

QueryInterceptor intercepts test query #188

@wilsongee

Description

@wilsongee

The test query SELECT 0 is being intercepted as both a prepared statement and a query.

It would be a nice to have if the test query was not intercepted, otherwise, our custom interceptors will need to build in logic to ignore it.

ConnectionFactory.kt@L82

            if (testCounter++.rem(2) == 0) {
                item.sendPreparedStatement("SELECT 0", emptyList(), true).map { item }
            } else {
                item.sendQuery("SELECT 0").map { item }
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions