26#include "kexidb/kexidb_export.h"
31#define ERR_NO_NAME_SPECIFIED 9
32#define ERR_DRIVERMANAGER 10
33#define ERR_INVALID_IDENTIFIER 11
34#define ERR_MISSING_DB_LOCATION 20
35#define ERR_ALREADY_CONNECTED 30
36#define ERR_NO_CONNECTION 40
37#define ERR_CONNECTION_FAILED 41
38#define ERR_CLOSE_FAILED 42
39#define ERR_NO_DB_USED 43
40#define ERR_OBJECT_EXISTS 50
41#define ERR_OBJECT_THE_SAME 51
42#define ERR_OBJECT_NOT_FOUND 60
43#define ERR_ACCESS_RIGHTS 70
44#define ERR_TRANSACTION_ACTIVE 80
45#define ERR_NO_TRANSACTION_ACTIVE 81
46#define ERR_NO_DB_PROPERTY 90
47#define ERR_DB_SPECIFIC 100
48#define ERR_CURSOR_NOT_OPEN 110
49#define ERR_SINGLE_DB_NAME_MISMATCH 120
50#define ERR_CURSOR_RECORD_FETCHING 130
51#define ERR_UNSUPPORTED_DRV_FEATURE 140
52#define ERR_ROLLBACK_OR_COMMIT_TRANSACTION 150
53#define ERR_SYSTEM_NAME_RESERVED 160
55#define ERR_CANNOT_CREATE_EMPTY_OBJECT 170
57#define ERR_INVALID_DRIVER_IMPL 180
58#define ERR_INCOMPAT_DRIVER_VERSION 181
59#define ERR_INCOMPAT_DATABASE_VERSION 182
61#define ERR_INVALID_DATABASE_CONTENTS 183
65#define ERR_UPDATE_NULL_PKEY_FIELD 190
66#define ERR_UPDATE_SERVER_ERROR 191
67#define ERR_UPDATE_NO_MASTER_TABLE 192
69#define ERR_UPDATE_NO_MASTER_TABLES_PKEY 193
72#define ERR_UPDATE_NO_ENTIRE_MASTER_TABLES_PKEY 194
77#define ERR_INSERT_NULL_PKEY_FIELD 220
78#define ERR_INSERT_SERVER_ERROR 221
79#define ERR_INSERT_NO_MASTER_TABLE 222
81#define ERR_INSERT_NO_MASTER_TABLES_PKEY 223
83#define ERR_INSERT_NO_ENTIRE_MASTER_TABLES_PKEY 224
88#define ERR_DELETE_NULL_PKEY_FIELD 250
89#define ERR_DELETE_SERVER_ERROR 251
90#define ERR_DELETE_NO_MASTER_TABLE 252
92#define ERR_DELETE_NO_MASTER_TABLES_PKEY 253
94#define ERR_DELETE_NO_ENTIRE_MASTER_TABLES_PKEY 254
99#define ERR_SQL_EXECUTION_ERROR 260
101#define ERR_SQL_PARSE_ERROR 270
103#define ERR_OTHER 0xffff
116 allowToDiscardChanges = false;
122 allowToDiscardChanges = false;
bool success result of the operation, true by default
int column faulty column, -1 (the default) means: there is no faulty column
TQString desc error message and detailed description, both empty by default
bool allowToDiscardChanges True if changes can be discarded, false by default If true, additional "Discard changes" messagebox b...
High-level database connectivity library with database backend drivers.
|