Searched defs:statement (Results 1 - 11 of 11) sorted by relevance

/PHP_5_6/ext/mssql/
H A Dphp_mssql.c345 mssql_statement *statement = (mssql_statement *)rsrc->ptr; local
347 if (statement->binds) {
348 zend_hash_destroy(statement->binds);
349 efree(statement->binds);
352 efree(statement);
441 le_statement = zend_register_list_destructors_ex(_free_mssql_statement, NULL, "mssql statement", module_number);
1138 static void _mssql_get_sp_result(mssql_link *mssql_ptr, mssql_statement *statement TSRMLS_DC)
1152 if (statement->binds != NULL) { /* Maybe a non-parameter sp */
1153 if (zend_hash_find(statement->binds, parameter, strlen(parameter), (void**)&bind)==SUCCESS) {
1195 if (statement
1979 mssql_statement *statement; local
2020 mssql_statement *statement; local
2122 mssql_statement *statement; local
2208 mssql_statement *statement; local
[all...]
H A Dphp_mssql.h191 mssql_statement * statement; member in struct:mssql_result
/PHP_5_6/ext/pdo_odbc/
H A Dodbc_driver.c59 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line TSRMLS_DC) /* {{{ */ argument
77 if (statement == SQL_NULL_HSTMT && S) {
78 statement = S->stmt;
81 if (statement) {
83 eh = statement;
239 /* If SQLExecDirect executes a searched update or delete statement that
/PHP_5_6/ext/oci8/
H A Doci8_statement.c48 php_oci_statement *statement; local
53 statement = ecalloc(1,sizeof(php_oci_statement));
57 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NULL));
60 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NULL));
66 &(statement->stmt),
78 DTRACE_OCI8_SQLTEXT(connection, connection->client_id, statement, query);
85 PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, OCI_STRLS_CACHE_DELETE));
86 PHP_OCI_CALL(OCIHandleFree,(statement->err, OCI_HTYPE_ERROR));
88 efree(statement);
186 php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 prefetch TSRMLS_DC) argument
244 php_oci_statement_fetch(php_oci_statement *statement, ub4 nrows TSRMLS_DC) argument
380 php_oci_statement_get_column(php_oci_statement *statement, long column_index, char *column_name, int column_name_len TSRMLS_DC) argument
480 php_oci_statement_execute(php_oci_statement *statement, ub4 mode TSRMLS_DC) argument
1082 php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, long maxlength, ub2 type TSRMLS_DC) argument
1438 php_oci_statement *statement; local
1481 php_oci_statement_get_type(php_oci_statement *statement, ub2 *type TSRMLS_DC) argument
1504 php_oci_statement_get_numrows(php_oci_statement *statement, ub4 *numrows TSRMLS_DC) argument
1527 php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, long max_table_length, long maxlength, long type TSRMLS_DC) argument
[all...]
H A Dphp_oci8_int.h215 int parent_stmtid; /* parent statement id */
216 struct php_oci_statement *impres_child_stmt;/* child of current Implicit Result Set statement handle */
217 ub4 impres_count; /* count of remaining Implicit Result children on parent statement handle */
221 OCIStmt *stmt; /* statement handle */
222 char *last_query; /* last query issued. also used to determine if this is a statement or a refcursor received from Oracle */
229 unsigned executed:1; /* statement executed flag */
230 unsigned has_data:1; /* statement has more data flag */
231 unsigned has_descr:1; /* statement has at least one descriptor or cursor column */
232 ub2 stmttype; /* statement type */
242 OCIStmt *statement; /* use member in struct:__anon8
262 php_oci_statement *statement; /* statement handle. used when fetching REFCURSORS */ member in struct:__anon10
[all...]
H A Doci8.c1196 le_statement = zend_register_list_destructors_ex(php_oci_statement_list_dtor, NULL, "oci8 statement", module_number);
1495 php_oci_statement *statement = (php_oci_statement *)entry->ptr; local
1496 php_oci_statement_free(statement TSRMLS_CC);
1722 * Compute offset in the SQL statement
1724 int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset TSRMLS_DC) argument
1730 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err));
1733 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC);
1734 PHP_OCI_HANDLE_ERROR(statement
2635 php_oci_statement *statement; /* statement that will be fetched from */ local
[all...]
H A Doci8_interface.c56 php_oci_statement *statement; local
68 PHP_OCI_ZVAL_TO_STATEMENT(stmt, statement);
70 if (statement->defines == NULL) {
71 ALLOC_HASHTABLE(statement->defines);
72 zend_hash_init(statement->defines, 13, NULL, php_oci_define_hash_dtor, 0);
77 if (zend_hash_add(statement->defines, name, name_len, define, sizeof(php_oci_define), (void **)&tmp_define) == SUCCESS) {
106 php_oci_statement *statement; local
116 PHP_OCI_ZVAL_TO_STATEMENT(z_statement, statement);
118 if (php_oci_bind_by_name(statement, name, name_len, bind_var, maxlen, bind_type TSRMLS_CC)) {
136 php_oci_statement *statement; local
1320 php_oci_statement *statement; local
1341 php_oci_statement *statement; local
1361 php_oci_statement *statement; local
1390 php_oci_statement *statement; local
1532 php_oci_statement *statement; local
1606 php_oci_statement *statement; local
1677 php_oci_statement *statement; local
1695 php_oci_statement *statement; local
1719 php_oci_statement *statement; local
2019 php_oci_statement *statement; local
2090 php_oci_statement *statement; local
2145 php_oci_statement *statement; local
2450 php_oci_statement *statement; local
[all...]
/PHP_5_6/ext/pdo/
H A Dpdo_dbh.c436 pdo_raise_impl_error(dbh, NULL, "HY000", "user-supplied statement does not accept constructor arguments" TSRMLS_CC);
498 Prepares a statement for execution and returns a statement object */
503 char *statement; local
508 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|a", &statement,
531 "user-supplied statement class must be derived from PDOStatement" TSRMLS_CC);
537 "user-supplied statement class cannot have a public constructor" TSRMLS_CC);
561 "failed to instantiate user-supplied statement class"
569 stmt->query_string = estrndup(statement, statement_len);
580 if (dbh->methods->preparer(dbh, statement, statement_le
945 char *statement; local
1078 char *statement; local
[all...]
/PHP_5_6/ext/mysqli/
H A Dmysqli.c165 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error occurred while closing statement");
1032 constructor for statement object.
1043 char *statement; local
1059 if (zend_parse_parameters(2 TSRMLS_CC, "Os", &mysql_link, mysqli_link_class_entry, &statement, &statement_len)==FAILURE) {
1067 mysql_stmt_prepare(stmt->stmt, (char *)statement, statement_len);
/PHP_5_6/Zend/
H A Dzend_language_parser.y237 statement { zend_verify_namespace(TSRMLS_C); }
300 statement
307 statement: label
314 | T_IF parenthesis_expr { zend_do_if_cond(&$2, &$1 TSRMLS_CC); } statement { zend_do_if_after_statement(&$1, 1 TSRMLS_CC); } elseif_list else_single { zend_do_if_end(TSRMLS_C); }
317 | T_DO { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_do_while_begin(TSRMLS_C); } statement T_WHILE { $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr ';' { zend_do_do_while_end(&$1, &$4, &$6 TSRMLS_CC); }
351 | ';' /* empty statement */
478 statement
484 statement
490 statement
523 statement
[all...]
H A Dzend_ini_parser.y277 statement_list statement
281 statement: label

Completed in 20 milliseconds