mysql.dart
mysql.dart copied to clipboard
Error handling blob/longblog data
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: FormatException: Unexpected extension byte (at offset 0)
#0 MySQLConnection.execute.<anonymous closure> (package:mysql_client_plus/src/mysql_client/connection.dart:642:47)
connection.dart:642
#1 MySQLConnection._processCommandResponse (package:mysql_client_plus/src/mysql_client/connection.dart:445:23)
connection.dart:445
#2 MySQLConnection._processSocketData (package:mysql_client_plus/src/mysql_client/connection.dart:279:7)
connection.dart:279
#3 MySQLConnection.connect.<anonymous closure> (package:mysql_client_plus/src/mysql_client/connection.dart:127:9)
connection.dart:127
#4 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
zone.dart:1594
#5 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365:11)
stream_impl.dart:365
#6 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297:7)
stream_impl.dart:297
#7 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784:19)
stream_controller.dart:784
#8 _StreamController._add (dart:async/stream_controller.dart:658:7)
stream_controller.dart:658
#9 _StreamController.add (dart:async/stream_controller.dart:606:5)
stream_controller.dart:606
#10 _Socket._onData (dart:io-patch/socket_patch.dart:2455:41)
socket_patch.dart:2455
#11 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
zone.dart:1594
#12 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365:11)
stream_impl.dart:365
#13 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297:7)
stream_impl.dart:297
#14 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784:19)
stream_controller.dart:784
#15 _StreamController._add (dart:async/stream_controller.dart:658:7)
stream_controller.dart:658
#16 _StreamController.add (dart:async/stream_controller.dart:606:5)
stream_controller.dart:606
#17 new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1942:33)
socket_patch.dart:1942
#18 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1385:14)
socket_patch.dart:1385
#19 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
schedule_microtask.dart:40
#20 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
schedule_microtask.dart:49