Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in August and this forum will be retired.

In the ASA 12 dbtools.h, it appears that two enum identifiers are missing? a_db_version and a_chkpt_log_type

Under ASA 11 dbtools.h, you had this...

typedef enum {
    BACKUP_CHKPT_LOG_COPY = 0,
    BACKUP_CHKPT_LOG_NOCOPY,
    BACKUP_CHKPT_LOG_RECOVER,
    BACKUP_CHKPT_LOG_AUTO,
    BACKUP_CHKPT_LOG_DEFAULT
} a_chkpt_log_type;
typedef enum {
    VERSION_UNKNOWN,
    VERSION_PRE_10,
    VERSION_10,
    VERSION_11
} a_db_version;

Under ASA12 you get this....

enum {
    BACKUP_CHKPT_LOG_COPY = 0,
    BACKUP_CHKPT_LOG_NOCOPY,
    BACKUP_CHKPT_LOG_RECOVER,
    BACKUP_CHKPT_LOG_AUTO,
    BACKUP_CHKPT_LOG_DEFAULT
};

enum {
    VERSION_UNKNOWN = 0,
    VERSION_PRE_10 = 9,
    VERSION_10 = 10,
    VERSION_11 = 11,
    VERSION_12 = 12
};

Am I missing somthing? I have ASA 12.00.00.2483 Thanks. Jerry

asked 05 Dec '12, 09:42

JerryY's gravatar image

JerryY
31334
accept rate: 0%

edited 05 Dec '12, 11:13

Jeff%20Albion's gravatar image

Jeff Albion
10.8k171175


This is correct. These structures are also documented differently between version 11 and 12:

You will also notice in the version 12 documentation there are other enumerations:

permanent link

answered 05 Dec '12, 11:39

Jeff%20Albion's gravatar image

Jeff Albion
10.8k171175
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×15

question asked: 05 Dec '12, 09:42

question was seen: 1,960 times

last updated: 05 Dec '12, 11:39