Skip to content

Commit 30b33cf

Browse files
committed
Test method $dbh->selectall_array() in t/89async-method-check.t test
This method is available in DBI since version 1.635.
1 parent a29d797 commit 30b33cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/89async-method-check.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ table_info column_info primary_key_info primary_key
3030
foreign_key_info statistics_info tables quote
3131
/;
3232

33+
push @db_unsafe_methods, 'selectall_array' if DBI::db->can('selectall_array');
34+
3335
my @st_safe_methods = qw/
3436
fetchrow_arrayref fetch fetchrow_array fetchrow_hashref
3537
fetchall_arrayref fetchall_hashref finish rows
@@ -54,6 +56,7 @@ my %dbh_args = (
5456
selectrow_array => ['SELECT 1'],
5557
selectrow_arrayref => ['SELECT 1'],
5658
selectrow_hashref => ['SELECT 1'],
59+
selectall_array => ['SELECT 1'],
5760
selectall_arrayref => ['SELECT 1'],
5861
selectall_hashref => ['SELECT 1', '1'],
5962
selectcol_arrayref => ['SELECT 1'],

0 commit comments

Comments
 (0)