isutton/CocoaSQL — Issue #1: [CSQLResultCallback alloc] but no -init?
Author: martijnthe
Created: 2012-02-19 21:22:09+00:00
State: open

In `-[CSMySQLDatabase fetchRowsAsDictionariesWithSQL:andValues:error:]` (line 208) and `-[CSMySQLDatabase fetchRowsAsArraysWithSQL:andValues:error:]` (line 223), instances of `CSQLResultCallback` get allocated, but not initialized.

What is the idea here? Some kind of performance optimization?

These methods don't seem to work right now because of this.
Because the 'callback' object is not initialized, the internal rows array does not get created, thus the results are not gathered inside the 'callback' object.