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

📄 constants.h

📁 MySQL数据库开发源码 值得一看哦
💻 H
📖 第 1 页 / 共 5 页
字号:
      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'C':    if (memEQ(name, "DB_CDB_ALLDB", 12)) {    /*                  ^               */#ifdef DB_CDB_ALLDB      *iv_return = DB_CDB_ALLDB;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_CL_WRITER", 12)) {    /*                  ^               */#ifdef DB_CL_WRITER      *iv_return = DB_CL_WRITER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'D':    if (memEQ(name, "DB_DELIMITER", 12)) {    /*                  ^               */#ifdef DB_DELIMITER      *iv_return = DB_DELIMITER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_DIRECT_DB", 12)) {    /*                  ^               */#ifdef DB_DIRECT_DB      *iv_return = DB_DIRECT_DB;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_DUPCURSOR", 12)) {    /*                  ^               */#ifdef DB_DUPCURSOR      *iv_return = DB_DUPCURSOR;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'E':    if (memEQ(name, "DB_ENV_FATAL", 12)) {    /*                  ^               */#ifdef DB_ENV_FATAL      *iv_return = DB_ENV_FATAL;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'F':    if (memEQ(name, "DB_FAST_STAT", 12)) {    /*                  ^               */#ifdef DB_FAST_STAT      *iv_return = DB_FAST_STAT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'G':    if (memEQ(name, "DB_GET_BOTHC", 12)) {    /*                  ^               */#ifdef DB_GET_BOTHC      *iv_return = DB_GET_BOTHC;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_GET_RECNO", 12)) {    /*                  ^               */#ifdef DB_GET_RECNO      *iv_return = DB_GET_RECNO;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'H':    if (memEQ(name, "DB_HASHMAGIC", 12)) {    /*                  ^               */#ifdef DB_HASHMAGIC      *iv_return = DB_HASHMAGIC;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'I':    if (memEQ(name, "DB_INIT_LOCK", 12)) {    /*                  ^               */#ifdef DB_INIT_LOCK      *iv_return = DB_INIT_LOCK;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'J':    if (memEQ(name, "DB_JOIN_ITEM", 12)) {    /*                  ^               */#ifdef DB_JOIN_ITEM      *iv_return = DB_JOIN_ITEM;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'L':    if (memEQ(name, "DB_LOCKMAGIC", 12)) {    /*                  ^               */#ifdef DB_LOCKMAGIC      *iv_return = DB_LOCKMAGIC;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOCK_DUMP", 12)) {    /*                  ^               */#if (DB_VERSION_MAJOR > 2) || \    (DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR > 0) || \    (DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR == 0 && \     DB_VERSION_PATCH >= 0)      *iv_return = DB_LOCK_DUMP;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOCK_RW_N", 12)) {    /*                  ^               */#ifdef DB_LOCK_RW_N      *iv_return = DB_LOCK_RW_N;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOGOLDVER", 12)) {    /*                  ^               */#ifdef DB_LOGOLDVER      *iv_return = DB_LOGOLDVER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'M':    if (memEQ(name, "DB_MAX_PAGES", 12)) {    /*                  ^               */#ifdef DB_MAX_PAGES      *iv_return = DB_MAX_PAGES;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_MPOOL_NEW", 12)) {    /*                  ^               */#ifdef DB_MPOOL_NEW      *iv_return = DB_MPOOL_NEW;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'N':    if (memEQ(name, "DB_NEEDSPLIT", 12)) {    /*                  ^               */#ifdef DB_NEEDSPLIT      *iv_return = DB_NEEDSPLIT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_NODUPDATA", 12)) {    /*                  ^               */#ifdef DB_NODUPDATA      *iv_return = DB_NODUPDATA;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_NOLOCKING", 12)) {    /*                  ^               */#ifdef DB_NOLOCKING      *iv_return = DB_NOLOCKING;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_NORECURSE", 12)) {    /*                  ^               */#ifdef DB_NORECURSE      *iv_return = DB_NORECURSE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'O':    if (memEQ(name, "DB_OVERWRITE", 12)) {    /*                  ^               */#ifdef DB_OVERWRITE      *iv_return = DB_OVERWRITE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'P':    if (memEQ(name, "DB_PAGEYIELD", 12)) {    /*                  ^               */#ifdef DB_PAGEYIELD      *iv_return = DB_PAGEYIELD;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_PAGE_LOCK", 12)) {    /*                  ^               */#ifdef DB_PAGE_LOCK      *iv_return = DB_PAGE_LOCK;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_PERMANENT", 12)) {    /*                  ^               */#ifdef DB_PERMANENT      *iv_return = DB_PERMANENT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_POSITIONI", 12)) {    /*                  ^               */#ifdef DB_POSITIONI      *iv_return = DB_POSITIONI;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_PRINTABLE", 12)) {    /*                  ^               */#ifdef DB_PRINTABLE      *iv_return = DB_PRINTABLE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'Q':    if (memEQ(name, "DB_QAMOLDVER", 12)) {    /*                  ^               */#ifdef DB_QAMOLDVER      *iv_return = DB_QAMOLDVER;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'S':    if (memEQ(name, "DB_SET_RANGE", 12)) {    /*                  ^               */#ifdef DB_SET_RANGE      *iv_return = DB_SET_RANGE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_SET_RECNO", 12)) {    /*                  ^               */#ifdef DB_SET_RECNO      *iv_return = DB_SET_RECNO;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_SWAPBYTES", 12)) {    /*                  ^               */#ifdef DB_SWAPBYTES      *iv_return = DB_SWAPBYTES;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'T':    if (memEQ(name, "DB_TEMPORARY", 12)) {    /*                  ^               */#ifdef DB_TEMPORARY      *iv_return = DB_TEMPORARY;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_TXN_ABORT", 12)) {    /*                  ^               */#if (DB_VERSION_MAJOR > 3) || \    (DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR > 1) || \    (DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 1 && \     DB_VERSION_PATCH >= 12)      *iv_return = DB_TXN_ABORT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_TXN_APPLY", 12)) {    /*                  ^               */#if (DB_VERSION_MAJOR > 4) || \    (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0) || \    (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 0 && \     DB_VERSION_PATCH >= 7)      *iv_return = DB_TXN_APPLY;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_TXN_PRINT", 12)) {    /*                  ^               */#if (DB_VERSION_MAJOR > 4) || \    (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 1) || \    (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 1 && \     DB_VERSION_PATCH >= 17)      *iv_return = DB_TXN_PRINT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'W':    if (memEQ(name, "DB_WRITELOCK", 12)) {    /*                  ^               */#ifdef DB_WRITELOCK      *iv_return = DB_WRITELOCK;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_WRITEOPEN", 12)) {    /*                  ^               */#ifdef DB_WRITEOPEN      *iv_return = DB_WRITEOPEN;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'X':    if (memEQ(name, "DB_XA_CREATE", 12)) {    /*                  ^               */#ifdef DB_XA_CREATE      *iv_return = DB_XA_CREATE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  }  return PERL_constant_NOTFOUND;}static intconstant_13 (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_AGGRESSIVE DB_BTREEMAGIC DB_CHECKPOINT DB_DIRECT_LOG DB_DIRTY_READ     DB_DONOTINDEX DB_ENV_CREATE DB_ENV_NOMMAP DB_ENV_THREAD DB_HASHOLDVER     DB_INCOMPLETE DB_INIT_MPOOL DB_LOCK_NORUN DB_LOCK_RIW_N DB_LOCK_TRADE     DB_LOGVERSION DB_LOG_LOCKED DB_MPOOL_LAST DB_MUTEXDEBUG DB_MUTEXLOCKS     DB_NEXT_NODUP DB_NOORDERCHK DB_PREV_NODUP DB_PR_HEADERS DB_QAMVERSION     DB_RDWRMASTER DB_REGISTERED DB_REP_CLIENT DB_REP_MASTER DB_SEQUENTIAL     DB_STAT_CLEAR DB_SYSTEM_MEM DB_TXNVERSION DB_TXN_NOSYNC DB_TXN_NOWAIT     DB_VERIFY_BAD */  /* Offset 5 gives the best switch position.  */  switch (name[5]) {  case 'A':    if (memEQ(name, "DB_STAT_CLEAR", 13)) {    /*                    ^              */#ifdef DB_STAT_CLEAR      *iv_return = DB_STAT_CLEAR;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'C':    if (memEQ(name, "DB_INCOMPLETE", 13)) {    /*                    ^              */#ifdef DB_INCOMPLETE      *iv_return = DB_INCOMPLETE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOCK_NORUN", 13)) {    /*                    ^              */#ifdef DB_LOCK_NORUN      *iv_return = DB_LOCK_NORUN;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOCK_RIW_N", 13)) {    /*                    ^              */#ifdef DB_LOCK_RIW_N      *iv_return = DB_LOCK_RIW_N;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOCK_TRADE", 13)) {    /*                    ^              */#if (DB_VERSION_MAJOR > 4) || \    (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 1) || \    (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 1 && \     DB_VERSION_PATCH >= 17)      *iv_return = DB_LOCK_TRADE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'E':    if (memEQ(name, "DB_CHECKPOINT", 13)) {    /*                    ^              */#ifdef DB_CHECKPOINT      *iv_return = DB_CHECKPOINT;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_PREV_NODUP", 13)) {    /*                    ^              */#ifdef DB_PREV_NODUP      *iv_return = DB_PREV_NODUP;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    break;  case 'G':    if (memEQ(name, "DB_AGGRESSIVE", 13)) {    /*                    ^              */#ifdef DB_AGGRESSIVE      *iv_return = DB_AGGRESSIVE;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOGVERSION", 13)) {    /*                    ^              */#ifdef DB_LOGVERSION      *iv_return = DB_LOGVERSION;      return PERL_constant_ISIV;#else      return PERL_constant_NOTDEF;#endif    }    if (memEQ(name, "DB_LOG_LOCKED", 13)) {

⌨️ 快捷键说明

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