📄 umysqlerrors.pas
字号:
{--------------------------------------------------------------------------------
Licencing issues:
17-September-2001 〤ristian Nicola
Note:
Mysql is copyright by MySQL AB. Refer to their site ( http://www.mysql.com )
for licencing issues.
Zlib is copyright by Jean-loup Gailly and Mark Adler. Refer to their site for
licencing issues. ( http://www.info-zip.org/pub/infozip/zlib/ )
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
NOTES:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. If you are using it for a commercial software it must be open source and
it must include full source code of this library in an unaltered fashion
or you would need to ask for permission to use it. This library will be
considered donationware which means if you want to contribute with any money
or hardware you are more than welcome.
4. This notice may not be removed or altered from any source distribution.
Cristian Nicola
n_cristian@hotmail.com
If you use the mysqldirect library in a product, i would appreciate *not*
receiving lengthy legal documents to sign. The sources are provided
for free but without warranty of any kind. The library has been
entirely written by Cristian Nicola after libmysql of MYSQL AB.
--------------------------------------------------------------------------------}
unit uMysqlErrors;
////////////////////////////////////////////////////////////////////////////////
// Errors imported from mysql
interface
const
ER_HASHCHK = 1000;
ER_NISAMCHK = 1001;
ER_NO = 1002;
ER_YES = 1003;
ER_CANT_CREATE_FILE = 1004;
ER_CANT_CREATE_TABLE = 1005;
ER_CANT_CREATE_DB = 1006;
ER_DB_CREATE_EXISTS = 1007;
ER_DB_DROP_EXISTS = 1008;
ER_DB_DROP_DELETE = 1009;
ER_DB_DROP_RMDIR = 1010;
ER_CANT_DELETE_FILE = 1011;
ER_CANT_FIND_SYSTEM_REC = 1012;
ER_CANT_GET_STAT = 1013;
ER_CANT_GET_WD = 1014;
ER_CANT_LOCK = 1015;
ER_CANT_OPEN_FILE = 1016;
ER_FILE_NOT_FOUND = 1017;
ER_CANT_READ_DIR = 1018;
ER_CANT_SET_WD = 1019;
ER_CHECKREAD = 1020;
ER_DISK_FULL = 1021;
ER_DUP_KEY = 1022;
ER_ERROR_ON_CLOSE = 1023;
ER_ERROR_ON_READ = 1024;
ER_ERROR_ON_RENAME = 1025;
ER_ERROR_ON_WRITE = 1026;
ER_FILE_USED = 1027;
ER_FILSORT_ABORT = 1028;
ER_FORM_NOT_FOUND = 1029;
ER_GET_ERRNO = 1030;
ER_ILLEGAL_HA = 1031;
ER_KEY_NOT_FOUND = 1032;
ER_NOT_FORM_FILE = 1033;
ER_NOT_KEYFILE = 1034;
ER_OLD_KEYFILE = 1035;
ER_OPEN_AS_READONLY = 1036;
ER_OUTOFMEMORY = 1037;
ER_OUT_OF_SORTMEMORY = 1038;
ER_UNEXPECTED_EOF = 1039;
ER_CON_COUNT_ERROR = 1040;
ER_OUT_OF_RESOURCES = 1041;
ER_BAD_HOST_ERROR = 1042;
ER_HANDSHAKE_ERROR = 1043;
ER_DBACCESS_DENIED_ERROR = 1044;
ER_ACCESS_DENIED_ERROR = 1045;
ER_NO_DB_ERROR = 1046;
ER_UNKNOWN_COM_ERROR = 1047;
ER_BAD_NULL_ERROR = 1048;
ER_BAD_DB_ERROR = 1049;
ER_TABLE_EXISTS_ERROR = 1050;
ER_BAD_TABLE_ERROR = 1051;
ER_NON_UNIQ_ERROR = 1052;
ER_SERVER_SHUTDOWN = 1053;
ER_BAD_FIELD_ERROR = 1054;
ER_WRONG_FIELD_WITH_GROUP = 1055;
ER_WRONG_GROUP_FIELD = 1056;
ER_WRONG_SUM_SELECT = 1057;
ER_WRONG_VALUE_COUNT = 1058;
ER_TOO_LONG_IDENT = 1059;
ER_DUP_FIELDNAME = 1060;
ER_DUP_KEYNAME = 1061;
ER_DUP_ENTRY = 1062;
ER_WRONG_FIELD_SPEC = 1063;
ER_PARSE_ERROR = 1064;
ER_EMPTY_QUERY = 1065;
ER_NONUNIQ_TABLE = 1066;
ER_INVALID_DEFAULT = 1067;
ER_MULTIPLE_PRI_KEY = 1068;
ER_TOO_MANY_KEYS = 1069;
ER_TOO_MANY_KEY_PARTS = 1070;
ER_TOO_LONG_KEY = 1071;
ER_KEY_COLUMN_DOES_NOT_EXITS = 1072;
ER_BLOB_USED_AS_KEY = 1073;
ER_TOO_BIG_FIELDLENGTH = 1074;
ER_WRONG_AUTO_KEY = 1075;
ER_READY = 1076;
ER_NORMAL_SHUTDOWN = 1077;
ER_GOT_SIGNAL = 1078;
ER_SHUTDOWN_COMPLETE = 1079;
ER_FORCING_CLOSE = 1080;
ER_IPSOCK_ERROR = 1081;
ER_NO_SUCH_INDEX = 1082;
ER_WRONG_FIELD_TERMINATORS = 1083;
ER_BLOBS_AND_NO_TERMINATED = 1084;
ER_TEXTFILE_NOT_READABLE = 1085;
ER_FILE_EXISTS_ERROR = 1086;
ER_LOAD_INFO = 1087;
ER_ALTER_INFO = 1088;
ER_WRONG_SUB_KEY = 1089;
ER_CANT_REMOVE_ALL_FIELDS = 1090;
ER_CANT_DROP_FIELD_OR_KEY = 1091;
ER_INSERT_INFO = 1092;
ER_INSERT_TABLE_USED = 1093;
ER_NO_SUCH_THREAD = 1094;
ER_KILL_DENIED_ERROR = 1095;
ER_NO_TABLES_USED = 1096;
ER_TOO_BIG_SET = 1097;
ER_NO_UNIQUE_LOGFILE = 1098;
ER_TABLE_NOT_LOCKED_FOR_WRITE = 1099;
ER_TABLE_NOT_LOCKED = 1100;
ER_BLOB_CANT_HAVE_DEFAULT = 1101;
ER_WRONG_DB_NAME = 1102;
ER_WRONG_TABLE_NAME = 1103;
ER_TOO_BIG_SELECT = 1104;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -