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

/PHP_TRUNK/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) /* {{{ */ 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_TRUNK/ext/mysqli/
H A Dmysqli.c158 php_error_docref(NULL, E_WARNING, "Error occurred while closing statement");
1033 constructor for statement object.
1044 char *statement; local
1060 if (zend_parse_parameters(2, "Os", &mysql_link, mysqli_link_class_entry, &statement, &statement_len)==FAILURE) {
1068 mysql_stmt_prepare(stmt->stmt, (char *)statement, statement_len);
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h222 zend_resource *parent_stmtid; /* parent statement id */
223 struct php_oci_statement *impres_child_stmt;/* child of current Implicit Result Set statement handle */
224 ub4 impres_count; /* count of remaining Implicit Result children on parent statement handle */
228 OCIStmt *stmt; /* statement handle */
229 char *last_query; /* last query issued. also used to determine if this is a statement or a refcursor received from Oracle */
236 unsigned executed:1; /* statement executed flag */
237 unsigned has_data:1; /* statement has more data flag */
238 unsigned has_descr:1; /* statement has at least one descriptor or cursor column */
239 ub2 stmttype; /* statement type */
249 OCIStmt *statement; /* use member in struct:__anon8
269 php_oci_statement *statement; /* statement handle. used when fetching REFCURSORS */ member in struct:__anon10
[all...]
H A Doci8.c1189 le_statement = zend_register_list_destructors_ex(php_oci_statement_list_dtor, NULL, "oci8 statement", module_number);
1492 php_oci_statement *statement = (php_oci_statement *)entry->ptr; local
1493 php_oci_statement_free(statement);
1716 * Compute offset in the SQL statement
1718 int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset) argument
1724 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err));
1727 statement->errcode = php_oci_error(statement->err, errstatus);
1728 PHP_OCI_HANDLE_ERROR(statement
2632 php_oci_statement *statement; /* statement that will be fetched from */ local
[all...]
H A Doci8_interface.c56 php_oci_statement *statement; local
69 PHP_OCI_ZVAL_TO_STATEMENT(stmt, statement);
71 if (statement->defines == NULL) {
72 ALLOC_HASHTABLE(statement->defines);
73 zend_hash_init(statement->defines, 13, NULL, php_oci_define_hash_dtor, 0);
75 else if (zend_hash_str_exists(statement->defines, (const char *)name, name_len)) {
81 /* if (zend_hash_add(statement->defines, name, name_len, define, sizeof(php_oci_define), (void **)&tmp_define) == SUCCESS) { */
83 if ((define = zend_hash_add_new_ptr(statement->defines, zvtmp, define)) != NULL) {
113 php_oci_statement *statement; local
123 PHP_OCI_ZVAL_TO_STATEMENT(z_statement, statement);
143 php_oci_statement *statement; local
1341 php_oci_statement *statement; local
1362 php_oci_statement *statement; local
1382 php_oci_statement *statement; local
1412 php_oci_statement *statement; local
1555 php_oci_statement *statement; local
1633 php_oci_statement *statement; local
1705 php_oci_statement *statement; local
1723 php_oci_statement *statement; local
1747 php_oci_statement *statement; local
2047 php_oci_statement *statement; local
2120 php_oci_statement *statement; local
2175 php_oci_statement *statement; local
2478 php_oci_statement *statement; local
[all...]
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);
128 php_oci_get_implicit_resultset(php_oci_statement *statement) argument
187 php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 prefetch ) argument
245 php_oci_statement_fetch(php_oci_statement *statement, ub4 nrows) argument
381 php_oci_statement_get_column(php_oci_statement *statement, zend_long column_index, char *column_name, int column_name_len) argument
480 php_oci_statement_execute(php_oci_statement *statement, ub4 mode) argument
850 php_oci_statement_cancel(php_oci_statement *statement) argument
858 php_oci_statement_free(php_oci_statement *statement) argument
1087 php_oci_bind_by_name(php_oci_statement *statement, char *name, size_t name_len, zval *var, zend_long maxlength, ub2 type) argument
1473 php_oci_statement *statement; local
1516 php_oci_statement_get_type(php_oci_statement *statement, ub2 *type) argument
1539 php_oci_statement_get_numrows(php_oci_statement *statement, ub4 *numrows) argument
1562 php_oci_bind_array_by_name(php_oci_statement *statement, char *name, size_t name_len, zval *var, zend_long max_table_length, zend_long maxlength, zend_long type) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_language_parser.y228 %type <ast> top_statement namespace_name name statement function_declaration_statement
308 statement { $$ = $1; }
404 statement { $$ = $1; }
415 statement: label
421 | T_DO statement T_WHILE '(' expr ')' ';'
445 | ';' /* empty statement */ { $$ = NULL; }
544 statement { $$ = $1; }
549 statement { $$ = $1; }
554 statement { $$ = $1; }
580 statement {
[all...]
H A Dzend_ini_parser.y285 statement_list statement
289 statement: label
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c410 pdo_raise_impl_error(dbh, NULL, "HY000", "user-supplied statement does not accept constructor arguments");
467 /* {{{ proto object PDO::prepare(string statement [, array options])
468 Prepares a statement for execution and returns a statement object */
472 char *statement; local
479 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|a", &statement,
502 "user-supplied statement class must be derived from PDOStatement");
508 "user-supplied statement class cannot have a public constructor");
533 "failed to instantiate user-supplied statement class"
542 stmt->query_string = estrndup(statement, statement_le
917 char *statement; local
1052 char *statement; local
[all...]

Completed in 33 milliseconds