Lines Matching refs:H
57 if (isc_dsql_free_statement(S->H->isc_status, &S->stmt, DSQL_drop)) { in firebird_stmt_dtor()
90 pdo_firebird_db_handle *H = S->H; in firebird_stmt_execute() local
97 …if ((*S->name || S->cursor_open) && isc_dsql_free_statement(H->isc_status, &S->stmt, DSQL_close)) { in firebird_stmt_execute()
103 if (isc_dsql_execute(H->isc_status, &H->tr, &S->stmt, PDO_FB_SQLDA_VERSION, S->in_sqlda)) { in firebird_stmt_execute()
117 if (isc_dsql_sql_info(H->isc_status, &S->stmt, sizeof ( info_count), in firebird_stmt_execute()
137 if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_stmt_execute()
159 pdo_firebird_db_handle *H = S->H; in firebird_stmt_fetch() local
163 H->last_app_error = "Cannot fetch from a closed cursor"; in firebird_stmt_fetch()
165 if (isc_dsql_fetch(H->isc_status, &S->stmt, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { in firebird_stmt_fetch()
166 if (H->isc_status[0] && H->isc_status[1]) { in firebird_stmt_fetch()
195 colname_len = (S->H->fetch_table_names && var->relname_length) in firebird_stmt_describe()
225 pdo_firebird_db_handle *H = S->H; in firebird_fetch_blob() local
232 if (isc_open_blob(H->isc_status, &H->db, &H->tr, &blobh, blob_id)) { in firebird_fetch_blob()
237 if (isc_blob_info(H->isc_status, &blobh, 1, const_cast(&bl_item), in firebird_fetch_blob()
250 H->last_app_error = "Couldn't determine BLOB size"; in firebird_fetch_blob()
277 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); in firebird_fetch_blob()
282 if (H->isc_status[0] == 1 && (stat != 0 && stat != isc_segstr_eof && stat != isc_segment)) { in firebird_fetch_blob()
283 H->last_app_error = "Error reading from BLOB"; in firebird_fetch_blob()
290 if (isc_close_blob(H->isc_status, &blobh)) { in firebird_fetch_blob()
386 fmt = S->H->date_format ? S->H->date_format : PDO_FB_DEF_DATE_FMT; in firebird_stmt_get_col()
390 fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT; in firebird_stmt_get_col()
394 fmt = S->H->timestamp_format ? S->H->timestamp_format : PDO_FB_DEF_TIMESTAMP_FMT; in firebird_stmt_get_col()
414 pdo_firebird_db_handle *H = S->H; in firebird_bind_blob() local
420 if (isc_create_blob(H->isc_status, &H->db, &H->tr, &h, blob_id)) { in firebird_bind_blob()
433 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) { in firebird_bind_blob()
443 if (isc_close_blob(H->isc_status, &h)) { in firebird_bind_blob()
463 S->H->last_app_error = "Invalid parameter index"; in firebird_stmt_param_hook()
489 S->H->last_app_error = "Invalid parameter name"; in firebird_stmt_param_hook()
523 S->H->last_app_error = "Cannot bind to array field"; in firebird_stmt_param_hook()
573 S->H->last_app_error = "Parameter requires non-null value"; in firebird_stmt_param_hook()
580 S->H->last_app_error = "Binding arrays/objects is not supported"; in firebird_stmt_param_hook()
643 if (isc_dsql_set_cursor_name(S->H->isc_status, &S->stmt, Z_STRVAL_P(val),0)) { in firebird_stmt_set_attribute()
678 …if ((*S->name || S->cursor_open) && isc_dsql_free_statement(S->H->isc_status, &S->stmt, DSQL_close… in firebird_stmt_cursor_closer()