Skip to content

Commit 84716d4

Browse files
author
Rahul Priyadarshi
committed
allow NULL
1 parent 4d98c51 commit 84716d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_execute_many.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ if ($conn) {
4848
array(50, 'Hanes'),
4949
array(55, ),
5050
array('60', 'invalid row'),
51-
array( 65, 'Quigley') );
51+
array( 65, 'Quigley'),
52+
array( 70, NULL));
5253

5354
$effected_rows = db2_execute_many($stmt_insert, $params);
5455

@@ -74,4 +75,4 @@ int(40)
7475
string(6) "OBrien"
7576
ERROR 1: Value parameters array 2 has less number of parameteres
7677
ERROR 2: Value parameters array 3 is not homogeneous with privious parameters array
77-
Number of effected rows are: 2
78+
Number of effected rows are: 3

0 commit comments

Comments
 (0)