| 1098 | } |
| 1099 | |
| 1100 | void NBackup::get_database_size() |
| 1101 | { |
| 1102 | db_size_pages = 0; |
| 1103 | const char fs[] = {isc_info_db_file_size}; |
| 1104 | char res[128]; |
| 1105 | if (isc_database_info(status, &newdb, sizeof(fs), fs, sizeof(res), res)) |
| 1106 | { |
| 1107 | pr_error(status, "size info"); |
| 1108 | } |
| 1109 | else if (res[0] == isc_info_db_file_size) |
| 1110 | { |
| 1111 | USHORT len = isc_vax_integer (&res[1], 2); |
| 1112 | db_size_pages = isc_vax_integer (&res[3], len); |
| 1113 | } |
| 1114 | } |
| 1115 | |
| 1116 | void NBackup::get_ods() |
| 1117 | { |
nothing calls this directly
no test coverage detected