-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Sending nextRow to a MySQLResultsSet gives a MNU error on the send of removeFirst due to the result of MySQLCommandQuery>>readRowData being an Array. Test case (where c is a connected MySQLDriver):
c query: 'drop table if exists rows_test'.
c query: 'create table rows_test (i integer)'.
r := c prepare: 'insert into rows_test(i) values(?)'.
s := (MySQLDriverStatement onConnection: c) stmtId: r prepareOkay stmtHandlerId; cursoredFetch: false; yourself.
1 to: 5 do: [ :i | s addBinding: i; execute].
results := c query: 'select * from rows_test'.
results nextRow "ERROR: Instance of Array did not understand #removeFirst"
Could be fixed by modifying MySQLCommandQuery>>readRowData to return an OrderedCollection, or having nextRow stream over the results.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels