StatementImpl::Columns() should simply return 0 if mOutRow isn't assigned. There is nothing wrong with querying the number of rows from any prepared statement.
The same applies to StatementImpl::Parameters(). There is also some inconsistency in the getters, some test whether the statement has been prepared, some don't.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The same applies to StatementImpl::Parameters(). There is also some inconsistency in the getters, some test whether the statement has been prepared, some don't.
Agreed.