⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constants.h

📁 MySQL数据库开发源码 值得一看哦
💻 H
📖 第 1 页 / 共 5 页
字号:
    /*                    ^              */#ifdef DB_LOG_LOCKED      *iv_return = DB_LOG_LOCKED;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_REGISTERED", 13)) {    /*                    ^              */#ifdef DB_REGISTERED      *iv_return = DB_REGISTERED;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'I':    if (memEQ(name, "DB_INIT_MPOOL", 13)) {    /*                    ^              */#ifdef DB_INIT_MPOOL      *iv_return = DB_INIT_MPOOL;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'M':    if (memEQ(name, "DB_QAMVERSION", 13)) {    /*                    ^              */#ifdef DB_QAMVERSION      *iv_return = DB_QAMVERSION;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'N':    if (memEQ(name, "DB_DONOTINDEX", 13)) {    /*                    ^              */#ifdef DB_DONOTINDEX      *iv_return = DB_DONOTINDEX;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_TXNVERSION", 13)) {    /*                    ^              */#ifdef DB_TXNVERSION      *iv_return = DB_TXNVERSION;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_TXN_NOSYNC", 13)) {    /*                    ^              */#ifdef DB_TXN_NOSYNC      *iv_return = DB_TXN_NOSYNC;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_TXN_NOWAIT", 13)) {    /*                    ^              */#ifdef DB_TXN_NOWAIT      *iv_return = DB_TXN_NOWAIT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'O':    if (memEQ(name, "DB_MPOOL_LAST", 13)) {    /*                    ^              */#ifdef DB_MPOOL_LAST      *iv_return = DB_MPOOL_LAST;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_NOORDERCHK", 13)) {    /*                    ^              */#ifdef DB_NOORDERCHK      *iv_return = DB_NOORDERCHK;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'P':    if (memEQ(name, "DB_REP_CLIENT", 13)) {    /*                    ^              */#ifdef DB_REP_CLIENT      *iv_return = DB_REP_CLIENT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_REP_MASTER", 13)) {    /*                    ^              */#ifdef DB_REP_MASTER      *iv_return = DB_REP_MASTER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'Q':    if (memEQ(name, "DB_SEQUENTIAL", 13)) {    /*                    ^              */#ifdef DB_SEQUENTIAL      *iv_return = DB_SEQUENTIAL;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'R':    if (memEQ(name, "DB_BTREEMAGIC", 13)) {    /*                    ^              */#ifdef DB_BTREEMAGIC      *iv_return = DB_BTREEMAGIC;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_DIRECT_LOG", 13)) {    /*                    ^              */#ifdef DB_DIRECT_LOG      *iv_return = DB_DIRECT_LOG;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_DIRTY_READ", 13)) {    /*                    ^              */#ifdef DB_DIRTY_READ      *iv_return = DB_DIRTY_READ;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_VERIFY_BAD", 13)) {    /*                    ^              */#ifdef DB_VERIFY_BAD      *iv_return = DB_VERIFY_BAD;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'S':    if (memEQ(name, "DB_HASHOLDVER", 13)) {    /*                    ^              */#ifdef DB_HASHOLDVER      *iv_return = DB_HASHOLDVER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_SYSTEM_MEM", 13)) {    /*                    ^              */#ifdef DB_SYSTEM_MEM      *iv_return = DB_SYSTEM_MEM;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'T':    if (memEQ(name, "DB_MUTEXDEBUG", 13)) {    /*                    ^              */#ifdef DB_MUTEXDEBUG      *iv_return = DB_MUTEXDEBUG;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_MUTEXLOCKS", 13)) {    /*                    ^              */#ifdef DB_MUTEXLOCKS      *iv_return = DB_MUTEXLOCKS;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'V':    if (memEQ(name, "DB_ENV_CREATE", 13)) {    /*                    ^              */#ifdef DB_ENV_CREATE      *iv_return = DB_ENV_CREATE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_ENV_NOMMAP", 13)) {    /*                    ^              */#ifdef DB_ENV_NOMMAP      *iv_return = DB_ENV_NOMMAP;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_ENV_THREAD", 13)) {    /*                    ^              */#ifdef DB_ENV_THREAD      *iv_return = DB_ENV_THREAD;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'W':    if (memEQ(name, "DB_RDWRMASTER", 13)) {    /*                    ^              */#ifdef DB_RDWRMASTER      *iv_return = DB_RDWRMASTER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'X':    if (memEQ(name, "DB_NEXT_NODUP", 13)) {    /*                    ^              */#ifdef DB_NEXT_NODUP      *iv_return = DB_NEXT_NODUP;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case '_':    if (memEQ(name, "DB_PR_HEADERS", 13)) {    /*                    ^              */#ifdef DB_PR_HEADERS      *iv_return = DB_PR_HEADERS;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  }  return PERL_constant_NOTFOUND;}static intconstant_14 (pTHX_ const char *name, IV *iv_return) {  /* When generated this function returned values for the list of names given     here.  However, subsequent manual editing may have added or removed some.     DB_AUTO_COMMIT DB_BTREEOLDVER DB_CHKSUM_SHA1 DB_EID_INVALID DB_ENCRYPT_AES     DB_ENV_APPINIT DB_ENV_DBLOCAL DB_ENV_LOCKING DB_ENV_LOGGING DB_ENV_NOPANIC     DB_ENV_PRIVATE DB_FILE_ID_LEN DB_HANDLE_LOCK DB_HASHVERSION DB_INVALID_EID     DB_JOIN_NOSORT DB_LOCKVERSION DB_LOCK_EXPIRE DB_LOCK_NOWAIT DB_LOCK_OLDEST     DB_LOCK_RANDOM DB_LOCK_RECORD DB_LOCK_REMOVE DB_LOCK_SWITCH DB_MAX_RECORDS     DB_MPOOL_CLEAN DB_MPOOL_DIRTY DB_NOOVERWRITE DB_NOSERVER_ID DB_ODDFILESIZE     DB_OLD_VERSION DB_OPEN_CALLED DB_RECORDCOUNT DB_RECORD_LOCK DB_REGION_ANON     DB_REGION_INIT DB_REGION_NAME DB_RENAMEMAGIC DB_REP_NEWSITE DB_REP_UNAVAIL     DB_REVSPLITOFF DB_RUNRECOVERY DB_SET_TXN_NOW DB_USE_ENVIRON DB_WRITECURSOR     DB_XIDDATASIZE */  /* Offset 9 gives the best switch position.  */  switch (name[9]) {  case 'A':    if (memEQ(name, "DB_LOCK_RANDOM", 14)) {    /*                        ^           */#ifdef DB_LOCK_RANDOM      *iv_return = DB_LOCK_RANDOM;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_OPEN_CALLED", 14)) {    /*                        ^           */#ifdef DB_OPEN_CALLED      *iv_return = DB_OPEN_CALLED;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_REP_UNAVAIL", 14)) {    /*                        ^           */#ifdef DB_REP_UNAVAIL      *iv_return = DB_REP_UNAVAIL;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_XIDDATASIZE", 14)) {    /*                        ^           */#ifdef DB_XIDDATASIZE      *iv_return = DB_XIDDATASIZE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'C':    if (memEQ(name, "DB_ENV_LOCKING", 14)) {    /*                        ^           */#ifdef DB_ENV_LOCKING      *iv_return = DB_ENV_LOCKING;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_MAX_RECORDS", 14)) {    /*                        ^           */#ifdef DB_MAX_RECORDS      *iv_return = DB_MAX_RECORDS;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_MPOOL_CLEAN", 14)) {    /*                        ^           */#ifdef DB_MPOOL_CLEAN      *iv_return = DB_MPOOL_CLEAN;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_RECORDCOUNT", 14)) {    /*                        ^           */#ifdef DB_RECORDCOUNT      *iv_return = DB_RECORDCOUNT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'D':    if (memEQ(name, "DB_FILE_ID_LEN", 14)) {    /*                        ^           */#ifdef DB_FILE_ID_LEN      *iv_return = DB_FILE_ID_LEN;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_INVALID_EID", 14)) {    /*                        ^           */#ifdef DB_INVALID_EID      *iv_return = DB_INVALID_EID;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_MPOOL_DIRTY", 14)) {    /*                        ^           */#ifdef DB_MPOOL_DIRTY      *iv_return = DB_MPOOL_DIRTY;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'E':    if (memEQ(name, "DB_LOCK_RECORD", 14)) {    /*                        ^           */#ifdef DB_LOCK_RECORD      *iv_return = DB_LOCK_RECORD;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOCK_REMOVE", 14)) {    /*                        ^           */#ifdef DB_LOCK_REMOVE      *iv_return = DB_LOCK_REMOVE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_NOSERVER_ID", 14)) {    /*                        ^           */#ifdef DB_NOSERVER_ID      *iv_return = DB_NOSERVER_ID;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_ODDFILESIZE", 14)) {    /*                        ^           */#ifdef DB_ODDFILESIZE      *iv_return = DB_ODDFILESIZE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'G':    if (memEQ(name, "DB_ENV_LOGGING", 14)) {    /*                        ^           */#ifdef DB_ENV_LOGGING      *iv_return = DB_ENV_LOGGING;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'I':    if (memEQ(name, "DB_ENV_PRIVATE", 14)) {    /*                        ^           */#ifdef DB_ENV_PRIVATE      *iv_return = DB_ENV_PRIVATE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_REVSPLITOFF", 14)) {    /*                        ^           */#ifdef DB_REVSPLITOFF      *iv_return = DB_REVSPLITOFF;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'L':    if (memEQ(name, "DB_BTREEOLDVER", 14)) {    /*                        ^           */#ifdef DB_BTREEOLDVER      *iv_return = DB_BTREEOLDVER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_ENV_DBLOCAL", 14)) {    /*                        ^           */#ifdef DB_ENV_DBLOCAL      *iv_return = DB_ENV_DBLOCAL;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOCK_OLDEST", 14)) {    /*                        ^           */#ifdef DB_LOCK_OLDEST      *iv_return = DB_LOCK_OLDEST;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'M':    if (memEQ(name, "DB_RENAMEMAGIC", 14)) {    /*                        ^           */#ifdef DB_RENAMEMAGIC      *iv_return = DB_RENAMEMAGIC;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'N':    if (memEQ(name, "DB_SET_TXN_NOW", 14)) {    /*                        ^           */#ifdef DB_SET_TXN_NOW      *iv_return = DB_SET_TXN_NOW;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'O':

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -