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)
48024802 case MYSQL_TYPE_NULL :
48034803 buffer -> buffer_length = 0 ;
48044804 buffer -> buffer = NULL ;
4805+ break ;
48054806
48064807 case MYSQL_TYPE_TINY :
48074808 buffer -> buffer_length = sizeof (fbh -> numeric_val .tval );
@@ -5378,8 +5379,10 @@ int mariadb_st_finish(SV* sth, imp_sth_t* imp_sth) {
53785379 D_imp_xxh (sth );
53795380 D_imp_dbh_from_sth ;
53805381
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 ;
53835386 }
53845387
53855388 if (DBIc_TRACE_LEVEL (imp_xxh ) >= 2 )
You can’t perform that action at this time.
0 commit comments