mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
add TOKUDB error
git-svn-id: file:///svn/tokudb@2942 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
c8d01cded2
commit
6a3cabd62c
1 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,10 @@ void print_db_notices (void) {
|
||||||
|
|
||||||
#define dodefine(name) printf("#define %s %d\n", #name, name)
|
#define dodefine(name) printf("#define %s %d\n", #name, name)
|
||||||
|
|
||||||
|
enum {
|
||||||
|
TOKUDB_OUT_OF_LOCKS = -100000,
|
||||||
|
};
|
||||||
|
|
||||||
void print_defines (void) {
|
void print_defines (void) {
|
||||||
printf("#ifndef _TOKUDB_WRAP_H\n");
|
printf("#ifndef _TOKUDB_WRAP_H\n");
|
||||||
dodefine(DB_VERB_DEADLOCK);
|
dodefine(DB_VERB_DEADLOCK);
|
||||||
|
@ -120,7 +124,12 @@ void print_defines (void) {
|
||||||
dodefine(DB_TXN_NOWAIT);
|
dodefine(DB_TXN_NOWAIT);
|
||||||
dodefine(DB_TXN_SYNC);
|
dodefine(DB_TXN_SYNC);
|
||||||
|
|
||||||
|
|
||||||
printf("#endif\n");
|
printf("#endif\n");
|
||||||
|
|
||||||
|
/* TOKUDB specific error codes*/
|
||||||
|
printf("/* TOKUDB specific error codes */\n");
|
||||||
|
dodefine(TOKUDB_OUT_OF_LOCKS);
|
||||||
}
|
}
|
||||||
|
|
||||||
//#define DECL_LIMIT 100
|
//#define DECL_LIMIT 100
|
||||||
|
|
Loading…
Add table
Reference in a new issue