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

/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.h191 mssql_statement * statement; member in struct:mssql_result
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...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c159 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error occurred while closing statement");
1038 constructor for statement object.
1049 char *statement; local
1065 if (zend_parse_parameters(2 TSRMLS_CC, "Os", &mysql_link, mysqli_link_class_entry, &statement, &statement_len)==FAILURE) {
1073 mysql_stmt_prepare(stmt->stmt, (char *)statement, statement_len);
/PHP_TRUNK/ext/oci8/
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) {
78 if ((tmp_define = zend_hash_add_new_ptr(statement->defines, zend_string_init(name, name_len, 0), define)) != NULL) {
107 php_oci_statement *statement; local
117 PHP_OCI_ZVAL_TO_STATEMENT(z_statement, statement);
119 if (php_oci_bind_by_name(statement, nam
137 php_oci_statement *statement; local
1321 php_oci_statement *statement; local
1342 php_oci_statement *statement; local
1362 php_oci_statement *statement; local
1392 php_oci_statement *statement; local
1529 php_oci_statement *statement; local
1603 php_oci_statement *statement; local
1676 php_oci_statement *statement; local
1694 php_oci_statement *statement; local
1718 php_oci_statement *statement; local
2018 php_oci_statement *statement; local
2089 php_oci_statement *statement; local
2144 php_oci_statement *statement; local
2447 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);
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, zend_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, zend_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, zend_long max_table_length, zend_long maxlength, zend_long type TSRMLS_DC) argument
[all...]
H A Dphp_oci8_int.h215 zend_resource *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:__anon144
262 php_oci_statement *statement; /* statement handle. used when fetching REFCURSORS */ member in struct:__anon146
[all...]
H A Doci8.c1196 le_statement = zend_register_list_destructors_ex(php_oci_statement_list_dtor, NULL, "oci8 statement", module_number);
1498 php_oci_statement *statement = (php_oci_statement *)entry->ptr; local
1499 php_oci_statement_free(statement TSRMLS_CC);
1725 * Compute offset in the SQL statement
1727 int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset TSRMLS_DC) argument
1733 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err));
1736 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC);
1737 PHP_OCI_HANDLE_ERROR(statement
2643 php_oci_statement *statement; /* statement that will be fetched from */ local
[all...]
/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 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_TRUNK/ext/pdo/
H A Dpdo_dbh.c416 pdo_raise_impl_error(dbh, NULL, "HY000", "user-supplied statement does not accept constructor arguments" TSRMLS_CC);
476 Prepares a statement for execution and returns a statement object */
480 char *statement; local
487 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|a", &statement,
510 "user-supplied statement class must be derived from PDOStatement" TSRMLS_CC);
516 "user-supplied statement class cannot have a public constructor" TSRMLS_CC);
540 "failed to instantiate user-supplied statement class"
548 stmt->query_string = estrndup(statement, statement_len);
558 if (dbh->methods->preparer(dbh, statement, statement_le
923 char *statement; local
1058 char *statement; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ini_parser.y281 statement_list statement
285 statement: label
H A Dzend_language_parser.y234 %type <ast> top_statement namespace_name name statement function_declaration_statement
285 statement { $$ = $1; }
339 statement { $$ = $1; }
348 statement: label
354 | T_DO statement T_WHILE '(' expr ')' ';'
378 | ';' /* empty statement */ { $$ = NULL; }
464 statement { $$ = $1; }
469 statement { $$ = $1; }
474 statement { $$ = $1; }
500 statement {
[all...]

Completed in 19 milliseconds