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()
113 …if (isc_dsql_execute2(H->isc_status, &H->tr, &S->stmt, PDO_FB_SQLDA_VERSION, S->in_sqlda, &S->out_… in firebird_stmt_execute()
116 } else if (isc_dsql_execute(H->isc_status, &H->tr, &S->stmt, PDO_FB_SQLDA_VERSION, S->in_sqlda)) { in firebird_stmt_execute()
130 if (isc_dsql_sql_info(H->isc_status, &S->stmt, sizeof ( info_count), in firebird_stmt_execute()
150 if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_stmt_execute()
172 pdo_firebird_db_handle *H = S->H; in firebird_stmt_fetch() local
176 H->last_app_error = "Cannot fetch from a closed cursor"; in firebird_stmt_fetch()
183 if (isc_dsql_fetch(H->isc_status, &S->stmt, PDO_FB_SQLDA_VERSION, &S->out_sqlda)) { in firebird_stmt_fetch()
184 if (H->isc_status[0] && H->isc_status[1]) { in firebird_stmt_fetch()
206 colname_len = (S->H->fetch_table_names && var->relname_length) in firebird_stmt_describe()
252 pdo_firebird_db_handle *H = S->H; in firebird_fetch_blob() local
259 if (isc_open_blob(H->isc_status, &H->db, &H->tr, &blobh, blob_id)) { in firebird_fetch_blob()
264 if (isc_blob_info(H->isc_status, &blobh, 1, const_cast(&bl_item), in firebird_fetch_blob()
277 H->last_app_error = "Couldn't determine BLOB size"; in firebird_fetch_blob()
304 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); in firebird_fetch_blob()
309 if (H->isc_status[0] == 1 && (stat != 0 && stat != isc_segstr_eof && stat != isc_segment)) { in firebird_fetch_blob()
310 H->last_app_error = "Error reading from BLOB"; in firebird_fetch_blob()
317 if (isc_close_blob(H->isc_status, &blobh)) { in firebird_fetch_blob()
421 fmt = S->H->date_format ? S->H->date_format : PDO_FB_DEF_DATE_FMT; in firebird_stmt_get_col()
425 fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT; in firebird_stmt_get_col()
429 fmt = S->H->timestamp_format ? S->H->timestamp_format : PDO_FB_DEF_TIMESTAMP_FMT; in firebird_stmt_get_col()
449 pdo_firebird_db_handle *H = S->H; in firebird_bind_blob() local
456 if (isc_create_blob(H->isc_status, &H->db, &H->tr, &h, blob_id)) { in firebird_bind_blob()
470 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL(data)[put_cnt])) { in firebird_bind_blob()
482 if (isc_close_blob(H->isc_status, &h)) { in firebird_bind_blob()
502 S->H->last_app_error = "Invalid parameter index"; in firebird_stmt_param_hook()
528 S->H->last_app_error = "Invalid parameter name"; in firebird_stmt_param_hook()
582 S->H->last_app_error = "Cannot bind to array field"; in firebird_stmt_param_hook()
590 S->H->last_app_error = "Parameter requires non-null value"; in firebird_stmt_param_hook()
642 S->H->last_app_error = "Parameter requires non-null value"; in firebird_stmt_param_hook()
649 S->H->last_app_error = "Binding arrays/objects is not supported"; in firebird_stmt_param_hook()
719 if (isc_dsql_set_cursor_name(S->H->isc_status, &S->stmt, Z_STRVAL_P(val),0)) { in firebird_stmt_set_attribute()
754 …if ((*S->name || S->cursor_open) && isc_dsql_free_statement(S->H->isc_status, &S->stmt, DSQL_close… in firebird_stmt_cursor_closer()