| 1 | /* Copyright (C) 2008-2017 Kentoku Shiba |
| 2 | |
| 3 | This program is free software; you can redistribute it and/or modify |
| 4 | it under the terms of the GNU General Public License as published by |
| 5 | the Free Software Foundation; version 2 of the License. |
| 6 | |
| 7 | This program is distributed in the hope that it will be useful, |
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | GNU General Public License for more details. |
| 11 | |
| 12 | You should have received a copy of the GNU General Public License |
| 13 | along with this program; if not, write to the Free Software |
| 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ |
| 15 | |
| 16 | #define ER_SPIDER_INVALID_CONNECT_INFO_NUM 12501 |
| 17 | #define ER_SPIDER_INVALID_CONNECT_INFO_STR "The connect info '%-.64s' is invalid" |
| 18 | #define ER_SPIDER_INVALID_CONNECT_INFO_TOO_LONG_NUM 12502 |
| 19 | #define ER_SPIDER_INVALID_CONNECT_INFO_TOO_LONG_STR "The connect info '%-.64s' for %s is too long" |
| 20 | #define ER_SPIDER_INVALID_UDF_PARAM_NUM 12503 |
| 21 | #define ER_SPIDER_INVALID_UDF_PARAM_STR "The UDF parameter '%-.64s' is invalid" |
| 22 | #define ER_SPIDER_DIFFERENT_LINK_COUNT_NUM 12504 |
| 23 | #define ER_SPIDER_DIFFERENT_LINK_COUNT_STR "Different multiple table link parameter's count" |
| 24 | #define ER_SPIDER_UDF_PARAM_TOO_LONG_NUM 12505 |
| 25 | #define ER_SPIDER_UDF_PARAM_TOO_LONG_STR "The UDF parameter '%-.64s' is too long" |
| 26 | #define ER_SPIDER_UDF_PARAM_REQIRED_NUM 12506 |
| 27 | #define ER_SPIDER_UDF_PARAM_REQIRED_STR "The UDF parameter '%-.64s' is required" |
| 28 | #define ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_NUM 12507 |
| 29 | #define ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR "This UDF can't execute if other tables are opened" |
| 30 | #define ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_NUM "This UDF can't execute if other tables are opened '%s'=%lld" |
| 31 | #define ER_SPIDER_UDF_CANT_USE_IF_OPEN_TABLE_STR_WITH_PTR "This UDF can't execute if other tables are opened '%s'=%p" |
| 32 | #define ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_NUM 12508 |
| 33 | #define ER_SPIDER_UDF_PING_TABLE_NO_SERVER_ID_STR "Current server_id is not exist" |
| 34 | #define ER_SPIDER_UDF_PING_TABLE_DIFFERENT_MON_NUM 12509 |
| 35 | #define ER_SPIDER_UDF_PING_TABLE_DIFFERENT_MON_STR "Monitor count is different" |
| 36 | #define ER_SPIDER_LINK_MON_OK_NUM 12510 |
| 37 | #define ER_SPIDER_LINK_MON_OK_STR "Table '%s.%s' get a problem, but mon is OK" |
| 38 | #define ER_SPIDER_LINK_MON_NG_NUM 12511 |
| 39 | #define ER_SPIDER_LINK_MON_NG_STR "Table '%s.%s' get a problem" |
| 40 | #define ER_SPIDER_LINK_MON_DRAW_FEW_MON_NUM 12512 |
| 41 | #define ER_SPIDER_LINK_MON_DRAW_FEW_MON_STR "Can not judge by enough monitor for table '%s.%s'" |
| 42 | #define ER_SPIDER_LINK_MON_DRAW_NUM 12513 |
| 43 | #define ER_SPIDER_LINK_MON_DRAW_STR "Can not judge status for table '%s.%s'" |
| 44 | #define ER_SPIDER_ALL_LINKS_FAILED_NUM 12514 |
| 45 | #define ER_SPIDER_ALL_LINKS_FAILED_STR "All links of '%s.%s' are failed" |
| 46 | #define ER_SPIDER_TMP_TABLE_MON_NUM 12515 |
| 47 | #define ER_SPIDER_TMP_TABLE_MON_STR "Can't use monitor by temporary table" |
| 48 | #define ER_SPIDER_MON_AT_ALTER_TABLE_NUM 12516 |
| 49 | #define ER_SPIDER_MON_AT_ALTER_TABLE_STR "Got an error in alter or drop table" |
| 50 | #define ER_SPIDER_BLANK_UDF_ARGUMENT_NUM 12517 |
| 51 | #define ER_SPIDER_BLANK_UDF_ARGUMENT_STR "The UDF no.%d argument can't be blank" |
| 52 | #define ER_SPIDER_READ_ONLY_NUM 12518 |
| 53 | #define ER_SPIDER_READ_ONLY_STR "Table '%s.%s' is read only" |
| 54 | #define ER_SPIDER_LINK_IS_FAILOVER_NUM 12519 |
| 55 | #define ER_SPIDER_LINK_IS_FAILOVER_STR "A link is fail-overed" |
| 56 | #define ER_SPIDER_AUTOINC_VAL_IS_DIFFERENT_NUM 12520 |
| 57 | #define ER_SPIDER_AUTOINC_VAL_IS_DIFFERENT_STR "Binlog's auto-inc value is probably different from linked table's auto-inc value" |
| 58 | #define ER_SPIDER_SQL_WRAPPER_IS_INVALID_NUM 12521 |
| 59 | #define ER_SPIDER_SQL_WRAPPER_IS_INVALID_STR "Can't use wrapper '%s' for SQL connection" |
| 60 | #define ER_SPIDER_NOSQL_WRAPPER_IS_INVALID_NUM 12522 |
| 61 | #define ER_SPIDER_NOSQL_WRAPPER_IS_INVALID_STR "Can't use wrapper '%s' for NOSQL connection" |
| 62 | #define ER_SPIDER_REQUEST_KEY_NUM 12523 |
| 63 | #define ER_SPIDER_REQUEST_KEY_STR "Request key not found" |
| 64 | #define ER_SPIDER_CANT_OPEN_SYS_TABLE_NUM 12524 |
| 65 | #define ER_SPIDER_CANT_OPEN_SYS_TABLE_STR "Can't open system table %s.%s" |
| 66 | #define ER_SPIDER_LINK_MON_JUST_NG_NUM 12525 |
| 67 | #define ER_SPIDER_LINK_MON_JUST_NG_STR "Table '%s.%s' just got a problem" |
| 68 | #define ER_SPIDER_INVALID_CONNECT_INFO_START_WITH_NUM_NUM 12526 |
| 69 | #define ER_SPIDER_INVALID_CONNECT_INFO_START_WITH_NUM_STR "The connect info '%-.64s' for %s cannot start with number" |
| 70 | #define ER_SPIDER_INVALID_CONNECT_INFO_SAME_NUM 12527 |
| 71 | #define ER_SPIDER_INVALID_CONNECT_INFO_SAME_STR "The connect info '%-.64s' for %s cannot use same name in same table" |
| 72 | |
| 73 | #define ER_SPIDER_CANT_USE_BOTH_INNER_XA_AND_SNAPSHOT_NUM 12601 |
| 74 | #define ER_SPIDER_CANT_USE_BOTH_INNER_XA_AND_SNAPSHOT_STR "Can't use both spider_use_consistent_snapshot = 1 and spider_internal_xa = 1" |
| 75 | #define ER_SPIDER_XA_LOCKED_NUM 12602 |
| 76 | #define ER_SPIDER_XA_LOCKED_STR "This xid is now locked" |
| 77 | #define ER_SPIDER_XA_NOT_PREPARED_NUM 12603 |
| 78 | #define ER_SPIDER_XA_NOT_PREPARED_STR "This xid is not prepared" |
| 79 | #define ER_SPIDER_XA_PREPARED_NUM 12604 |
| 80 | #define ER_SPIDER_XA_PREPARED_STR "This xid is prepared" |
| 81 | #define ER_SPIDER_XA_EXISTS_NUM 12605 |
| 82 | #define ER_SPIDER_XA_EXISTS_STR "This xid is already exist" |
| 83 | #define ER_SPIDER_XA_MEMBER_EXISTS_NUM 12606 |
| 84 | #define ER_SPIDER_XA_MEMBER_EXISTS_STR "This xid member is already exist" |
| 85 | #define ER_SPIDER_XA_NOT_EXISTS_NUM 12607 |
| 86 | #define ER_SPIDER_XA_NOT_EXISTS_STR "This xid is not exist" |
| 87 | #define ER_SPIDER_XA_MEMBER_NOT_EXISTS_NUM 12608 |
| 88 | #define ER_SPIDER_XA_MEMBER_NOT_EXISTS_STR "This xid member is not exist" |
| 89 | #define ER_SPIDER_SYS_TABLE_VERSION_NUM 12609 |
| 90 | #define ER_SPIDER_SYS_TABLE_VERSION_STR "System table %s is different version" |
| 91 | #define ER_SPIDER_WRONG_CHARACTER_IN_NAME_NUM 12611 |
| 92 | #define ER_SPIDER_WRONG_CHARACTER_IN_NAME_STR "Wrong character in name string" |
| 93 | #define ER_SPIDER_LOW_MEM_READ_PREV_NUM 12621 |
| 94 | #define ER_SPIDER_LOW_MEM_READ_PREV_STR "Can't use this operation at low mem read mode" |
| 95 | #define ER_SPIDER_ALTER_BEFORE_UNLOCK_NUM 12622 |
| 96 | #define ER_SPIDER_ALTER_BEFORE_UNLOCK_STR "Can't use this operation before executing 'unlock tables'" |
| 97 | #define ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM 12701 |
| 98 | #define ER_SPIDER_REMOTE_SERVER_GONE_AWAY_STR "Remote MySQL server has gone away" |
| 99 | #define ER_SPIDER_REMOTE_SERVER_GONE_AWAY_LEN (sizeof(ER_SPIDER_REMOTE_SERVER_GONE_AWAY_STR) - 1) |
| 100 | #define ER_SPIDER_REMOTE_TABLE_NOT_FOUND_NUM 12702 |
| 101 | #define ER_SPIDER_REMOTE_TABLE_NOT_FOUND_STR "Remote table '%s.%s' is not found" |
| 102 | #define ER_SPIDER_UDF_TMP_TABLE_NOT_FOUND_NUM 12703 |
| 103 | #define ER_SPIDER_UDF_TMP_TABLE_NOT_FOUND_STR "Temporary table '%s.%s' is not found" |
| 104 | #define ER_SPIDER_UDF_COPY_TABLE_SRC_NOT_FOUND_NUM 12704 |
| 105 | #define ER_SPIDER_UDF_COPY_TABLE_SRC_NOT_FOUND_STR "Source table is not found" |
| 106 | #define ER_SPIDER_UDF_COPY_TABLE_DST_NOT_FOUND_NUM 12705 |
| 107 | #define ER_SPIDER_UDF_COPY_TABLE_DST_NOT_FOUND_STR "Destination table is not found" |
| 108 | #define ER_SPIDER_UDF_COPY_TABLE_SRC_NG_STATUS_NUM 12706 |
| 109 | #define ER_SPIDER_UDF_COPY_TABLE_SRC_NG_STATUS_STR "Source table is NG status" |
| 110 | #define ER_SPIDER_UDF_COPY_TABLE_DST_NG_STATUS_NUM 12707 |
| 111 | #define ER_SPIDER_UDF_COPY_TABLE_DST_NG_STATUS_STR "Destination table is NG status" |
| 112 | #define ER_SPIDER_UDF_CANT_OPEN_TABLE_NUM 12708 |
| 113 | #define ER_SPIDER_UDF_CANT_OPEN_TABLE_STR "Can't open table %s.%s" |
| 114 | #define ER_SPIDER_UDF_COPY_TABLE_NEED_PK_NUM 12709 |
| 115 | #define ER_SPIDER_UDF_COPY_TABLE_NEED_PK_STR "Table %s.%s needs PK for copying" |
| 116 | #define ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM 12710 |
| 117 | #define ER_SPIDER_INVALID_REMOTE_TABLE_INFO_STR "Invalid information from remote table '%s.%s'" |
| 118 | #define ER_SPIDER_HS_STR "Error from HS %d %s" |
| 119 | #define ER_SPIDER_HS_NUM 12711 |
| 120 | #define ER_SPIDER_ORACLE_STR "Error from Oracle %d %d %s" |
| 121 | #define ER_SPIDER_ORACLE_NUM 12712 |
| 122 | #define ER_SPIDER_ORACLE_ERR "Oracle error" |
| 123 | #define ER_SPIDER_CON_COUNT_ERROR 12713 |
| 124 | #define ER_SPIDER_CON_COUNT_ERROR_STR "Too many connections between spider and remote" |
| 125 | #define ER_SPIDER_TABLE_OPEN_TIMEOUT_NUM 12714 |
| 126 | #define ER_SPIDER_TABLE_OPEN_TIMEOUT_STR "Table %s.%s open timeout" |
| 127 | #define ER_SPIDER_COND_SKIP_NUM 12801 |
| 128 | |
| 129 | #define ER_SPIDER_UNKNOWN_NUM 12500 |
| 130 | #define ER_SPIDER_UNKNOWN_STR "unknown" |
| 131 | #define ER_SPIDER_UNKNOWN_LEN (sizeof(ER_SPIDER_UNKNOWN_STR) - 1) |
| 132 | |