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

📄 config.h

📁 fastdb-2.92的源码
💻 H
字号:
//-< CONFIG.H >------------------------------------------------------*--------*// FastDB                    Version 1.0         (c) 1999  GARRET    *     ?  *// (Post Relational Database Management System)                      *   /\|  *//                                                                   *  /  \  *//                          Created:     21-Jan-2004  K.A. Knizhnik  * / [] \ *//                          Last update: 21-Jan-2004  K.A. Knizhnik  * GARRET *//-------------------------------------------------------------------*--------*// FastDB configuration definitions//-------------------------------------------------------------------*--------*#ifndef __CONFIG_H__#define __CONFIG_H__// USE_LOCALE_SETTINGS - use C locale for string comparison operations#define USE_LOCALE_SETTINGS 1// FASTDB_DEBUG - debug level//    - DEBUG_NONE - disable any checking and tracing (except asserts)//    - DEBUG_CHECK - disable trace message//    - DEBUG_TRACE - enable trace messages //#define FASTDB_DEBUG DEBUG_TRACE// SECURE_SERVER - enable authentication for remote logins: keep user/password table, //   check password for remote logins//#define SECURE_SERVER 1// USE_QUEUE_MANAGER - use queue manager for internal HTTP server. //   This manager will manage pool of threads assigned for client connections. //   Otherwise all requests will be executed sequnetially in the main loop.//#define USE_QUEUE_MANAGER 1// FASTDB_DLL - create gigabase.dll//#define FASTDB_DLL 1// THROW_EXCEPTION_ON_ERROR - throw C++ exception in case of database error instead of abort()#define THROW_EXCEPTION_ON_ERROR 1//IGNORE_CASE - perform all string comparisons as case insensitive//#define IGNORE_CASE 1//USE_STD_STRING - accept std::string class as table field type#ifdef _WIN32#define USE_STD_STRING 1#endif//AUTOINCREMENT_SUPPORT - support autoincrement fields //  (database built with this flag will be incompatible with database built without it)#define AUTOINCREMENT_SUPPORT 1//CLONE_IDENTIFIERS - do not storef addresses of string constants in symbol table.//  This option is needed if DLL library using GigaBASE can be unloaded.//#define CLONE_IDENTIFIERS 1 //DISKLESS_CONFIGURATION - only in-memory temporary database//#define DISKLESS_CONFIGURATION 1//SET_NULL_DACL - use NULL DACL security descriptor for all synchronization objects.//#define SET_NULL_DACL 1//INT8_IS_DEFINED - int8 type is defined at your system, in this case you should use db_int8 type instead//#define INT8_IS_DEFINED 1//USE_POSIX_SEMAPHORES use POSIX sem_* sempahores instead of SysV semaphores//     instead of SysV semaphores and shared memory//#define USE_POSIX_SEMAPHORES 1//USE_POSIX_MMAP - if 1 then use Posix mmap for mapping database file and monitor, //  if 0 - use SysV IPC shmem for allocating memory for database file and monitor,//  if not defined - use mmap for mapping database file and shmem for allocating monitor//#define USE_POSIX_MMAP 0//REPLICATION_SUPPORT - fault tolerant version of FastDB//#define REPLICATION_SUPPORT 1//NO_MMAP do not use OS mappig of file on virtual memory. FastDB will track modification of//  pages itself and save dirty pages in the file. If USE_POSIX_API=0, memory for database is//  allocated using shmat() and database can be shared by several processes, //  otherwise - using valloc() and database can be accessed only by one process. //#define NO_MMAP 1//USE_MFC - use MFC (include "afx.h" instead of "windows.h")//#define USE_MFC 1//USE_ATL - use Microsoft ATL //#define USE_ATL 1//USE_MFC_STRING - accept MVC CString class as table field type//#define USE_MFC_STRING#endif

⌨️ 快捷键说明

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