Hello I guess I've spotted a bug in MyDAC
It appears when you want to execute a query with QueryRecCount = True and within the query you have a 'LIMIT :start, :length'
If you have a 'LIMIT :length' only it will work. It does not work only with 'LIMIT :start, :length'
MyDAC bug when Executing query with QueryCount=True and query containing limit
-
GuzunNicolae
- Posts: 78
- Joined: Wed 17 Jan 2007 14:16
-
GuzunNicolae
- Posts: 78
- Joined: Wed 17 Jan 2007 14:16
When QueryRecCount = True a query with 'LIMIT:length' does not cause error, but the RecordCount property for this query will be set incorrect, because it is impossible to get record count for SELECT query with LIMIT clause before executing the query.
We will fix this behavior in the nearest future, so that the query with 'LIMIT :start, :length' will not provoke error, but you won’t be able to get record count.
We will fix this behavior in the nearest future, so that the query with 'LIMIT :start, :length' will not provoke error, but you won’t be able to get record count.
-
GuzunNicolae
- Posts: 78
- Joined: Wed 17 Jan 2007 14:16