Holds information needed for transaction log truncation using the DBTools library.
typedef struct a_truncate_log { unsigned short version; const char * connectparms; MSG_CALLBACK errorrtn; MSG_CALLBACK msgrtn; a_bit_field quiet : 1; a_bit_field server_backup : 1; char truncate_interrupted; } a_truncate_log; |
Member | Description | ||||||
---|---|---|---|---|---|---|---|
version | DBTools version number. | ||||||
connectparms |
Parameters needed to connect to the database. They take the form of connection strings, such as the following:
The database server would be started by the connection string START parameter. For example:
A full example connection string including the START parameter:
For a list of connection parameters, see Connection parameters. |
||||||
errorrtn | Callback routine for handling an error message. | ||||||
msgrtn | Callback routine for handling an information message. | ||||||
quiet | Operate without printing messages (1), or print messages (0). | ||||||
server_backup | When set to 1, indicates backup on server using BACKUP DATABASE. Equivalent to dbbackup -s option. | ||||||
truncate_interrupted | Indicates that the operation was interrupted. |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |