File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4802,6 +4802,7 @@ static int mariadb_st_describe(SV* sth, imp_sth_t* imp_sth)
4802
4802
case MYSQL_TYPE_NULL :
4803
4803
buffer -> buffer_length = 0 ;
4804
4804
buffer -> buffer = NULL ;
4805
+ break ;
4805
4806
4806
4807
case MYSQL_TYPE_TINY :
4807
4808
buffer -> buffer_length = sizeof (fbh -> numeric_val .tval );
@@ -5378,8 +5379,10 @@ int mariadb_st_finish(SV* sth, imp_sth_t* imp_sth) {
5378
5379
D_imp_xxh (sth );
5379
5380
D_imp_dbh_from_sth ;
5380
5381
5381
- if (imp_dbh -> async_query_in_flight ) {
5382
- mariadb_db_async_result (sth , & imp_sth -> result );
5382
+ if (imp_dbh -> async_query_in_flight )
5383
+ {
5384
+ if (mariadb_db_async_result (sth , & imp_sth -> result ) == (my_ulonglong )- 1 )
5385
+ return 0 ;
5383
5386
}
5384
5387
5385
5388
if (DBIc_TRACE_LEVEL (imp_xxh ) >= 2 )
You can’t perform that action at this time.
0 commit comments