Home
last modified time | relevance | path

Searched refs:out_sqlda (Results 1 – 5 of 5) sorted by relevance

/PHP-7.3/ext/interbase/
H A Dibase_query.c54 XSQLDA *out_sqlda; member
64 XSQLDA *in_sqlda, *out_sqlda; member
162 if (ib_query->out_sqlda) { in _php_ibase_free_query()
163 efree(ib_query->out_sqlda); in _php_ibase_free_query()
364 if (ib_query->out_sqlda->sqld > ib_query->out_sqlda->sqln) { in _php_ibase_alloc_query()
365 ib_query->out_sqlda = erealloc(ib_query->out_sqlda, XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_alloc_query()
366 ib_query->out_sqlda->sqln = ib_query->out_sqlda->sqld; in _php_ibase_alloc_query()
417 if (ib_query->out_sqlda) { in _php_ibase_alloc_query()
960 out_sqlda = res->out_sqlda = emalloc(XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_exec()
961 memcpy(out_sqlda, ib_query->out_sqlda, XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_exec()
[all …]
H A Dinterbase.c1416 XSQLDA out_sqlda; in PHP_FUNCTION() local
1436 out_sqlda.sqln = out_sqlda.sqld = 1; in PHP_FUNCTION()
1437 out_sqlda.version = SQLDA_CURRENT_VERSION; in PHP_FUNCTION()
1440 out_sqlda.sqlvar[0].sqltype = SQL_INT64; in PHP_FUNCTION()
1441 out_sqlda.sqlvar[0].sqlscale = 0; in PHP_FUNCTION()
1442 out_sqlda.sqlvar[0].sqllen = sizeof(result); in PHP_FUNCTION()
1443 out_sqlda.sqlvar[0].sqldata = (void*) &result; in PHP_FUNCTION()
1447 SQL_DIALECT_CURRENT, NULL, &out_sqlda)) { in PHP_FUNCTION()
/PHP-7.3/ext/pdo_firebird/
H A Dfirebird_driver.c115 S->out_sqlda.version = PDO_FB_SQLDA_VERSION; in firebird_handle_preparer()
116 S->out_sqlda.sqln = stmt->column_count = num_sqlda.sqld; in firebird_handle_preparer()
127 if (isc_dsql_describe(H->isc_status, &s, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { in firebird_handle_preparer()
179 XSQLDA in_sqlda, out_sqlda; in firebird_handle_doer() local
182 in_sqlda.version = out_sqlda.version = PDO_FB_SQLDA_VERSION; in firebird_handle_doer()
183 in_sqlda.sqld = out_sqlda.sqld = 0; in firebird_handle_doer()
184 out_sqlda.sqln = 1; in firebird_handle_doer()
187 if (!firebird_alloc_prepare_stmt(dbh, sql, sql_len, &out_sqlda, &stmt, 0)) { in firebird_handle_doer()
192 if (isc_dsql_execute2(H->isc_status, &H->tr, &stmt, PDO_FB_SQLDA_VERSION, &in_sqlda, &out_sqlda)) { in firebird_handle_doer()
363 XSQLDA *out_sqlda, isc_stmt_handle *s, HashTable *named_params) in firebird_alloc_prepare_stmt() argument
[all …]
H A Dfirebird_statement.c63 for (i = 0; i < S->out_sqlda.sqld; ++i) { in firebird_stmt_dtor()
79 free_sqlda(&S->out_sqlda); in firebird_stmt_dtor()
103 if (S->out_sqlda.sqld) { in firebird_stmt_execute()
105 for (i = 0; i < S->out_sqlda.sqld; i++) { in firebird_stmt_execute()
106 XSQLVAR *var = &S->out_sqlda.sqlvar[i]; in firebird_stmt_execute()
161 S->cursor_open = S->out_sqlda.sqln && (S->statement_type != isc_info_sql_stmt_exec_procedure); in firebird_stmt_execute()
162 S->exhausted = !S->out_sqlda.sqln; /* There are data to fetch */ in firebird_stmt_execute()
190 if (isc_dsql_fetch(H->isc_status, &S->stmt, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { in firebird_stmt_fetch()
209 XSQLVAR *var = &S->out_sqlda.sqlvar[colno]; in firebird_stmt_describe()
346 XSQLVAR const *var = &S->out_sqlda.sqlvar[colno]; in firebird_stmt_get_col()
[all …]
H A Dphp_pdo_firebird_int.h129 XSQLDA out_sqlda; /* last member */ member

Completed in 24 milliseconds