Skip to content

Commit 70f516d

Browse files
committed
Make default value more explicit
1 parent 5256798 commit 70f516d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/oci8/oci8_interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ PHP_FUNCTION(oci_fetch_all)
12741274
zval **outarrs;
12751275
ub4 nrows = 1;
12761276
int i;
1277-
zend_long rows = 0, flags = PHP_OCI_FETCHSTATEMENT_BY_COLUMN, skip = 0, maxrows = -1;
1277+
zend_long rows = 0, flags = PHP_OCI_FETCHSTATEMENT_BY_COLUMN | PHP_OCI_ASSOC, skip = 0, maxrows = -1;
12781278

12791279
ZEND_PARSE_PARAMETERS_START(2, 5)
12801280
Z_PARAM_RESOURCE(z_statement)

0 commit comments

Comments
 (0)