Lines Matching refs:H
96 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_cursor_closer() local
99 dbcancel(H->link); in pdo_dblib_stmt_cursor_closer()
101 pdo_dblib_err_dtor(&H->err); in pdo_dblib_stmt_cursor_closer()
120 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_next_rowset_no_cancel() local
125 ret = dbresults(H->link); in pdo_dblib_stmt_next_rowset_no_cancel()
126 num_fields = dbnumcols(H->link); in pdo_dblib_stmt_next_rowset_no_cancel()
127 } while (H->skip_empty_rowsets && num_fields <= 0 && ret == SUCCEED); in pdo_dblib_stmt_next_rowset_no_cancel()
139 if (H->skip_empty_rowsets && num_fields <= 0) { in pdo_dblib_stmt_next_rowset_no_cancel()
143 stmt->row_count = DBCOUNT(H->link); in pdo_dblib_stmt_next_rowset_no_cancel()
152 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_next_rowset() local
159 ret = dbnextrow(H->link); in pdo_dblib_stmt_next_rowset()
173 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_execute() local
175 dbsetuserdata(H->link, (BYTE*) &S->err); in pdo_dblib_stmt_execute()
179 if (FAIL == dbcmd(H->link, ZSTR_VAL(stmt->active_query_string))) { in pdo_dblib_stmt_execute()
183 if (FAIL == dbsqlexec(H->link)) { in pdo_dblib_stmt_execute()
189 stmt->row_count = DBCOUNT(H->link); in pdo_dblib_stmt_execute()
190 stmt->column_count = dbnumcols(H->link); in pdo_dblib_stmt_execute()
202 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_fetch() local
204 ret = dbnextrow(H->link); in pdo_dblib_stmt_fetch()
221 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_describe() local
234 fname = (char*)dbcolname(H->link, colno+1); in pdo_dblib_stmt_describe()
252 col->maxlen = dbcollen(H->link, colno+1); in pdo_dblib_stmt_describe()
260 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_should_stringify_col() local
296 if (H->datetime_convert) { in pdo_dblib_stmt_should_stringify_col()
346 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_get_col() local
353 coltype = dbcoltype(H->link, colno+1); in pdo_dblib_stmt_get_col()
354 data = dbdata(H->link, colno+1); in pdo_dblib_stmt_get_col()
355 data_len = dbdatlen(H->link, colno+1); in pdo_dblib_stmt_get_col()
387 dbconvert(H->link, coltype, data, -1, SQLDATETIME, (LPBYTE) &dt, -1); in pdo_dblib_stmt_get_col()
388 dbdatecrack(H->link, &di, (DBDATETIME *) &dt); in pdo_dblib_stmt_get_col()
435 if (H->stringify_uniqueidentifier) { in pdo_dblib_stmt_get_col()
467 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_get_column_meta() local
477 dbtypeinfo = dbcoltypeinfo(H->link, colno+1); in pdo_dblib_stmt_get_column_meta()
481 coltype = dbcoltype(H->link, colno+1); in pdo_dblib_stmt_get_column_meta()
483 add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) ); in pdo_dblib_stmt_get_column_meta()
486 add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()
489 add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()