8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 09:23:03 +01:00

-Remove GDS_VAL and GDS_REF

This commit is contained in:
brodsom 2003-09-12 16:49:38 +00:00
parent 665f77deb7
commit 08ef0025ea

View File

@ -131,12 +131,12 @@ int stats_fetch(SLONG *status_vector, int **db_handle, STATS *stats_ptr)
STATS stats;
SSHORT length, item;
if (gds__database_info(GDS_VAL(status_vector),
GDS_VAL(db_handle),
sizeof(info_request),
info_request,
sizeof(info_buffer),
info_buffer)) return status_vector[1];
if (gds__database_info(status_vector, db_handle, sizeof(info_request),
info_request, sizeof(info_buffer),
info_buffer))
{
return status_vector[1];
}
if (stats = *stats_ptr)
zap_longs(stats->stats_counts, stats->stats_count * ITEM_count);
@ -208,7 +208,7 @@ int stats_print(int **db_handle, int **tr_handle, STATS before, STATS after)
SLONG init;
if (request_handle && database_handle != *db_handle)
gds__release_request(gds__status, GDS_REF(request_handle));
gds__release_request(gds__status, &request_handle);
db = database_handle = *db_handle;
gds__trans = *tr_handle;