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

📄 absconst.hpp

📁 Absolute Database 5.12 src. Absolute Database lets you forget the Borland Database Engine (BDE). Th
💻 HPP
📖 第 1 页 / 共 4 页
字号:
#define ErrorGTableListFileAlreadyOpened "Table list file already opened."
#define ErrorGTableNotExists "Table '%s' not exists."
#define ErrorGExtentIsFull "EAM and PFS Unsynchronized. Non-full extent really is full"\
	". ExtentNo=%d"
#define ErrorGWrongPassword "Cannot open database because incorrect password"
#define ErrorGCheckPageCRCError "Decrypt page error. Check CRC failed. PageNo: %d"
#define ErrorGCannotCopyTableIntoItSelf "Cannot copy table '%s.%s' into it self"
#define ErrorGBDTableAlreadyExists "Table '%s.%s' already exists"
#define ErrorGCreateDataBaseError "Create database error: '%s'"
#define ErrorGCreateTable "Create table '%s.%s' error: '%s'"
#define ErrorGCannotRenameTableIntoItSelf "Cannot rename table '%s' into itself"
#define ErrorGCannotCreateTableWithField "Cannot create table '%s' with field: %s %s(%d)"
#define ErrorGRequestedPageCountBigger "Requested page count(%d) bigger then Page_PagesAddressed("\
	"%d)"
#define ErrorGOperationFailed "Operation %s failed: %s"
#define ErrorGCaseNoInputExpression "Input expression for CASE function expected, but '%s' fou"\
	"nd at line %d, column %d"
#define ErrorGCaseNoWhenExpression "When Expression for CASE function expected, but '%s' foun"\
	"d at line %d, column %d"
#define ErrorGCaseNoElseExpression "'Else Result Expression' for CASE function expected, but '"\
	"%s' found at line %d, column %d"
#define ErrorGCaseNoSearchCondition "Search Condition for CASE function expected, but '%s' fou"\
	"nd at line %d, column %d"
#define ErrorGInvalidDefaultValue "Invalid default value \"%s\""
#define ABSVersion  (5.120000E+00)
#define ABSVersionText ""
#define ABSSignature "ABS1"
#define ABSDiskSignature2 "DATABASE"
#define ABSDiskSignature1 "ABS0LUTE"
#define ABSDiskPageSignature "ABSP"
#define ABSMemoryDatabaseName "MEMORY"
#define ABSTemporaryDatabaseName "TEMP"
#define ABSTemporaryIndexName "TEMPORARY_INDEX_"
#define ABSTemporaryTableName "TEMPORARY_TABLE_"
#define ABSExpressionFieldName "Expr"
#define ABSDatabaseFileExtension ".abs"
#define SOnNeedRepair "Database file was not correctly closed last time. Do you w"\
	"ant to repair it?"
#define SOnNeedConvert "Database file you are opening is of old format. It will be"\
	" converted to the current Absolute Database format now. It"\
	" is recommended to make a backup of the database before co"\
	"ntinuing."
#define SRepairDialogMessage "Repairing Database..."
#define SCompactingDialogMessage "Compacting Database..."
#define SChangePasswordDialogMessage "Changing Database Password..."
#define SChangeDatabaseSettingsDialogMessage "Changing Database Settings..."
#define SCopyTableDialogMessage "Copy Table..."
#define SImportTableDialogMessage "Import Table..."
#define SExportTableDialogMessage "Export Table..."
#define SRestructureTableDialogMessage "Restructure Table..."
#define SBatchMoveDialogMessage "Batch Moving..."
#define SAborted "Terminated by User."
#define SBatchMove "Batch Move..."
#define SABSFuncStart "%s start"
#define SABSFuncEnd "%s end"
static const Word DefaultPageSize = 0x1000;
static const Shortint DefaultExtentPageCount = 0x8;
#define DefaultCryptoAgorithm (Abssecurity::TABSCryptoAlgorithm)(0)
static const Word DefaultMaxSessionCount = 0x1f4;
static const Shortint DefaultRetryCount = 0x14;
static const Shortint DefaultDelayMS = 0x32;
static const Shortint OffsetToFreeSpaceManagerLockByte = 0x2;
static const Shortint OffsetToTablesLockByte = 0x3;
static const Shortint OffsetToDBHeaderLockByte = 0x4;
static const Shortint WriteChangesStarted = 0x1;
static const Shortint WriteChangesFinished = 0x2;
static const Shortint ABSMaxLockTypes = 0x6;
static const Word LockTablesRetries = 0x1194;
static const Shortint LockTablesDelay = 0x14;
static const Word DBHeaderLockRetries = 0x1194;
static const Shortint DBHeaderLockDelay = 0x14;
static const Word LockLastObjectIDRetries = 0x1194;
static const Shortint LockLastObjectIDDelay = 0x14;
static const Word ConnectSessionLockRetries = 0x1194;
static const Shortint ConnectSessionLockDelay = 0x14;
static const Word DisconnectSessionLockRetries = 0x1194;
static const Shortint DisconnectSessionLockDelay = 0x14;
static const Shortint OpenTableLockRetries = 0x32;
static const Shortint OpenTableLockDelay = 0x64;
static const Shortint RecordLockRetries = 0xf;
static const Shortint RecordLockDelay = 0x64;
static const Word EditRecordTableLockRetries = 0x384;
static const Shortint EditRecordTableLockDelay = 0x64;
static const Word DeleteRecordTableLockRetries = 0x384;
static const Shortint DeleteRecordTableLockDelay = 0x64;
static const Word PostRecordTableLockRetries = 0x8ca;
static const Shortint PostRecordTableLockDelay = 0x28;
static const Word GetRecordTableLockRetries = 0x8ca;
static const Shortint GetRecordTableLockDelay = 0x28;
static const Word CreateBlobStreamTableLockRetries = 0x8ca;
static const Shortint CreateBlobStreamTableLockDelay = 0x28;
static const Word SearchTableLockRetries = 0x8ca;
static const Shortint SearchTableLockDelay = 0x28;
static const Word BatchUpdateTableLockRetries = 0x465;
static const Shortint BatchUpdateTableLockDelay = 0x50;
static const Shortint BatchUpdateTableIfFailedRetries = 0xf;
static const Shortint BatchUpdateTableIfFailedDelay = 0x64;
static const Shortint SelectTrialTableLockRetries = 0x2;
static const Shortint SelectTrialTableLockDelay = 0x14;
static const Word SelectTablesLockRetries = 0x384;
static const Shortint SelectTablesLockDelay = 0x64;
static const Word CommitTablesLockRetries = 0x384;
static const Shortint CommitTablesLockDelay = 0x64;
static const Word RangeTablesLockRetries = 0x384;
static const Shortint RangeTablesLockDelay = 0x64;
static const Word TableUnlockRetries = 0x1194;
static const Shortint TableUnlockDelay = 0x14;
static const Word RecordUnlockRetries = 0x1194;
static const Shortint RecordUnlockDelay = 0x14;
static const Shortint ReopenDatabaseFileRetries = 0x3;
static const Word ReopenDatabaseFileDelay = 0x3e8;
static const Shortint ABSFirstPageNoSystemDirectory = 0x2;
static const Shortint ptUnknown = 0x0;
static const Shortint ptEmpty = 0x1;
static const Shortint ptEAM = 0x2;
static const Shortint ptPFS = 0x3;
static const Shortint ptFileSystemDirectory = 0x4;
static const Shortint ptActiveSessionList = 0x5;
static const Shortint ptTableList = 0x6;
static const Shortint ptTableLocksFile = 0x7;
static const Shortint ptTableMetaDataFile = 0x8;
static const Shortint ptTableMostUpdatedFile = 0x9;
static const Shortint ptTableRecord = 0xa;
static const Shortint ptTableBlob = 0xb;
static const Shortint ptTableIndex = 0xc;
static const Shortint ptLastType = 0xc;
static const Byte ptAnyPage = 0xff;
extern PACKAGE AnsiString ABSPageTypeNames[13];
static const Shortint ABS_PAGE_IS_FREE = 0x0;
static const Shortint ABS_PAGE_IS_FULL = 0x1;
static const Shortint ABS_EXTENT_IS_FREE = 0x0;
static const Shortint ABS_EXTENT_IS_PARTIAL_USED = 0x1;
static const Shortint ABS_EXTENT_IS_FULL = 0x3;
static const Byte MAX_NAME_LENGTH = 0xff;
static const __int64 INVALID_ID8 = 0xffffffff;
static const int INVALID_ID4 = -1;
static const int OBJECTID_IS_NULL = -1;
static const int INVALID_PAGE_NO = -1;
static const int INVALID_OBJECT_ID = -1;
static const Word INVALID_PAGE_RECORD_NO = 0xffff;
static const Word INVALID_PAGE_ITEM_NO = 0xffff;
static const Shortint TIME_IS_NULL = 0x0;
extern PACKAGE int DATE_IS_NULL;
static const int MILSECS_IN_DAY = 0x5265c00;
static const Shortint DEFAULT_MAX_INDEXED_SIZE = 0x14;
static const Word DEFAULT_BLOB_TO_STRING_FIELD_SIZE = 0x1000;
static const int DEFAULT_TABLE_MEMORY_BLOB_FILE_SIZE = 0x100000;
static const Shortint BTreeNullFlagSize = 0x1;
static const char BTreeKeyIsNull = '\x1';
static const char BTreeKeyIsNotNull = '\x0';
static const int INVALID_SESSION_ID = -1;
static const int SYSTEM_SESSION_ID = -2;
static const int MIN_SESSION_ID = -2;
static const Shortint ABS_ERR_OK = 0x0;
static const Shortint ABS_ERR_INSERT_RECORD = -1;
static const Shortint ABS_ERR_UPDATE_RECORD = -2;
static const Shortint ABS_ERR_DELETE_RECORD = -3;
static const Shortint ABS_ERR_UPDATE_RECORD_MODIFIED = -4;
static const Shortint ABS_ERR_DELETE_RECORD_MODIFIED = -5;
static const Shortint ABS_ERR_UPDATE_RECORD_DELETED = -6;
static const Shortint ABS_ERR_DELETE_RECORD_DELETED = -7;
static const Shortint ABS_ERR_CONSTRAINT_VIOLATED = -8;
static const Shortint ABS_ERR_UPDATE_RECORD_PROHIBITED = -9;
static const Shortint ABS_ERR_DELETE_RECORD_PROHIBITED = -10;
static const Shortint ABS_ERR_CANCEL_PROHIBITED = -11;
static const Shortint ABS_ERR_RECORD_LOCKED = -12;
static const Shortint ABS_ERR_TABLE_LOCKED = -13;
#define ABS_ASC "ASC"
#define ABS_DESC "DESC"
#define ABS_NO_CASE "NO_CASE"
#define ABS_CASE "CASE"
static const char AutoNameSymbol = '\x24';
#define AutoNameSequenceAutoIncPrefix "Autoinc"
#define AutoNameConstraintNotNullPrefix "C_NotNull"
#define AutoNameConstraintCheckPrefix "C_Check"
#define AutoNameConstraintPKPreffix "C_PK"
#define AutoNameConstraintUniquePreffix "C_Unique"
static const Word ABS_CONTROL_BLOCK_SIZE = 0x100;
static const int DELETED_PAGE_STATE = 2147483647;
static const int INVALID_PAGE_STATE = 0x7ffffffe;
static const int LAST_VALID_PAGE_STATE = 0x7ffffffd;
static const Word ABSMaxSQLReservedWords = 0x123;
extern PACKAGE AnsiString ABSSQLReservedWords[292];

}	/* namespace Absconst */
using namespace Absconst;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Absconst

⌨️ 快捷键说明

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