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

Corrected gstat version info output.

This commit is contained in:
dimitr 2003-10-03 12:34:54 +00:00
parent 59015fdaa1
commit 4217ca2c49

View File

@ -475,6 +475,9 @@ int CLIB_ROUTINE main(int argc, char **argv)
name = str; name = str;
} }
if (sw_version)
dba_print(5, GDS_VERSION, 0, 0, 0, 0); /* msg 5: gstat version %s */
if (!name) { if (!name) {
#ifdef SUPERSERVER #ifdef SUPERSERVER
CMD_UTIL_put_svc_status(tddba->dba_service_blk->svc_status, CMD_UTIL_put_svc_status(tddba->dba_service_blk->svc_status,
@ -504,14 +507,9 @@ int CLIB_ROUTINE main(int argc, char **argv)
} }
} }
#endif #endif
if (sw_version)
dba_print(5, GDS_VERSION, 0, 0, 0, 0); /* msg 5: gstat version %s */
/* Open database and go to work */ /* Open database and go to work */
current = db_open((UCHAR*) name, strlen(name)); current = db_open((UCHAR*) name, strlen(name));
tddba->page_size = sizeof(temp); tddba->page_size = sizeof(temp);
tddba->global_buffer = (PAG) temp; tddba->global_buffer = (PAG) temp;