Skip to content


DBAL-690: [GH-434] Fix row count retrieval for SELECT statements in SQL Anywhere driver #1912

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of deeky666:

Url: #434


The SQL Anywhere driver always tries to return the affected rows when calling SQLAnywhereStatement::rowCount(). This is okay for DML statments but always returns 0 for SELECT statements. This patch enables retrieving num rows for SELECT statements.
Also added a test that applies to all driver to ensure that they are all able to return the num rows of the resultset.


Comment created by @doctrinebot:

A related Github Pull-Request [GH-434] was closed:


Issue was closed with resolution "Won't Fix"

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.