Go to the documentation of this file.00001 #ifndef KSM_DBSMSG_H
00002 #define KSM_DBSMSG_H
00003
00004
00005
00006 #define DBS_MIN_VALUE (DBS_BASE)
00007 #define DBS_MAX_VALUE (DBS_BASE + 15)
00008 #define DBS_ARRAY_SIZE (16)
00009
00010 static const char* d_messages[] = {
00011 "ERROR: failed to enable autocommit - %s",
00012 "ERROR: buffer overflow in %s",
00013 "ERROR: unable to connect to database - %s",
00014 "ERROR: could not initialize handle to database",
00015 "ERROR: invalid arguments to %s",
00016 "ERROR: invalid index of %d, maximum index is %d",
00017 "ERROR: no result obtained from query where one was expected",
00018 "ERROR: unable to get ID of last inserted row - no such row created?",
00019 "ERROR: not connected to the database",
00020 "INFO: not connected to the database",
00021 "ERROR: expected integer result from query, but obtained '%s' instead",
00022 "ERROR: error executing SQL - %s",
00023 "ERROR: unable to allocate prepared statement structure",
00024 "ERROR: unable to create prepared statement - %s",
00025 "WARNING: query '%s' returned too many rows, excess ignored",
00026 "ERROR: unexpected result from executing SQL statement '%s'",
00027
00028
00029
00030 NULL
00031 };
00032 #endif