| 5170 | } |
| 5171 | |
| 5172 | int cdb2_snapshot_file(cdb2_hndl_tp *hndl, int *snapshot_file, |
| 5173 | int *snapshot_offset) |
| 5174 | { |
| 5175 | if (hndl == NULL) { |
| 5176 | (*snapshot_file) = -1; |
| 5177 | (*snapshot_offset) = -1; |
| 5178 | return -1; |
| 5179 | } |
| 5180 | |
| 5181 | (*snapshot_file) = hndl->snapshot_file; |
| 5182 | (*snapshot_offset) = hndl->snapshot_offset; |
| 5183 | return 0; |
| 5184 | } |
| 5185 | |
| 5186 | void cdb2_getinfo(cdb2_hndl_tp *hndl, int *intrans, int *hasql) |
| 5187 | { |