Lines Matching refs:H

101 	pdo_dblib_db_handle *H = S->H;  in pdo_dblib_stmt_cursor_closer()  local
104 dbcancel(H->link); in pdo_dblib_stmt_cursor_closer()
121 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_next_rowset() local
124 ret = dbresults(H->link); in pdo_dblib_stmt_next_rowset()
135 stmt->row_count = DBCOUNT(H->link); in pdo_dblib_stmt_next_rowset()
136 stmt->column_count = dbnumcols(H->link); in pdo_dblib_stmt_next_rowset()
144 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_execute() local
147 dbsetuserdata(H->link, (BYTE*) &S->err); in pdo_dblib_stmt_execute()
151 if (FAIL == dbcmd(H->link, stmt->active_query_string)) { in pdo_dblib_stmt_execute()
155 if (FAIL == dbsqlexec(H->link)) { in pdo_dblib_stmt_execute()
161 stmt->row_count = DBCOUNT(H->link); in pdo_dblib_stmt_execute()
162 stmt->column_count = dbnumcols(H->link); in pdo_dblib_stmt_execute()
174 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_fetch() local
176 ret = dbnextrow(H->link); in pdo_dblib_stmt_fetch()
193 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_describe() local
202 fname = (char*)dbcolname(H->link, colno+1); in pdo_dblib_stmt_describe()
210 col->maxlen = dbcollen(H->link, colno+1); in pdo_dblib_stmt_describe()
221 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_get_col() local
227 coltype = dbcoltype(H->link, colno+1); in pdo_dblib_stmt_get_col()
229 *len = dbdatlen(H->link, colno+1); in pdo_dblib_stmt_get_col()
230 *ptr = dbdata(H->link, colno+1); in pdo_dblib_stmt_get_col()
273 dbconvert(H->link, coltype, (BYTE*) *ptr, -1, SQLDATETIME, (LPBYTE) &dt, -1); in pdo_dblib_stmt_get_col()
274 dbdatecrack(H->link, &di, &dt); in pdo_dblib_stmt_get_col()
313 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_get_column_meta() local
322 dbtypeinfo = dbcoltypeinfo(H->link, colno+1); in pdo_dblib_stmt_get_column_meta()
326 add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) ); in pdo_dblib_stmt_get_column_meta()
329 add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1), 1); in pdo_dblib_stmt_get_column_meta()
330 …add_assoc_string(return_value, "native_type", pdo_dblib_get_field_name(dbcoltype(H->link, colno+1)… in pdo_dblib_stmt_get_column_meta()
331 add_assoc_long(return_value, "native_type_id", dbcoltype(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()
332 add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()