| 1063 | } |
| 1064 | |
| 1065 | void NBackup::internal_lock_database() |
| 1066 | { |
| 1067 | if (isc_start_transaction(status, &trans, 1, &newdb, 0, NULL)) |
| 1068 | pr_error(status, "start transaction"); |
| 1069 | if (isc_dsql_execute_immediate(status, &newdb, &trans, 0, "ALTER DATABASE BEGIN BACKUP", 1, NULL)) |
| 1070 | pr_error(status, "begin backup"); |
| 1071 | if (isc_commit_transaction(status, &trans)) |
| 1072 | pr_error(status, "begin backup: commit"); |
| 1073 | } |
| 1074 | |
| 1075 | void NBackup::cleanHistory() |
| 1076 | { |
nothing calls this directly
no test coverage detected