dart-drivers / mysql

MySQL Connector for Dart
Other
99 stars 38 forks source link

PB: query.executeMulti Mysql 5.5.24 SQLJOCKY 0.8.1 #29

Closed brunoleguernic closed 11 years ago

brunoleguernic commented 11 years ago

When i run the sample:an error occurs: prepared query 1 Uncaught Error: MySQL Client Error: Connection #0 cannot process a request for Instance of '_ExecuteQueryHandler@0xf04aefa' while a request is already in progress for Instance of '_ExecuteQueryHandler@0xf04aefa' Stack Trace:

0 _Connection.processHandler (package:sqljocky/src/connection.dart:178:7)

1 Query._execute (package:sqljocky/src/query.dart:112:37)

2 Query.executeMulti..executeQuery (package:sqljocky/src/query.dart:139:19)

3 Query.executeMulti..executeQuery. (package:sqljocky/src/query.dart:144:29)

4 _Future._propagateToListeners. (dart:async/future_impl.dart:453)

5 _rootRun (dart:async/zone.dart:683)

6 _RootZone.run (dart:async/zone.dart:823)

7 _Future._propagateToListeners (dart:async/future_impl.dart:445)

8 _Future._complete (dart:async/future_impl.dart:303)

9 _Future._asyncComplete. (dart:async/future_impl.dart:354)

10 _asyncRunCallback (dart:async/schedule_microtask.dart:18)

11 _createTimer. (dart:async-patch/timer_patch.dart:11)

12 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:151)

13 _Timer._createTimerHandler. (timer_impl.dart:166)

14 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)

My version of dart is: Dart Editor version 1.0.0_r30188 (STABLE) Dart SDK version 1.0.0.3_r30188

jamesots commented 11 years ago

Fixed in v0.8.3