a_translate_log structure
Holds information needed for transaction log translation using the DBTools library.
Syntax
typedef struct
a_translate_log
ansi_sql a_bit_field
Set TRUE to produce ANSI standard SQL transactions.
chronological_order a_bit_field
Reserved; set to FALSE.
comment_trigger_trans a_bit_field
Set TRUE to include trigger-generated transactions as comments.
confirmrtn MSG_CALLBACK
Address of a confirmation request callback routine or NULL.
connectparms const char *
Parameters needed to connect to the database.
debug a_bit_field
Reserved; set to FALSE.
debug_dump_char a_bit_field
Reserved; set to FALSE.
debug_dump_hex a_bit_field
Reserved; set to FALSE.
debug_dump_size a_sql_uint32
Reserved, use 0.
debug_page_offsets a_bit_field
Reserved; set to FALSE.
debug_sql_remote a_bit_field
Reserved; set to FALSE.
encryption_key const char *
The encryption key for the database file. Equivalent to dbtran -ek option.
errorrtn MSG_CALLBACK
Address of an error message callback routine or NULL.
extra_audit a_bit_field
Reserved; set to FALSE.
force_chaining a_bit_field
Reserved; set to FALSE.
force_recovery a_bit_field
Reserved; set to FALSE.
generate_reciprocals a_bit_field
Reserved; set to FALSE.
include_audit a_bit_field
Reserved; set to FALSE.
include_destination_sets const char *
Reserved, use NULL.
include_publications const char *
Reserved, use NULL.
include_scan_range const char *
Reserved, use NULL.
include_source_sets const char *
Reserved, use NULL.
include_subsets a_bit_field
Reserved; set to FALSE.
include_tables const char *
Reserved, use NULL.
include_trigger_trans a_bit_field
Set TRUE to include trigger-generated transactions.
leave_output_on_error a_bit_field
Set TRUE to leave the generated SQL file if log error detected.
logname const char *
Name of the transaction log file. If NULL, there is no log.
logrtn MSG_CALLBACK
Address of a logging callback routine to write messages only to a log file or NULL.
logs_dir const char *
Transaction logs directory.
match_mode a_bit_field
Reserved; set to FALSE.
match_pos const char *
Reserved, use NULL.
msgrtn MSG_CALLBACK
Address of an information message callback routine or NULL.
omit_comments a_bit_field
Reserved; set to FALSE.
queueparms const char *
Reserved, use NULL.
quiet a_bit_field
Set to TRUE to operate without printing messages.
recovery_bytes a_sql_uint32
Reserved, use 0.
recovery_ops a_sql_uint32
Reserved, use 0.
remove_rollback a_bit_field
Set to FALSE if you want to include rollback transactions in output.
replace a_bit_field
Set TRUE to replace the SQL file without a confirmation.
repserver_users const char *
Reserved, use NULL.
show_undo a_bit_field
Reserved; set to FALSE.
since_checkpoint a_bit_field
Set TRUE for output from most recent checkpoint.
since_time a_sql_uint32
Output from most recent checkpoint before time.
sqlname const char *
Name of the SQL output file.
statusrtn MSG_CALLBACK
Address of a status message callback routine or NULL.
use_hex_offsets a_bit_field
Reserved; set to FALSE.
use_relative_offsets a_bit_field
Reserved; set to FALSE.
userlist p_name
A linked list of user names.
userlisttype char
Set to DBTRAN_INCLUDE_ALL unless you want to include or exclude a list of users.
version unsigned short
DBTools version number (DB_TOOLS_VERSION_NUMBER).
Parent topic:
Database Tools C API Reference
Created May 22, 2013. Send feedback on this help topic to Technical Publications:
pubs@sybase.com