Holds the information needed to perform dblog tasks using the DBTools library.
typedef struct a_change_log
Member name | Type | Description |
---|---|---|
change_logname |
a_bit_field |
Set TRUE to permit changing of the transaction log name. Set TRUE by dblog -n or -t option. |
change_mirrorname |
a_bit_field |
Set TRUE to permit changing of the mirror log name. Set TRUE by dblog -m, -n, or -r option. |
dbname |
const char * |
Database file name. |
encryption_key |
char * |
The encryption key for the database file. Equivalent to dblog -ek or -ep option. |
errorrtn |
MSG_CALLBACK |
Address of an error message callback routine or NULL. |
generation_number |
unsigned short |
The new generation number. Reserved, use zero. |
ignore_dbsync_trunc |
a_bit_field |
When using dbmlsync, resets the offset kept for the delete_old_logs option, allowing transaction logs to be deleted when they are no longer needed. Set TRUE by dblog -is option. |
ignore_ltm_trunc |
a_bit_field |
Reserved, use FALSE. |
ignore_remote_trunc |
a_bit_field |
For SQL Remote. Resets the offset kept for the delete_old_logs option, allowing transaction logs to be deleted when they are no longer needed. Set TRUE by dblog -ir option. |
logname |
const char * |
Transaction log file name, or NULL if there is no log. |
mirrorname |
const char * |
The new name of the transaction log mirror file. Equivalent to dblog -m option. |
msgrtn |
MSG_CALLBACK |
Address of an information message callback routine or NULL. |
query_only |
a_bit_field |
If 1, just display the name of the transaction log. If 0, permit changing of the log name. |
quiet |
a_bit_field |
Operate without printing messages. Set TRUE by dblog -q option. |
set_generation_number |
a_bit_field |
Reserved. Use FALSE. |
version |
unsigned short |
DBTools version number (DB_TOOLS_VERSION_NUMBER). |
zap_current_offset |
char * |
Change the current offset to the specified value. This is for use only in resetting a transaction log after an unload and reload to match dbremote or dbmlsync settings. Equivalent to dblog -x option. |
zap_starting_offset |
char * |
Change the starting offset to the specified value. This is for use only in resetting a transaction log after an unload and reload to match dbremote or dbmlsync settings. Equivalent to dblog -z option. |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |