Skip to content

Commit 6e6ae9d

Browse files
committed
Use sqlda from ib_query
1 parent 2f23b11 commit 6e6ae9d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ibase_query.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,11 @@ static int _php_ibase_bind_array(zval *val, char *buf, zend_ulong buf_size, /* {
557557
}
558558
/* }}} */
559559

560-
static int _php_ibase_bind(XSQLDA *sqlda, zval *b_vars, BIND_BUF *buf, /* {{{ */
561-
ibase_query *ib_query)
560+
static int _php_ibase_bind(ibase_query *ib_query, zval *b_vars) /* {{{ */
562561
{
563562
BIND_BUF *buf = ib_query->bind_buf;
563+
XSQLDA *sqlda = ib_query->in_sqlda;
564+
564565
int i, array_cnt = 0, rv = SUCCESS;
565566

566567
for (i = 0; i < sqlda->sqld; ++i) { /* bound vars */

0 commit comments

Comments
 (0)