File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -376,6 +376,7 @@ public function getData($utf8 = true)
376
376
$ command = $ this ->getCommand ();
377
377
$ command ->setOperation ($ utf8 ? 'dump_data_utf8 ' : 'dump_data ' );
378
378
if (!$ command ->execute ()) {
379
+ $ this ->_error = $ command ->getError ();
379
380
return false ;
380
381
} else {
381
382
$ this ->$ property = new InfoFields (trim ($ command ->getOutput ()));
@@ -397,6 +398,7 @@ public function getDataFields($utf8 = true)
397
398
$ command = $ this ->getCommand ();
398
399
$ command ->setOperation ($ utf8 ? 'dump_data_fields_utf8 ' : 'dump_data_fields ' );
399
400
if (!$ command ->execute ()) {
401
+ $ this ->_error = $ command ->getError ();
400
402
return false ;
401
403
} else {
402
404
$ this ->$ property = new DataFields (trim ($ command ->getOutput ()));
You can’t perform that action at this time.
0 commit comments