~drizzle-trunk/drizzle/development

549 by Monty Taylor
Took gettext.h out of header files.
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
4
 *  Copyright (C) 2008 Sun Microsystems
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; version 2 of the License.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, write to the Free Software
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 */
19
20
/*
21
 *   Errors a drizzled can give you
22
 *   */
23
612.2.4 by Monty Taylor
Moved some defines to config.h. Stopped including config.h directly anywhere.
24
#include <drizzled/global.h>
549 by Monty Taylor
Took gettext.h out of header files.
25
#include <mysys/my_sys.h>
26
#include <mysys/mysys_err.h>
27
#include <drizzled/definitions.h>
28
#include <drizzled/error.h>
29
#include <drizzled/gettext.h>
30
31
static const char *drizzled_error_messages[]=
32
{
1063.2.1 by Stewart Smith
mark ER_HASHCHK as an unused error code (thanks to Paul DuBois who researched this for MySQL)
33
/* Unused: was ER_HASHCHK which hasn't been used since before MySQL 3.20.32a  */
34
N_("UNUSED"),
1063.2.2 by Stewart Smith
ER_NISAMCHK is unused, mark it as so. Thanks to Paul DuBois for researching this for MySQL.
35
/* Unused: was ER_NISAMCHK which hasn't been used since mysql-3.20.32a  */
36
N_("UNUSED"),
549 by Monty Taylor
Took gettext.h out of header files.
37
/* ER_NO   */
38
N_("NO"),
39
/* ER_YES   */
40
N_("YES"),
41
/* ER_CANT_CREATE_FILE   */
42
N_("Can't create file '%-.200s' (errno: %d)"),
43
/* ER_CANT_CREATE_TABLE   */
44
N_("Can't create table '%-.200s' (errno: %d)"),
45
/* ER_CANT_CREATE_DB   */
46
N_("Can't create database '%-.192s' (errno: %d)"),
47
/* ER_DB_CREATE_EXISTS   */
48
N_("Can't create database '%-.192s'; database exists"),
49
/* ER_DB_DROP_EXISTS   */
50
N_("Can't drop database '%-.192s'; database doesn't exist"),
51
/* ER_DB_DROP_DELETE   */
52
N_("Error dropping database (can't delete '%-.192s', errno: %d)"),
53
/* ER_DB_DROP_RMDIR   */
54
N_("Error dropping database (can't rmdir '%-.192s', errno: %d)"),
55
/* ER_CANT_DELETE_FILE   */
56
N_("Error on delete of '%-.192s' (errno: %d)"),
57
/* ER_CANT_FIND_SYSTEM_REC   */
58
N_("Can't read record in system table"),
59
/* ER_CANT_GET_STAT   */
60
N_("Can't get status of '%-.200s' (errno: %d)"),
61
/* ER_CANT_GET_WD   */
62
N_("Can't get working directory (errno: %d)"),
63
/* ER_CANT_LOCK   */
64
N_("Can't lock file (errno: %d)"),
65
/* ER_CANT_OPEN_FILE   */
66
N_("Can't open file: '%-.200s' (errno: %d)"),
67
/* ER_FILE_NOT_FOUND   */
68
N_("Can't find file: '%-.200s' (errno: %d)"),
69
/* ER_CANT_READ_DIR   */
70
N_("Can't read dir of '%-.192s' (errno: %d)"),
71
/* ER_CANT_SET_WD   */
72
N_("Can't change dir to '%-.192s' (errno: %d)"),
73
/* ER_CHECKREAD   */
74
N_("Record has changed since last read in table '%-.192s'"),
75
/* ER_DISK_FULL   */
76
N_("Disk full (%s); waiting for someone to free some space..."),
77
/* ER_DUP_KEY 23000  */
78
N_("Can't write; duplicate key in table '%-.192s'"),
79
/* ER_ERROR_ON_CLOSE   */
80
N_("Error on close of '%-.192s' (errno: %d)"),
81
/* ER_ERROR_ON_READ   */
82
N_("Error reading file '%-.200s' (errno: %d)"),
83
/* ER_ERROR_ON_RENAME   */
84
N_("Error on rename of '%-.150s' to '%-.150s' (errno: %d)"),
85
/* ER_ERROR_ON_WRITE   */
86
N_("Error writing file '%-.200s' (errno: %d)"),
87
/* ER_FILE_USED   */
88
N_("'%-.192s' is locked against change"),
89
/* ER_FILSORT_ABORT   */
90
N_("Sort aborted"),
91
/* ER_FORM_NOT_FOUND   */
92
N_("View '%-.192s' doesn't exist for '%-.192s'"),
93
/* ER_GET_ERRNO   */
94
N_("Got error %d from storage engine"),
95
/* ER_ILLEGAL_HA   */
96
N_("Table storage engine for '%-.192s' doesn't have this option"),
97
/* ER_KEY_NOT_FOUND   */
98
N_("Can't find record in '%-.192s'"),
99
/* ER_NOT_FORM_FILE   */
100
N_("Incorrect information in file: '%-.200s'"),
101
/* ER_NOT_KEYFILE   */
102
N_("Incorrect key file for table '%-.200s'; try to repair it"),
103
/* ER_OLD_KEYFILE   */
104
N_("Old key file for table '%-.192s'; repair it!"),
105
/* ER_OPEN_AS_READONLY   */
106
N_("Table '%-.192s' is read only"),
107
/* ER_OUTOFMEMORY HY001 S1001 */
629.2.7 by Monty Taylor
Fixed a couple of memory buffer size issues.
108
N_("Out of memory; restart server and try again (needed %lu bytes)"),
549 by Monty Taylor
Took gettext.h out of header files.
109
/* ER_OUT_OF_SORTMEMORY HY001 S1001 */
110
N_("Out of sort memory; increase server sort buffer size"),
111
/* ER_UNEXPECTED_EOF   */
112
N_("Unexpected EOF found when reading file '%-.192s' (errno: %d)"),
113
/* ER_CON_COUNT_ERROR 08004  */
114
N_("Too many connections"),
115
/* ER_OUT_OF_RESOURCES   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
116
N_("Out of memory; check if drizzled or some other process uses all available memory; if not, you may have to use 'ulimit' to allow drizzled to use more memory or you can add more swap space"),
549 by Monty Taylor
Took gettext.h out of header files.
117
/* ER_BAD_HOST_ERROR 08S01  */
118
N_("Can't get hostname for your address"),
119
/* ER_HANDSHAKE_ERROR 08S01  */
120
N_("Bad handshake"),
121
/* ER_DBACCESS_DENIED_ERROR 42000  */
122
N_("Access denied for user '%-.48s'@'%-.64s' to database '%-.192s'"),
123
/* ER_ACCESS_DENIED_ERROR 28000  */
124
N_("Access denied for user '%-.48s'@'%-.64s' (using password: %s)"),
125
/* ER_NO_DB_ERROR 3D000  */
126
N_("No database selected"),
127
/* ER_UNKNOWN_COM_ERROR 08S01  */
128
N_("Unknown command"),
129
/* ER_BAD_NULL_ERROR 23000  */
130
N_("Column '%-.192s' cannot be null"),
131
/* ER_BAD_DB_ERROR 42000  */
132
N_("Unknown database '%-.192s'"),
133
/* ER_TABLE_EXISTS_ERROR 42S01  */
134
N_("Table '%-.192s' already exists"),
135
/* ER_BAD_TABLE_ERROR 42S02  */
136
N_("Unknown table '%-.100s'"),
137
/* ER_NON_UNIQ_ERROR 23000  */
138
N_("Column '%-.192s' in %-.192s is ambiguous"),
139
/* ER_SERVER_SHUTDOWN 08S01  */
140
N_("Server shutdown in progress"),
141
/* ER_BAD_FIELD_ERROR 42S22 S0022 */
142
N_("Unknown column '%-.192s' in '%-.192s'"),
143
/* ER_WRONG_FIELD_WITH_GROUP 42000 S1009 */
144
N_("'%-.192s' isn't in GROUP BY"),
145
/* ER_WRONG_GROUP_FIELD 42000 S1009 */
146
N_("Can't group on '%-.192s'"),
147
/* ER_WRONG_SUM_SELECT 42000 S1009 */
148
N_("Statement has sum functions and columns in same statement"),
149
/* ER_WRONG_VALUE_COUNT 21S01  */
150
N_("Column count doesn't match value count"),
151
/* ER_TOO_LONG_IDENT 42000 S1009 */
152
N_("Identifier name '%-.100s' is too long"),
153
/* ER_DUP_FIELDNAME 42S21 S1009 */
154
N_("Duplicate column name '%-.192s'"),
155
/* ER_DUP_KEYNAME 42000 S1009 */
156
N_("Duplicate key name '%-.192s'"),
157
/* ER_DUP_ENTRY 23000 S1009 */
158
N_("Duplicate entry '%-.192s' for key %d"),
159
/* ER_WRONG_FIELD_SPEC 42000 S1009 */
160
N_("Incorrect column specifier for column '%-.192s'"),
161
/* ER_PARSE_ERROR 42000 s1009 */
162
N_("%s near '%-.80s' at line %d"),
163
/* ER_EMPTY_QUERY 42000   */
164
N_("Query was empty"),
165
/* ER_NONUNIQ_TABLE 42000 S1009 */
166
N_("Not unique table/alias: '%-.192s'"),
167
/* ER_INVALID_DEFAULT 42000 S1009 */
168
N_("Invalid default value for '%-.192s'"),
169
/* ER_MULTIPLE_PRI_KEY 42000 S1009 */
170
N_("Multiple primary key defined"),
171
/* ER_TOO_MANY_KEYS 42000 S1009 */
172
N_("Too many keys specified; max %d keys allowed"),
173
/* ER_TOO_MANY_KEY_PARTS 42000 S1009 */
174
N_("Too many key parts specified; max %d parts allowed"),
175
/* ER_TOO_LONG_KEY 42000 S1009 */
176
N_("Specified key was too long; max key length is %d bytes"),
177
/* ER_KEY_COLUMN_DOES_NOT_EXITS 42000 S1009 */
178
N_("Key column '%-.192s' doesn't exist in table"),
179
/* ER_BLOB_USED_AS_KEY 42000 S1009 */
180
N_("BLOB column '%-.192s' can't be used in key specification with the used table type"),
181
/* ER_TOO_BIG_FIELDLENGTH 42000 S1009 */
182
N_("Column length too big for column '%-.192s' (max = %d); use BLOB or TEXT instead"),
183
/* ER_WRONG_AUTO_KEY 42000 S1009 */
184
N_("Incorrect table definition; there can be only one auto column and it must be defined as a key"),
185
/* ER_READY   */
186
N_("%s: ready for connections.\nVersion: '%s'  socket: '%s'  port: %d"),
187
/* ER_NORMAL_SHUTDOWN   */
188
N_("%s: Normal shutdown\n"),
189
/* ER_GOT_SIGNAL   */
190
N_("%s: Got signal %d. Aborting!\n"),
191
/* ER_SHUTDOWN_COMPLETE   */
192
N_("%s: Shutdown complete\n"),
193
/* ER_FORCING_CLOSE 08S01  */
194
N_("%s: Forcing close of thread %ld  user: '%-.48s'\n"),
195
/* ER_IPSOCK_ERROR 08S01  */
196
N_("Can't create IP socket"),
197
/* ER_NO_SUCH_INDEX 42S12 S1009 */
198
N_("Table '%-.192s' has no index like the one used in CREATE INDEX; recreate the table"),
199
/* ER_WRONG_FIELD_TERMINATORS 42000 S1009 */
685.4.6 by Jay Pipes
Fix for Bug#308457. Gave UTF8 enclosure and escape character on LOAD DATA INFILE and changed the error message to be more descriptive
200
N_("Field separator argument '%-.32s' with length '%d' is not what is expected; check the manual"),
549 by Monty Taylor
Took gettext.h out of header files.
201
/* ER_BLOBS_AND_NO_TERMINATED 42000 S1009 */
202
N_("You can't use fixed rowlength with BLOBs; please use 'fields terminated by'"),
203
/* ER_TEXTFILE_NOT_READABLE   */
204
N_("The file '%-.128s' must be in the database directory or be readable by all"),
205
/* ER_FILE_EXISTS_ERROR   */
206
N_("File '%-.200s' already exists"),
207
/* ER_LOAD_INFO   */
208
N_("Records: %ld  Deleted: %ld  Skipped: %ld  Warnings: %ld"),
209
/* ER_ALTER_INFO   */
210
N_("Records: %ld  Duplicates: %ld"),
211
/* ER_WRONG_SUB_KEY   */
212
N_("Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys"),
213
/* ER_CANT_REMOVE_ALL_FIELDS 42000  */
214
N_("You can't delete all columns with ALTER TABLE; use DROP TABLE instead"),
215
/* ER_CANT_DROP_FIELD_OR_KEY 42000  */
216
N_("Can't DROP '%-.192s'; check that column/key exists"),
217
/* ER_INSERT_INFO   */
218
N_("Records: %ld  Duplicates: %ld  Warnings: %ld"),
219
/* ER_UPDATE_TABLE_USED   */
220
N_("You can't specify target table '%-.192s' for update in FROM clause"),
221
/* ER_NO_SUCH_THREAD   */
222
N_("Unknown thread id: %lu"),
223
/* ER_KILL_DENIED_ERROR   */
224
N_("You are not owner of thread %lu"),
225
/* ER_NO_TABLES_USED   */
226
N_("No tables used"),
227
/* ER_TOO_BIG_SET   */
228
N_("Too many strings for column %-.192s and SET"),
229
/* ER_NO_UNIQUE_LOGFILE   */
230
N_("Can't generate a unique log-filename %-.200s.(1-999)\n"),
231
/* ER_TABLE_NOT_LOCKED_FOR_WRITE   */
232
N_("Table '%-.192s' was locked with a READ lock and can't be updated"),
233
/* ER_TABLE_NOT_LOCKED   */
234
N_("Table '%-.192s' was not locked with LOCK TABLES"),
235
/* ER_BLOB_CANT_HAVE_DEFAULT 42000  */
236
N_("BLOB/TEXT column '%-.192s' can't have a default value"),
237
/* ER_WRONG_DB_NAME 42000  */
238
N_("Incorrect database name '%-.100s'"),
239
/* ER_WRONG_TABLE_NAME 42000  */
240
N_("Incorrect table name '%-.100s'"),
241
/* ER_TOO_BIG_SELECT 42000  */
673.3.24 by Stewart Smith
fix select_safe and http://bugs.mysql.com/bug.php?id=32250 (but for Drizzle)
242
N_("The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay"),
549 by Monty Taylor
Took gettext.h out of header files.
243
/* ER_UNKNOWN_ERROR   */
244
N_("Unknown error"),
245
/* ER_UNKNOWN_PROCEDURE 42000  */
246
N_("Unknown procedure '%-.192s'"),
247
/* ER_WRONG_PARAMCOUNT_TO_PROCEDURE 42000  */
248
N_("Incorrect parameter count to procedure '%-.192s'"),
249
/* ER_WRONG_PARAMETERS_TO_PROCEDURE   */
250
N_("Incorrect parameters to procedure '%-.192s'"),
251
/* ER_UNKNOWN_TABLE 42S02  */
252
N_("Unknown table '%-.192s' in %-.32s"),
253
/* ER_FIELD_SPECIFIED_TWICE 42000  */
254
N_("Column '%-.192s' specified twice"),
255
/* ER_INVALID_GROUP_FUNC_USE   */
256
N_("Invalid use of group function"),
257
/* ER_UNSUPPORTED_EXTENSION 42000  */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
258
N_("Table '%-.192s' uses an extension that doesn't exist in this Drizzle version"),
549 by Monty Taylor
Took gettext.h out of header files.
259
/* ER_TABLE_MUST_HAVE_COLUMNS 42000  */
260
N_("A table must have at least 1 column"),
261
/* ER_RECORD_FILE_FULL   */
262
N_("The table '%-.192s' is full"),
263
/* ER_UNKNOWN_CHARACTER_SET 42000  */
264
N_("Unknown character set: '%-.64s'"),
265
/* ER_TOO_MANY_TABLES   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
266
N_("Too many tables; Drizzle can only use %d tables in a join"),
549 by Monty Taylor
Took gettext.h out of header files.
267
/* ER_TOO_MANY_FIELDS   */
268
N_("Too many columns"),
269
/* ER_TOO_BIG_ROWSIZE 42000  */
270
N_("Row size too large. The maximum row size for the used table type, not counting BLOBs, is %ld. You have to change some columns to TEXT or BLOBs"),
271
/* ER_STACK_OVERRUN   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
272
N_("Thread stack overrun:  Used: %ld of a %ld stack.  Use 'drizzled -O thread_stack=#' to specify a bigger stack if needed"),
549 by Monty Taylor
Took gettext.h out of header files.
273
/* ER_WRONG_OUTER_JOIN 42000  */
274
N_("Cross dependency found in OUTER JOIN; examine your ON conditions"),
275
/* ER_NULL_COLUMN_IN_INDEX 42000  */
276
N_("Table handler doesn't support NULL in given index. Please change column '%-.192s' to be NOT NULL or use another handler"),
277
/* ER_CANT_FIND_UDF   */
278
N_("Can't load function '%-.192s'"),
279
/* ER_CANT_INITIALIZE_UDF   */
280
N_("Can't initialize function '%-.192s'; %-.80s"),
281
/* ER_UDF_NO_PATHS   */
282
N_("No paths allowed for shared library"),
283
/* ER_UDF_EXISTS   */
284
N_("Function '%-.192s' already exists"),
285
/* ER_CANT_OPEN_LIBRARY   */
286
N_("Can't open shared library '%-.192s' (errno: %d %-.128s)"),
287
/* ER_CANT_FIND_DL_ENTRY */
288
N_("Can't find symbol '%-.128s' in library"),
289
/* ER_FUNCTION_NOT_DEFINED   */
290
N_("Function '%-.192s' is not defined"),
291
/* ER_HOST_IS_BLOCKED   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
292
N_("Host '%-.64s' is blocked because of many connection errors; unblock with 'drizzleadmin flush-hosts'"),
549 by Monty Taylor
Took gettext.h out of header files.
293
/* ER_HOST_NOT_PRIVILEGED   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
294
N_("Host '%-.64s' is not allowed to connect to this Drizzle server"),
549 by Monty Taylor
Took gettext.h out of header files.
295
/* ER_PASSWORD_ANONYMOUS_USER 42000  */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
296
N_("You are using Drizzle as an anonymous user and anonymous users are not allowed to change passwords"),
549 by Monty Taylor
Took gettext.h out of header files.
297
/* ER_PASSWORD_NOT_ALLOWED 42000  */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
298
N_("You must have privileges to update tables in the drizzle database to be able to change passwords for others"),
549 by Monty Taylor
Took gettext.h out of header files.
299
/* ER_PASSWORD_NO_MATCH 42000  */
300
N_("Can't find any matching row in the user table"),
301
/* ER_UPDATE_INFO   */
302
N_("Rows matched: %ld  Changed: %ld  Warnings: %ld"),
303
/* ER_CANT_CREATE_THREAD   */
304
N_("Can't create a new thread (errno %d); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug"),
305
/* ER_WRONG_VALUE_COUNT_ON_ROW 21S01  */
306
N_("Column count doesn't match value count at row %ld"),
307
/* ER_CANT_REOPEN_TABLE   */
308
N_("Can't reopen table: '%-.192s'"),
309
/* ER_INVALID_USE_OF_NULL 22004  */
310
N_("Invalid use of NULL value"),
311
/* ER_REGEXP_ERROR 42000  */
312
N_("Got error '%-.64s' from regexp"),
313
/* ER_MIX_OF_GROUP_FUNC_AND_FIELDS 42000  */
314
N_("Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause"),
315
/* ER_NONEXISTING_GRANT 42000  */
316
N_("There is no such grant defined for user '%-.48s' on host '%-.64s'"),
317
/* ER_TABLEACCESS_DENIED_ERROR 42000  */
318
N_("%-.16s command denied to user '%-.48s'@'%-.64s' for table '%-.192s'"),
319
/* ER_COLUMNACCESS_DENIED_ERROR 42000  */
320
N_("%-.16s command denied to user '%-.48s'@'%-.64s' for column '%-.192s' in table '%-.192s'"),
321
/* ER_ILLEGAL_GRANT_FOR_TABLE 42000  */
322
N_("Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used"),
323
/* ER_GRANT_WRONG_HOST_OR_USER 42000  */
324
N_("The host or user argument to GRANT is too long"),
325
/* ER_NO_SUCH_TABLE 42S02  */
326
N_("Table '%-.192s.%-.192s' doesn't exist"),
327
/* ER_NONEXISTING_TABLE_GRANT 42000  */
328
N_("There is no such grant defined for user '%-.48s' on host '%-.64s' on table '%-.192s'"),
329
/* ER_NOT_ALLOWED_COMMAND 42000  */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
330
N_("The used command is not allowed with this Drizzle version"),
549 by Monty Taylor
Took gettext.h out of header files.
331
/* ER_SYNTAX_ERROR 42000  */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
332
N_("You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use"),
549 by Monty Taylor
Took gettext.h out of header files.
333
/* ER_DELAYED_CANT_CHANGE_LOCK   */
334
N_("Delayed insert thread couldn't get requested lock for table %-.192s"),
335
/* ER_TOO_MANY_DELAYED_THREADS   */
336
N_("Too many delayed threads in use"),
337
/* ER_ABORTING_CONNECTION 08S01  */
338
N_("Aborted connection %ld to db: '%-.192s' user: '%-.48s' (%-.64s)"),
339
/* ER_NET_PACKET_TOO_LARGE 08S01  */
340
N_("Got a packet bigger than 'max_allowed_packet' bytes"),
341
/* ER_NET_READ_ERROR_FROM_PIPE 08S01  */
342
N_("Got a read error from the connection pipe"),
343
/* ER_NET_FCNTL_ERROR 08S01  */
344
N_("Got an error from fcntl()"),
345
/* ER_NET_PACKETS_OUT_OF_ORDER 08S01  */
346
N_("Got packets out of order"),
347
/* ER_NET_UNCOMPRESS_ERROR 08S01  */
348
N_("Couldn't uncompress communication packet"),
349
/* ER_NET_READ_ERROR 08S01  */
350
N_("Got an error reading communication packets"),
351
/* ER_NET_READ_INTERRUPTED 08S01  */
352
N_("Got timeout reading communication packets"),
353
/* ER_NET_ERROR_ON_WRITE 08S01  */
354
N_("Got an error writing communication packets"),
355
/* ER_NET_WRITE_INTERRUPTED 08S01  */
356
N_("Got timeout writing communication packets"),
357
/* ER_TOO_LONG_STRING 42000  */
358
N_("Result string is longer than 'max_allowed_packet' bytes"),
359
/* ER_TABLE_CANT_HANDLE_BLOB 42000  */
360
N_("The used table type doesn't support BLOB/TEXT columns"),
361
/* ER_TABLE_CANT_HANDLE_AUTO_INCREMENT 42000  */
362
N_("The used table type doesn't support AUTO_INCREMENT columns"),
363
/* ER_DELAYED_INSERT_TABLE_LOCKED   */
364
N_("INSERT DELAYED can't be used with table '%-.192s' because it is locked with LOCK TABLES"),
365
/* ER_WRONG_COLUMN_NAME 42000  */
366
N_("Incorrect column name '%-.100s'"),
367
/* ER_WRONG_KEY_COLUMN 42000  */
368
N_("The used storage engine can't index column '%-.192s'"),
369
/* ER_WRONG_MRG_TABLE   */
370
N_("Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist"),
371
/* ER_DUP_UNIQUE 23000  */
372
N_("Can't write, because of unique constraint, to table '%-.192s'"),
373
/* ER_BLOB_KEY_WITHOUT_LENGTH 42000  */
374
N_("BLOB/TEXT column '%-.192s' used in key specification without a key length"),
375
/* ER_PRIMARY_CANT_HAVE_NULL 42000  */
376
N_("All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead"),
377
/* ER_TOO_MANY_ROWS 42000  */
378
N_("Result consisted of more than one row"),
379
/* ER_REQUIRES_PRIMARY_KEY 42000  */
380
N_("This table type requires a primary key"),
381
/* ER_NO_RAID_COMPILED   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
382
N_("This version of Drizzle is not compiled with RAID support"),
549 by Monty Taylor
Took gettext.h out of header files.
383
/* ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE   */
384
N_("You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column"),
385
/* ER_KEY_DOES_NOT_EXITS 42000 S1009 */
386
N_("Key '%-.192s' doesn't exist in table '%-.192s'"),
387
/* ER_CHECK_NO_SUCH_TABLE 42000  */
388
N_("Can't open table"),
389
/* ER_CHECK_NOT_IMPLEMENTED 42000  */
390
N_("The storage engine for the table doesn't support %s"),
391
/* ER_CANT_DO_THIS_DURING_AN_TRANSACTION 25000  */
392
N_("You are not allowed to execute this command in a transaction"),
393
/* ER_ERROR_DURING_COMMIT   */
394
N_("Got error %d during COMMIT"),
395
/* ER_ERROR_DURING_ROLLBACK   */
396
N_("Got error %d during ROLLBACK"),
397
/* ER_ERROR_DURING_FLUSH_LOGS   */
398
N_("Got error %d during FLUSH_LOGS"),
399
/* ER_ERROR_DURING_CHECKPOINT   */
400
N_("Got error %d during CHECKPOINT"),
401
/* ER_NEW_ABORTING_CONNECTION 08S01  */
910.4.6 by Stewart Smith
Fix format string for error message. thread_id is int64_t.
402
N_("Aborted connection %"PRIi64" to db: '%-.192s' user: '%-.48s' host: '%-.64s' (%-.64s)"),
549 by Monty Taylor
Took gettext.h out of header files.
403
/* ER_DUMP_NOT_IMPLEMENTED   */
404
N_("The storage engine for the table does not support binary table dump"),
405
/* ER_FLUSH_MASTER_BINLOG_CLOSED   */
406
N_("Binlog closed, cannot RESET MASTER"),
407
/* ER_INDEX_REBUILD   */
408
N_("Failed rebuilding the index of  dumped table '%-.192s'"),
409
/* ER_MASTER   */
410
N_("Error from master: '%-.64s'"),
411
/* ER_MASTER_NET_READ 08S01  */
412
N_("Net error reading from master"),
413
/* ER_MASTER_NET_WRITE 08S01  */
414
N_("Net error writing to master"),
415
/* ER_FT_MATCHING_KEY_NOT_FOUND   */
416
N_("Can't find FULLTEXT index matching the column list"),
417
/* ER_LOCK_OR_ACTIVE_TRANSACTION   */
418
N_("Can't execute the given command because you have active locked tables or an active transaction"),
419
/* ER_UNKNOWN_SYSTEM_VARIABLE   */
420
N_("Unknown system variable '%-.64s'"),
421
/* ER_CRASHED_ON_USAGE   */
422
N_("Table '%-.192s' is marked as crashed and should be repaired"),
423
/* ER_CRASHED_ON_REPAIR   */
424
N_("Table '%-.192s' is marked as crashed and last (automatic?) repair failed"),
425
/* ER_WARNING_NOT_COMPLETE_ROLLBACK   */
426
N_("Some non-transactional changed tables couldn't be rolled back"),
427
/* ER_TRANS_CACHE_FULL   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
428
N_("Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this drizzled variable and try again"),
549 by Monty Taylor
Took gettext.h out of header files.
429
/* ER_SLAVE_MUST_STOP   */
430
N_("This operation cannot be performed with a running slave; run STOP SLAVE first"),
431
/* ER_SLAVE_NOT_RUNNING   */
432
N_("This operation requires a running slave; configure slave and do START SLAVE"),
433
/* ER_BAD_SLAVE   */
434
N_("The server is not configured as slave; fix with CHANGE MASTER TO"),
435
/* ER_MASTER_INFO   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
436
N_("Could not initialize master info structure; more error messages can be found in the Drizzle error log"),
549 by Monty Taylor
Took gettext.h out of header files.
437
/* ER_SLAVE_THREAD   */
438
N_("Could not create slave thread; check system resources"),
439
/* ER_TOO_MANY_USER_CONNECTIONS 42000  */
440
N_("User %-.64s already has more than 'max_user_connections' active connections"),
441
/* ER_SET_CONSTANTS_ONLY   */
442
N_("You may only use constant expressions with SET"),
443
/* ER_LOCK_WAIT_TIMEOUT   */
444
N_("Lock wait timeout exceeded; try restarting transaction"),
445
/* ER_LOCK_TABLE_FULL   */
446
N_("The total number of locks exceeds the lock table size"),
447
/* ER_READ_ONLY_TRANSACTION 25000  */
448
N_("Update locks cannot be acquired during a READ UNCOMMITTED transaction"),
449
/* ER_DROP_DB_WITH_READ_LOCK   */
450
N_("DROP DATABASE not allowed while thread is holding global read lock"),
451
/* ER_CREATE_DB_WITH_READ_LOCK   */
452
N_("CREATE DATABASE not allowed while thread is holding global read lock"),
453
/* ER_WRONG_ARGUMENTS   */
454
N_("Incorrect arguments to %s"),
455
/* ER_NO_PERMISSION_TO_CREATE_USER 42000  */
456
N_("'%-.48s'@'%-.64s' is not allowed to create new users"),
457
/* ER_UNION_TABLES_IN_DIFFERENT_DIR   */
458
N_("Incorrect table definition; all MERGE tables must be in the same database"),
459
/* ER_LOCK_DEADLOCK 40001  */
460
N_("Deadlock found when trying to get lock; try restarting transaction"),
461
/* ER_TABLE_CANT_HANDLE_FT   */
462
N_("The used table type doesn't support FULLTEXT indexes"),
463
/* ER_CANNOT_ADD_FOREIGN   */
464
N_("Cannot add foreign key constraint"),
465
/* ER_NO_REFERENCED_ROW 23000  */
466
N_("Cannot add or update a child row: a foreign key constraint fails"),
467
/* ER_ROW_IS_REFERENCED 23000  */
468
N_("Cannot delete or update a parent row: a foreign key constraint fails"),
469
/* ER_CONNECT_TO_MASTER 08S01  */
470
N_("Error connecting to master: %-.128s"),
471
/* ER_QUERY_ON_MASTER   */
472
N_("Error running query on master: %-.128s"),
473
/* ER_ERROR_WHEN_EXECUTING_COMMAND   */
474
N_("Error when executing command %s: %-.128s"),
475
/* ER_WRONG_USAGE   */
476
N_("Incorrect usage of %s and %s"),
477
/* ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT 21000  */
478
N_("The used SELECT statements have a different number of columns"),
479
/* ER_CANT_UPDATE_WITH_READLOCK   */
480
N_("Can't execute the query because you have a conflicting read lock"),
481
/* ER_MIXING_NOT_ALLOWED   */
482
N_("Mixing of transactional and non-transactional tables is disabled"),
483
/* ER_DUP_ARGUMENT   */
484
N_("Option '%s' used twice in statement"),
485
/* ER_USER_LIMIT_REACHED 42000  */
486
N_("User '%-.64s' has exceeded the '%s' resource (current value: %ld)"),
487
/* ER_SPECIFIC_ACCESS_DENIED_ERROR 42000  */
488
N_("Access denied; you need the %-.128s privilege for this operation"),
489
/* ER_LOCAL_VARIABLE   */
490
N_("Variable '%-.64s' is a SESSION variable and can't be used with SET GLOBAL"),
491
/* ER_GLOBAL_VARIABLE   */
492
N_("Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL"),
493
/* ER_NO_DEFAULT 42000  */
494
N_("Variable '%-.64s' doesn't have a default value"),
495
/* ER_WRONG_VALUE_FOR_VAR 42000  */
496
N_("Variable '%-.64s' can't be set to the value of '%-.200s'"),
497
/* ER_WRONG_TYPE_FOR_VAR 42000  */
498
N_("Incorrect argument type to variable '%-.64s'"),
499
/* ER_VAR_CANT_BE_READ   */
500
N_("Variable '%-.64s' can only be set, not read"),
501
/* ER_CANT_USE_OPTION_HERE 42000  */
502
N_("Incorrect usage/placement of '%s'"),
503
/* ER_NOT_SUPPORTED_YET 42000  */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
504
N_("This version of Drizzle doesn't yet support '%s'"),
549 by Monty Taylor
Took gettext.h out of header files.
505
/* ER_MASTER_FATAL_ERROR_READING_BINLOG   */
506
N_("Got fatal error %d: '%-.128s' from master when reading data from binary log"),
507
/* ER_SLAVE_IGNORED_TABLE   */
508
N_("Slave SQL thread ignored the query because of replicate-*-table rules"),
509
/* ER_INCORRECT_GLOBAL_LOCAL_VAR   */
510
N_("Variable '%-.192s' is a %s variable"),
511
/* ER_WRONG_FK_DEF 42000  */
512
N_("Incorrect foreign key definition for '%-.192s': %s"),
513
/* ER_KEY_REF_DO_NOT_MATCH_TABLE_REF   */
514
N_("Key reference and table reference don't match"),
515
/* ER_OPERAND_COLUMNS 21000  */
516
N_("Operand should contain %d column(s)"),
517
/* ER_SUBQUERY_NO_1_ROW 21000  */
518
N_("Subquery returns more than 1 row"),
519
/* ER_UNKNOWN_STMT_HANDLER   */
520
N_("Unknown prepared statement handler (%.*s) given to %s"),
521
/* ER_CORRUPT_HELP_DB   */
522
N_("Help database is corrupt or does not exist"),
523
/* ER_CYCLIC_REFERENCE   */
524
N_("Cyclic reference on subqueries"),
525
/* ER_AUTO_CONVERT   */
526
N_("Converting column '%s' from %s to %s"),
527
/* ER_ILLEGAL_REFERENCE 42S22  */
528
N_("Reference '%-.64s' not supported (%s)"),
529
/* ER_DERIVED_MUST_HAVE_ALIAS 42000  */
530
N_("Every derived table must have its own alias"),
531
/* ER_SELECT_REDUCED 01000  */
532
N_("Select %u was reduced during optimization"),
533
/* ER_TABLENAME_NOT_ALLOWED_HERE 42000  */
534
N_("Table '%-.192s' from one of the SELECTs cannot be used in %-.32s"),
535
/* ER_NOT_SUPPORTED_AUTH_MODE 08004  */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
536
N_("Client does not support authentication protocol requested by server; consider upgrading Drizzle client"),
549 by Monty Taylor
Took gettext.h out of header files.
537
/* ER_SPATIAL_CANT_HAVE_NULL 42000  */
538
N_("All parts of a SPATIAL index must be NOT NULL"),
539
/* ER_COLLATION_CHARSET_MISMATCH 42000  */
540
N_("COLLATION '%s' is not valid for CHARACTER SET '%s'"),
541
/* ER_SLAVE_WAS_RUNNING   */
542
N_("Slave is already running"),
543
/* ER_SLAVE_WAS_NOT_RUNNING   */
544
N_("Slave already has been stopped"),
545
/* ER_TOO_BIG_FOR_UNCOMPRESS   */
546
N_("Uncompressed data size too large; the maximum size is %d (probably, length of uncompressed data was corrupted)"),
547
/* ER_ZLIB_Z_MEM_ERROR   */
548
N_("ZLIB: Not enough memory"),
549
/* ER_ZLIB_Z_BUF_ERROR   */
550
N_("ZLIB: Not enough room in the output buffer (probably, length of uncompressed data was corrupted)"),
551
/* ER_ZLIB_Z_DATA_ERROR   */
552
N_("ZLIB: Input data corrupted"),
553
/* ER_CUT_VALUE_GROUP_CONCAT   */
554
N_("%d line(s) were cut by GROUP_CONCAT()"),
555
/* ER_WARN_TOO_FEW_RECORDS 01000  */
556
N_("Row %ld doesn't contain data for all columns"),
557
/* ER_WARN_TOO_MANY_RECORDS 01000  */
558
N_("Row %ld was truncated; it contained more data than there were input columns"),
559
/* ER_WARN_NULL_TO_NOTNULL 22004  */
560
N_("Column set to default value; NULL supplied to NOT NULL column '%s' at row %ld"),
561
/* ER_WARN_DATA_OUT_OF_RANGE 22003  */
562
N_("Out of range value for column '%s' at row %ld"),
563
/* WARN_DATA_TRUNCATED 01000  */
564
N_("Data truncated for column '%s' at row %ld"),
565
/* ER_WARN_USING_OTHER_HANDLER   */
566
N_("Using storage engine %s for table '%s'"),
567
/* ER_CANT_AGGREGATE_2COLLATIONS   */
568
N_("Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'"),
569
/* ER_DROP_USER   */
570
N_("Cannot drop one or more of the requested users"),
571
/* ER_REVOKE_GRANTS   */
572
N_("Can't revoke all privileges for one or more of the requested users"),
573
/* ER_CANT_AGGREGATE_3COLLATIONS   */
574
N_("Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'"),
575
/* ER_CANT_AGGREGATE_NCOLLATIONS   */
576
N_("Illegal mix of collations for operation '%s'"),
577
/* ER_VARIABLE_IS_NOT_STRUCT   */
578
N_("Variable '%-.64s' is not a variable component (can't be used as XXXX.variable_name)"),
579
/* ER_UNKNOWN_COLLATION   */
580
N_("Unknown collation: '%-.64s'"),
581
/* ER_SLAVE_IGNORED_SSL_PARAMS   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
582
N_("SSL parameters in CHANGE MASTER are ignored because this Drizzle slave was compiled without SSL support; they can be used later if Drizzle slave with SSL is started"),
549 by Monty Taylor
Took gettext.h out of header files.
583
/* ER_SERVER_IS_IN_SECURE_AUTH_MODE   */
584
N_("Server is running in --secure-auth mode, but '%s'@'%s' has a password in the old format; please change the password to the new format"),
585
/* ER_WARN_FIELD_RESOLVED   */
586
N_("Field or reference '%-.192s%s%-.192s%s%-.192s' of SELECT #%d was resolved in SELECT #%d"),
587
/* ER_BAD_SLAVE_UNTIL_COND   */
588
N_("Incorrect parameter or combination of parameters for START SLAVE UNTIL"),
589
/* ER_MISSING_SKIP_SLAVE   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
590
N_("It is recommended to use --skip-slave-start when doing step-by-step replication with START SLAVE UNTIL; otherwise, you will get problems if you get an unexpected slave's drizzled restart"),
549 by Monty Taylor
Took gettext.h out of header files.
591
/* ER_UNTIL_COND_IGNORED   */
592
N_("SQL thread is not to be started so UNTIL options are ignored"),
593
/* ER_WRONG_NAME_FOR_INDEX 42000  */
594
N_("Incorrect index name '%-.100s'"),
595
/* ER_WRONG_NAME_FOR_CATALOG 42000  */
596
N_("Incorrect catalog name '%-.100s'"),
597
/* ER_WARN_QC_RESIZE   */
598
N_("Query cache failed to set size %lu; new query cache size is %lu"),
599
/* ER_BAD_FT_COLUMN   */
600
N_("Column '%-.192s' cannot be part of FULLTEXT index"),
601
/* ER_UNKNOWN_KEY_CACHE   */
602
N_("Unknown key cache '%-.100s'"),
603
/* ER_WARN_HOSTNAME_WONT_WORK   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
604
N_("Drizzle is started in --skip-name-resolve mode; you must restart it without this switch for this grant to work"),
549 by Monty Taylor
Took gettext.h out of header files.
605
/* ER_UNKNOWN_STORAGE_ENGINE 42000  */
606
N_("Unknown table engine '%s'"),
607
/* ER_WARN_DEPRECATED_SYNTAX   */
608
N_("'%s' is deprecated; use '%s' instead"),
609
/* ER_NON_UPDATABLE_TABLE   */
610
N_("The target table %-.100s of the %s is not updatable"),
611
/* ER_FEATURE_DISABLED   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
612
N_("The '%s' feature is disabled; you need Drizzle built with '%s' to have it working"),
549 by Monty Taylor
Took gettext.h out of header files.
613
/* ER_OPTION_PREVENTS_STATEMENT   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
614
N_("The Drizzle server is running with the %s option so it cannot execute this statement"),
549 by Monty Taylor
Took gettext.h out of header files.
615
/* ER_DUPLICATED_VALUE_IN_TYPE   */
616
N_("Column '%-.100s' has duplicated value '%-.64s' in %s"),
617
/* ER_TRUNCATED_WRONG_VALUE 22007  */
618
N_("Truncated incorrect %-.32s value: '%-.128s'"),
619
/* ER_TOO_MUCH_AUTO_TIMESTAMP_COLS   */
620
N_("Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause"),
621
/* ER_INVALID_ON_UPDATE   */
622
N_("Invalid ON UPDATE clause for '%-.192s' column"),
623
/* ER_UNSUPPORTED_PS   */
624
N_("This command is not supported in the prepared statement protocol yet"),
625
/* ER_GET_ERRMSG   */
626
N_("Got error %d '%-.100s' from %s"),
627
/* ER_GET_TEMPORARY_ERRMSG   */
628
N_("Got temporary error %d '%-.100s' from %s"),
629
/* ER_UNKNOWN_TIME_ZONE   */
630
N_("Unknown or incorrect time zone: '%-.64s'"),
631
/* ER_WARN_INVALID_TIMESTAMP   */
632
N_("Invalid TIMESTAMP value in column '%s' at row %ld"),
633
/* ER_INVALID_CHARACTER_STRING   */
634
N_("Invalid %s character string: '%.64s'"),
635
/* ER_WARN_ALLOWED_PACKET_OVERFLOWED   */
636
N_("Result of %s() was larger than max_allowed_packet (%ld) - truncated"),
637
/* ER_CONFLICTING_DECLARATIONS   */
638
N_("Conflicting declarations: '%s%s' and '%s%s'"),
639
/* ER_SP_NO_RECURSIVE_CREATE 2F003  */
640
N_("Can't create a %s from within another stored routine"),
641
/* ER_SP_ALREADY_EXISTS 42000  */
642
N_("%s %s already exists"),
643
/* ER_SP_DOES_NOT_EXIST 42000  */
644
N_("%s %s does not exist"),
645
/* ER_SP_DROP_FAILED   */
646
N_("Failed to DROP %s %s"),
647
/* ER_SP_STORE_FAILED   */
648
N_("Failed to CREATE %s %s"),
649
/* ER_SP_LILABEL_MISMATCH 42000  */
650
N_("%s with no matching label: %s"),
651
/* ER_SP_LABEL_REDEFINE 42000  */
652
N_("Redefining label %s"),
653
/* ER_SP_LABEL_MISMATCH 42000  */
654
N_("End-label %s without match"),
655
/* ER_SP_UNINIT_VAR 01000  */
656
N_("Referring to uninitialized variable %s"),
657
/* ER_SP_BADSELECT 0A000  */
658
N_("PROCEDURE %s can't return a result set in the given context"),
659
/* ER_SP_BADRETURN 42000  */
660
N_("RETURN is only allowed in a FUNCTION"),
661
/* ER_SP_BADSTATEMENT 0A000  */
662
N_("%s is not allowed in stored procedures"),
663
/* ER_UPDATE_LOG_DEPRECATED_IGNORED 42000  */
664
N_("The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored"),
665
/* ER_UPDATE_LOG_DEPRECATED_TRANSLATED 42000  */
666
N_("The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN"),
667
/* ER_QUERY_INTERRUPTED 70100  */
668
N_("Query execution was interrupted"),
669
/* ER_SP_WRONG_NO_OF_ARGS 42000  */
670
N_("Incorrect number of arguments for %s %s; expected %u, got %u"),
671
/* ER_SP_COND_MISMATCH 42000  */
672
N_("Undefined CONDITION: %s"),
673
/* ER_SP_NORETURN 42000  */
674
N_("No RETURN found in FUNCTION %s"),
675
/* ER_SP_NORETURNEND 2F005  */
676
N_("FUNCTION %s ended without RETURN"),
677
/* ER_SP_BAD_CURSOR_QUERY 42000  */
678
N_("Cursor statement must be a SELECT"),
679
/* ER_SP_BAD_CURSOR_SELECT 42000  */
680
N_("Cursor SELECT must not have INTO"),
681
/* ER_SP_CURSOR_MISMATCH 42000  */
682
N_("Undefined CURSOR: %s"),
683
/* ER_SP_CURSOR_ALREADY_OPEN 24000  */
684
N_("Cursor is already open"),
685
/* ER_SP_CURSOR_NOT_OPEN 24000  */
686
N_("Cursor is not open"),
687
/* ER_SP_UNDECLARED_VAR 42000  */
688
N_("Undeclared variable: %s"),
689
/* ER_SP_WRONG_NO_OF_FETCH_ARGS   */
690
N_("Incorrect number of FETCH variables"),
691
/* ER_SP_FETCH_NO_DATA 02000  */
692
N_("No data - zero rows fetched, selected, or processed"),
693
/* ER_SP_DUP_PARAM 42000  */
694
N_("Duplicate parameter: %s"),
695
/* ER_SP_DUP_VAR 42000  */
696
N_("Duplicate variable: %s"),
697
/* ER_SP_DUP_COND 42000  */
698
N_("Duplicate condition: %s"),
699
/* ER_SP_DUP_CURS 42000  */
700
N_("Duplicate cursor: %s"),
701
/* ER_SP_CANT_ALTER   */
702
N_("Failed to ALTER %s %s"),
703
/* ER_SP_SUBSELECT_NYI 0A000  */
704
N_("Subquery value not supported"),
705
/* ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG 0A000 */
706
N_("%s is not allowed in stored function or trigger"),
707
/* ER_SP_VARCOND_AFTER_CURSHNDLR 42000  */
708
N_("Variable or condition declaration after cursor or handler declaration"),
709
/* ER_SP_CURSOR_AFTER_HANDLER 42000  */
710
N_("Cursor declaration after handler declaration"),
711
/* ER_SP_CASE_NOT_FOUND 20000  */
712
N_("Case not found for CASE statement"),
713
/* ER_FPARSER_TOO_BIG_FILE   */
714
N_("Configuration file '%-.192s' is too big"),
715
/* ER_FPARSER_BAD_HEADER   */
716
N_("Malformed file type header in file '%-.192s'"),
717
/* ER_FPARSER_EOF_IN_COMMENT   */
718
N_("Unexpected end of file while parsing comment '%-.200s'"),
719
/* ER_FPARSER_ERROR_IN_PARAMETER   */
720
N_("Error while parsing parameter '%-.192s' (line: '%-.192s')"),
721
/* ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER   */
722
N_("Unexpected end of file while skipping unknown parameter '%-.192s'"),
723
/* ER_VIEW_NO_EXPLAIN   */
724
N_("EXPLAIN/SHOW can not be issued; lacking privileges for underlying table"),
725
/* ER_FRM_UNKNOWN_TYPE   */
726
N_("File '%-.192s' has unknown type '%-.64s' in its header"),
727
/* ER_WRONG_OBJECT   */
728
N_("'%-.192s.%-.192s' is not %s"),
729
/* ER_NONUPDATEABLE_COLUMN   */
730
N_("Column '%-.192s' is not updatable"),
731
/* ER_VIEW_SELECT_DERIVED   */
732
N_("View's SELECT contains a subquery in the FROM clause"),
733
/* ER_VIEW_SELECT_CLAUSE   */
734
N_("View's SELECT contains a '%s' clause"),
735
/* ER_VIEW_SELECT_VARIABLE   */
736
N_("View's SELECT contains a variable or parameter"),
737
/* ER_VIEW_SELECT_TMPTABLE   */
738
N_("View's SELECT refers to a temporary table '%-.192s'"),
739
/* ER_VIEW_WRONG_LIST   */
740
N_("View's SELECT and view's field list have different column counts"),
741
/* ER_WARN_VIEW_MERGE   */
742
N_("View merge algorithm can't be used here for now (assumed undefined algorithm)"),
743
/* ER_WARN_VIEW_WITHOUT_KEY   */
744
N_("View being updated does not have complete key of underlying table in it"),
745
/* ER_VIEW_INVALID   */
746
N_("View '%-.192s.%-.192s' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them"),
747
/* ER_SP_NO_DROP_SP   */
748
N_("Can't drop or alter a %s from within another stored routine"),
749
/* ER_SP_GOTO_IN_HNDLR   */
750
N_("GOTO is not allowed in a stored procedure handler"),
751
/* ER_TRG_ALREADY_EXISTS   */
752
N_("Trigger already exists"),
753
/* ER_TRG_DOES_NOT_EXIST   */
754
N_("Trigger does not exist"),
755
/* ER_TRG_ON_VIEW_OR_TEMP_TABLE   */
756
N_("Trigger's '%-.192s' is view or temporary table"),
757
/* ER_TRG_CANT_CHANGE_ROW   */
758
N_("Updating of %s row is not allowed in %strigger"),
759
/* ER_TRG_NO_SUCH_ROW_IN_TRG   */
760
N_("There is no %s row in %s trigger"),
761
/* ER_NO_DEFAULT_FOR_FIELD   */
762
N_("Field '%-.192s' doesn't have a default value"),
763
/* ER_DIVISION_BY_ZERO 22012  */
764
N_("Division by 0"),
765
/* ER_TRUNCATED_WRONG_VALUE_FOR_FIELD   */
766
N_("Incorrect %-.32s value: '%-.128s' for column '%.192s' at row %u"),
767
/* ER_ILLEGAL_VALUE_FOR_TYPE 22007  */
768
N_("Illegal %s '%-.192s' value found during parsing"),
769
/* ER_VIEW_NONUPD_CHECK   */
770
N_("CHECK OPTION on non-updatable view '%-.192s.%-.192s'"),
771
/* ER_VIEW_CHECK_FAILED   */
772
N_("CHECK OPTION failed '%-.192s.%-.192s'"),
773
/* ER_PROCACCESS_DENIED_ERROR 42000  */
774
N_("%-.16s command denied to user '%-.48s'@'%-.64s' for routine '%-.192s'"),
775
/* ER_RELAY_LOG_FAIL   */
776
N_("Failed purging old relay logs: %s"),
777
/* ER_PASSWD_LENGTH   */
778
N_("Password hash should be a %d-digit hexadecimal number"),
779
/* ER_UNKNOWN_TARGET_BINLOG   */
780
N_("Target log not found in binlog index"),
781
/* ER_IO_ERR_LOG_INDEX_READ   */
782
N_("I/O error reading log index file"),
783
/* ER_BINLOG_PURGE_PROHIBITED   */
784
N_("Server configuration does not permit binlog purge"),
785
/* ER_FSEEK_FAIL   */
786
N_("Failed on fseek()"),
787
/* ER_BINLOG_PURGE_FATAL_ERR   */
788
N_("Fatal error during log purge"),
789
/* ER_LOG_IN_USE   */
790
N_("A purgeable log is in use, will not purge"),
791
/* ER_LOG_PURGE_UNKNOWN_ERR   */
792
N_("Unknown error during log purge"),
793
/* ER_RELAY_LOG_INIT   */
794
N_("Failed initializing relay log position: %s"),
795
/* ER_NO_BINARY_LOGGING   */
796
N_("You are not using binary logging"),
797
/* ER_RESERVED_SYNTAX   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
798
N_("The '%-.64s' syntax is reserved for purposes internal to the Drizzle server"),
549 by Monty Taylor
Took gettext.h out of header files.
799
/* ER_WSAS_FAILED   */
800
N_("WSAStartup Failed"),
801
/* ER_DIFF_GROUPS_PROC   */
802
N_("Can't handle procedures with different groups yet"),
803
/* ER_NO_GROUP_FOR_PROC   */
804
N_("Select must have a group with this procedure"),
805
/* ER_ORDER_WITH_PROC   */
806
N_("Can't use ORDER clause with this procedure"),
807
/* ER_LOGGING_PROHIBIT_CHANGING_OF   */
808
N_("Binary logging and replication forbid changing the global server %s"),
809
/* ER_NO_FILE_MAPPING   */
810
N_("Can't map file: %-.200s, errno: %d"),
811
/* ER_WRONG_MAGIC   */
812
N_("Wrong magic in %-.64s"),
813
/* ER_PS_MANY_PARAM   */
814
N_("Prepared statement contains too many placeholders"),
815
/* ER_KEY_PART_0   */
816
N_("Key part '%-.192s' length cannot be 0"),
817
/* ER_VIEW_CHECKSUM   */
818
N_("View text checksum failed"),
819
/* ER_VIEW_MULTIUPDATE   */
820
N_("Can not modify more than one base table through a join view '%-.192s.%-.192s'"),
821
/* ER_VIEW_NO_INSERT_FIELD_LIST   */
822
N_("Can not insert into join view '%-.192s.%-.192s' without fields list"),
823
/* ER_VIEW_DELETE_MERGE_VIEW   */
824
N_("Can not delete from join view '%-.192s.%-.192s'"),
825
/* ER_CANNOT_USER   */
826
N_("Operation %s failed for %.256s"),
827
/* ER_XAER_NOTA XAE04 */
828
N_("XAER_NOTA: Unknown XID"),
829
/* ER_XAER_INVAL XAE05 */
830
N_("XAER_INVAL: Invalid arguments (or unsupported command)"),
831
/* ER_XAER_RMFAIL XAE07 */
832
N_("XAER_RMFAIL: The command cannot be executed when global transaction is in the  %.64s state"),
833
/* ER_XAER_OUTSIDE XAE09 */
834
N_("XAER_OUTSIDE: Some work is done outside global transaction"),
835
/* ER_XAER_RMERR XAE03 */
836
N_("XAER_RMERR: Fatal error occurred in the transaction branch - check your data for consistency"),
837
/* ER_XA_RBROLLBACK XA100 */
838
N_("XA_RBROLLBACK: Transaction branch was rolled back"),
839
/* ER_NONEXISTING_PROC_GRANT 42000  */
840
N_("There is no such grant defined for user '%-.48s' on host '%-.64s' on routine '%-.192s'"),
841
/* ER_PROC_AUTO_GRANT_FAIL */
842
N_("Failed to grant EXECUTE and ALTER ROUTINE privileges"),
843
/* ER_PROC_AUTO_REVOKE_FAIL */
844
N_("Failed to revoke all privileges to dropped routine"),
845
/* ER_DATA_TOO_LONG 22001 */
846
N_("Data too long for column '%s' at row %ld"),
847
/* ER_SP_BAD_SQLSTATE 42000 */
848
N_("Bad SQLSTATE: '%s'"),
849
/* ER_STARTUP */
850
N_("%s: ready for connections.\nVersion: '%s'  socket: '%s'  port: %d  %s"),
851
/* ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR */
852
N_("Can't load value from file with fixed size rows to variable"),
853
/* ER_CANT_CREATE_USER_WITH_GRANT 42000 */
854
N_("You are not allowed to create a user with GRANT"),
855
/* ER_WRONG_VALUE_FOR_TYPE   */
856
N_("Incorrect %-.32s value: '%-.128s' for function %-.32s"),
857
/* ER_TABLE_DEF_CHANGED */
858
N_("Table definition has changed, please retry transaction"),
859
/* ER_SP_DUP_HANDLER 42000 */
860
N_("Duplicate handler declared in the same block"),
861
/* ER_SP_NOT_VAR_ARG 42000 */
862
N_("OUT or INOUT argument %d for routine %s is not a variable or NEW pseudo-variable in BEFORE trigger"),
863
/* ER_SP_NO_RETSET 0A000 */
864
N_("Not allowed to return a result set from a %s"),
865
/* ER_CANT_CREATE_GEOMETRY_OBJECT 22003  */
866
N_("Cannot get geometry object from data you send to the GEOMETRY field"),
867
/* ER_FAILED_ROUTINE_BREAK_BINLOG */
868
N_("A routine failed and has neither NO SQL nor READS SQL DATA in its declaration and binary logging is enabled; if non-transactional tables were updated, the binary log will miss their changes"),
869
/* ER_BINLOG_UNSAFE_ROUTINE */
870
N_("This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)"),
871
/* ER_BINLOG_CREATE_ROUTINE_NEED_SUPER */
872
N_("You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)"),
873
/* ER_EXEC_STMT_WITH_OPEN_CURSOR */
874
N_("You can't execute a prepared statement which has an open cursor associated with it. Reset the statement to re-execute it."),
875
/* ER_STMT_HAS_NO_OPEN_CURSOR */
876
N_("The statement (%lu) has no open cursor."),
877
/* ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG */
878
N_("Explicit or implicit commit is not allowed in stored function or trigger."),
879
/* ER_NO_DEFAULT_FOR_VIEW_FIELD */
880
N_("Field of view '%-.192s.%-.192s' underlying table doesn't have a default value"),
881
/* ER_SP_NO_RECURSION */
882
N_("Recursive stored functions and triggers are not allowed."),
883
/* ER_TOO_BIG_SCALE 42000 S1009 */
884
N_("Too big scale %d specified for column '%-.192s'. Maximum is %d."),
885
/* ER_TOO_BIG_PRECISION 42000 S1009 */
886
N_("Too big precision %d specified for column '%-.192s'. Maximum is %d."),
887
/* ER_M_BIGGER_THAN_D 42000 S1009 */
888
N_("For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column '%-.192s')."),
889
/* ER_WRONG_LOCK_OF_SYSTEM_TABLE */
890
N_("You can't combine write-locking of system tables with other tables or lock types"),
891
/* ER_CONNECT_TO_FOREIGN_DATA_SOURCE */
892
N_("Unable to connect to foreign data source: %.64s"),
893
/* ER_QUERY_ON_FOREIGN_DATA_SOURCE */
894
N_("There was a problem processing the query on the foreign data source. Data source error: %-.64s"),
895
/* ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST */
896
N_("The foreign data source you are trying to reference does not exist. Data source error:  %-.64s"),
897
/* ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE */
898
N_("Can't create federated table. The data source connection string '%-.64s' is not in the correct format"),
899
/* ER_FOREIGN_DATA_STRING_INVALID */
900
N_("The data source connection string '%-.64s' is not in the correct format"),
901
/* ER_CANT_CREATE_FEDERATED_TABLE   */
902
N_("Can't create federated table. Foreign data src error:  %-.64s"),
903
/* ER_TRG_IN_WRONG_SCHEMA   */
904
N_("Trigger in wrong schema"),
905
/* ER_STACK_OVERRUN_NEED_MORE */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
906
N_("Thread stack overrun:  %ld bytes used of a %ld byte stack, and %ld bytes needed.  Use 'drizzled -O thread_stack=#' to specify a bigger stack."),
549 by Monty Taylor
Took gettext.h out of header files.
907
/* ER_TOO_LONG_BODY 42000 S1009 */
908
N_("Routine body for '%-.100s' is too long"),
909
/* ER_WARN_CANT_DROP_DEFAULT_KEYCACHE */
910
N_("Cannot drop default keycache"),
911
/* ER_TOO_BIG_DISPLAYWIDTH 42000 S1009 */
912
N_("Display width out of range for column '%-.192s' (max = %d)"),
913
/* ER_XAER_DUPID XAE08 */
914
N_("XAER_DUPID: The XID already exists"),
915
/* ER_DATETIME_FUNCTION_OVERFLOW 22008 */
916
N_("Datetime function: %-.32s field overflow"),
917
/* ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG */
918
N_("Can't update table '%-.192s' in stored function/trigger because it is already used by statement which invoked this stored function/trigger."),
919
/* ER_VIEW_PREVENT_UPDATE */
920
N_("The definition of table '%-.192s' prevents operation %.192s on table '%-.192s'."),
921
/* ER_PS_NO_RECURSION */
922
N_("The prepared statement contains a stored routine call that refers to that same statement. It's not allowed to execute a prepared statement in such a recursive manner"),
923
/* ER_SP_CANT_SET_AUTOCOMMIT */
924
N_("Not allowed to set autocommit from a stored function or trigger"),
925
/* ER_MALFORMED_DEFINER */
926
N_("Definer is not fully qualified"),
927
/* ER_VIEW_FRM_NO_USER */
928
N_("View '%-.192s'.'%-.192s' has no definer information (old table format). Current user is used as definer. Please recreate the view!"),
929
/* ER_VIEW_OTHER_USER */
930
N_("You need the SUPER privilege for creation view with '%-.192s'@'%-.192s' definer"),
931
/* ER_NO_SUCH_USER */
932
N_("The user specified as a definer ('%-.64s'@'%-.64s') does not exist"),
933
/* ER_FORBID_SCHEMA_CHANGE */
934
N_("Changing schema from '%-.192s' to '%-.192s' is not allowed."),
935
/* ER_ROW_IS_REFERENCED_2 23000 */
936
N_("Cannot delete or update a parent row: a foreign key constraint fails (%.192s)"),
937
/* ER_NO_REFERENCED_ROW_2 23000 */
938
N_("Cannot add or update a child row: a foreign key constraint fails (%.192s)"),
939
/* ER_SP_BAD_VAR_SHADOW 42000 */
940
N_("Variable '%-.64s' must be quoted with `...`, or renamed"),
941
/* ER_TRG_NO_DEFINER */
942
N_("No definer attribute for trigger '%-.192s'.'%-.192s'. The trigger will be activated under the authorization of the invoker, which may have insufficient privileges. Please recreate the trigger."),
943
/* ER_OLD_FILE_FORMAT */
944
N_("'%-.192s' has an old format, you should re-create the '%s' object(s)"),
945
/* ER_SP_RECURSION_LIMIT */
946
N_("Recursive limit %d (as set by the max_sp_recursion_depth variable) was exceeded for routine %.192s"),
947
/* ER_SP_PROC_TABLE_CORRUPT */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
948
N_("Failed to load routine %-.192s. The table drizzle.proc is missing, corrupt, or contains bad data (internal code %d)"),
549 by Monty Taylor
Took gettext.h out of header files.
949
/* ER_SP_WRONG_NAME 42000 */
950
N_("Incorrect routine name '%-.192s'"),
951
/* ER_TABLE_NEEDS_UPGRADE */
952
N_("Table upgrade required. Please do \"REPAIR TABLE `%-.32s`\" to fix it!"),
953
/* ER_SP_NO_AGGREGATE 42000 */
954
N_("AGGREGATE is not supported for stored functions"),
955
/* ER_MAX_PREPARED_STMT_COUNT_REACHED 42000 */
956
N_("Can't create more than max_prepared_stmt_count statements (current value: %lu)"),
957
/* ER_VIEW_RECURSIVE */
958
N_("`%-.192s`.`%-.192s` contains view recursion"),
959
/* ER_NON_GROUPING_FIELD_USED 42000 */
960
N_("non-grouping field '%-.192s' is used in %-.64s clause"),
961
/* ER_TABLE_CANT_HANDLE_SPKEYS */
962
N_("The used table type doesn't support SPATIAL indexes"),
963
/* ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA */
964
N_("Triggers can not be created on system tables"),
965
/* ER_REMOVED_SPACES */
966
N_("Leading spaces are removed from name '%s'"),
967
/* ER_AUTOINC_READ_FAILED */
968
N_("Failed to read auto-increment value from storage engine"),
969
/* ER_USERNAME */
970
N_("user name"),
971
/* ER_HOSTNAME */
972
N_("host name"),
973
/* ER_WRONG_STRING_LENGTH */
974
N_("String '%-.70s' is too long for %s (should be no longer than %d)"),
975
/* ER_NON_INSERTABLE_TABLE   */
976
N_("The target table %-.100s of the %s is not insertable-into"),
977
/* ER_ADMIN_WRONG_MRG_TABLE */
978
N_("Table '%-.64s' is differently defined or of non-MyISAM type or doesn't exist"),
979
/* ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT */
980
N_("Too high level of nesting for select"),
981
/* ER_NAME_BECOMES_EMPTY */
982
N_("Name '%-.64s' has become ''"),
983
/* ER_AMBIGUOUS_FIELD_TERM */
984
N_("First character of the FIELDS TERMINATED string is ambiguous; please use non-optional and non-empty FIELDS ENCLOSED BY"),
985
/* ER_FOREIGN_SERVER_EXISTS */
986
N_("The foreign server, %s, you are trying to create already exists."),
987
/* ER_FOREIGN_SERVER_DOESNT_EXIST */
988
N_("The foreign server name you are trying to reference does not exist. Data source error:  %-.64s"),
989
/* ER_ILLEGAL_HA_CREATE_OPTION */
990
N_("Table storage engine '%-.64s' does not support the create option '%.64s'"),
991
/* ER_PARTITION_REQUIRES_VALUES_ERROR */
992
N_("Syntax error: %-.64s PARTITIONING requires definition of VALUES %-.64s for each partition"),
993
/* ER_PARTITION_WRONG_VALUES_ERROR */
994
N_("Only %-.64s PARTITIONING can use VALUES %-.64s in partition definition"),
995
/* ER_PARTITION_MAXVALUE_ERROR */
996
N_("MAXVALUE can only be used in last partition definition"),
997
/* ER_PARTITION_SUBPARTITION_ERROR */
998
N_("Subpartitions can only be hash partitions and by key"),
999
/* ER_PARTITION_SUBPART_MIX_ERROR */
1000
N_("Must define subpartitions on all partitions if on one partition"),
1001
/* ER_PARTITION_WRONG_NO_PART_ERROR */
1002
N_("Wrong number of partitions defined, mismatch with previous setting"),
1003
/* ER_PARTITION_WRONG_NO_SUBPART_ERROR */
1004
N_("Wrong number of subpartitions defined, mismatch with previous setting"),
1005
/* ER_CONST_EXPR_IN_PARTITION_FUNC_ERROR */
1006
N_("Constant/Random expression in (sub)partitioning function is not allowed"),
1007
/* ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR */
1008
N_("Expression in RANGE/LIST VALUES must be constant"),
1009
/* ER_FIELD_NOT_FOUND_PART_ERROR */
1010
N_("Field in list of fields for partition function not found in table"),
1011
/* ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR */
1012
N_("List of fields is only allowed in KEY partitions"),
1013
/* ER_INCONSISTENT_PARTITION_INFO_ERROR */
1014
N_("The partition info in the frm file is not consistent with what can be written into the frm file"),
1015
/* ER_PARTITION_FUNC_NOT_ALLOWED_ERROR */
1016
N_("The %-.192s function returns the wrong type"),
1017
/* ER_PARTITIONS_MUST_BE_DEFINED_ERROR */
1018
N_("For %-.64s partitions each partition must be defined"),
1019
/* ER_RANGE_NOT_INCREASING_ERROR */
1020
N_("VALUES LESS THAN value must be strictly increasing for each partition"),
1021
/* ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR */
1022
N_("VALUES value must be of same type as partition function"),
1023
/* ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR */
1024
N_("Multiple definition of same constant in list partitioning"),
1025
/* ER_PARTITION_ENTRY_ERROR */
1026
N_("Partitioning can not be used stand-alone in query"),
1027
/* ER_MIX_HANDLER_ERROR */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1028
N_("The mix of handlers in the partitions is not allowed in this version of Drizzle"),
549 by Monty Taylor
Took gettext.h out of header files.
1029
/* ER_PARTITION_NOT_DEFINED_ERROR */
1030
N_("For the partitioned engine it is necessary to define all %-.64s"),
1031
/* ER_TOO_MANY_PARTITIONS_ERROR */
1032
N_("Too many partitions (including subpartitions) were defined"),
1033
/* ER_SUBPARTITION_ERROR */
1034
N_("It is only possible to mix RANGE/LIST partitioning with HASH/KEY partitioning for subpartitioning"),
1035
/* ER_CANT_CREATE_HANDLER_FILE */
1036
N_("Failed to create specific handler file"),
1037
/* ER_BLOB_FIELD_IN_PART_FUNC_ERROR */
1038
N_("A BLOB field is not allowed in partition function"),
1039
/* ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF */
1040
N_("A %-.192s must include all columns in the table's partitioning function"),
1041
/* ER_NO_PARTS_ERROR */
1042
N_("Number of %-.64s = 0 is not an allowed value"),
1043
/* ER_PARTITION_MGMT_ON_NONPARTITIONED */
1044
N_("Partition management on a not partitioned table is not possible"),
1045
/* ER_FOREIGN_KEY_ON_PARTITIONED */
1046
N_("Foreign key condition is not yet supported in conjunction with partitioning"),
1047
/* ER_DROP_PARTITION_NON_EXISTENT */
1048
N_("Error in list of partitions to %-.64s"),
1049
/* ER_DROP_LAST_PARTITION */
1050
N_("Cannot remove all partitions, use DROP TABLE instead"),
1051
/* ER_COALESCE_ONLY_ON_HASH_PARTITION */
1052
N_("COALESCE PARTITION can only be used on HASH/KEY partitions"),
1053
/* ER_REORG_HASH_ONLY_ON_SAME_NO */
672.1.3 by Andrew Hutchings
Minor string fixes (mainly US English spelling and typos)
1054
N_("REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers"),
549 by Monty Taylor
Took gettext.h out of header files.
1055
/* ER_REORG_NO_PARAM_ERROR */
672.1.3 by Andrew Hutchings
Minor string fixes (mainly US English spelling and typos)
1056
N_("REORGANIZE PARTITION without parameters can only be used on auto-partitioned tables using HASH PARTITIONs"),
549 by Monty Taylor
Took gettext.h out of header files.
1057
/* ER_ONLY_ON_RANGE_LIST_PARTITION */
1058
N_("%-.64s PARTITION can only be used on RANGE/LIST partitions"),
1059
/* ER_ADD_PARTITION_SUBPART_ERROR */
1060
N_("Trying to Add partition(s) with wrong number of subpartitions"),
1061
/* ER_ADD_PARTITION_NO_NEW_PARTITION */
1062
N_("At least one partition must be added"),
1063
/* ER_COALESCE_PARTITION_NO_PARTITION */
1064
N_("At least one partition must be coalesced"),
1065
/* ER_REORG_PARTITION_NOT_EXIST */
672.1.3 by Andrew Hutchings
Minor string fixes (mainly US English spelling and typos)
1066
N_("More partitions to reorganize than there are partitions"),
549 by Monty Taylor
Took gettext.h out of header files.
1067
/* ER_SAME_NAME_PARTITION */
1068
N_("Duplicate partition name %-.192s"),
1069
/* ER_NO_BINLOG_ERROR */
1070
N_("It is not allowed to shut off binlog on this command"),
1071
/* ER_CONSECUTIVE_REORG_PARTITIONS */
672.1.3 by Andrew Hutchings
Minor string fixes (mainly US English spelling and typos)
1072
N_("When reorganizing a set of partitions they must be in consecutive order"),
549 by Monty Taylor
Took gettext.h out of header files.
1073
/* ER_REORG_OUTSIDE_RANGE */
1074
N_("Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range"),
1075
/* ER_PARTITION_FUNCTION_FAILURE */
1076
N_("Partition function not supported in this version for this handler"),
1077
/* ER_PART_STATE_ERROR */
1078
N_("Partition state cannot be defined from CREATE/ALTER TABLE"),
1079
/* ER_LIMITED_PART_RANGE */
1080
N_("The %-.64s handler only supports 32 bit integers in VALUES"),
1081
/* ER_PLUGIN_IS_NOT_LOADED */
1082
N_("Plugin '%-.192s' is not loaded"),
1083
/* ER_WRONG_VALUE */
1084
N_("Incorrect %-.32s value: '%-.128s'"),
1085
/* ER_NO_PARTITION_FOR_GIVEN_VALUE */
1086
N_("Table has no partition for value %-.64s"),
1087
/* ER_FILEGROUP_OPTION_ONLY_ONCE */
1088
N_("It is not allowed to specify %s more than once"),
1089
/* ER_CREATE_FILEGROUP_FAILED */
1090
N_("Failed to create %s"),
1091
/* ER_DROP_FILEGROUP_FAILED */
1092
N_("Failed to drop %s"),
1093
/* ER_TABLESPACE_AUTO_EXTEND_ERROR */
1094
N_("The handler doesn't support autoextend of tablespaces"),
1095
/* ER_WRONG_SIZE_NUMBER */
1096
N_("A size parameter was incorrectly specified, either number or on the form 10M"),
1097
/* ER_SIZE_OVERFLOW_ERROR */
1098
N_("The size number was correct but we don't allow the digit part to be more than 2 billion"),
1099
/* ER_ALTER_FILEGROUP_FAILED */
1100
N_("Failed to alter: %s"),
1101
/* ER_BINLOG_ROW_LOGGING_FAILED */
1102
N_("Writing one row to the row-based binary log failed"),
1103
/* ER_BINLOG_ROW_WRONG_TABLE_DEF */
1104
N_("Table definition on master and slave does not match: %s"),
1105
/* ER_BINLOG_ROW_RBR_TO_SBR */
1106
N_("Slave running with --log-slave-updates must use row-based binary logging to be able to replicate row-based binary log events"),
1107
/* ER_EVENT_ALREADY_EXISTS */
1108
N_("Event '%-.192s' already exists"),
1109
/* ER_EVENT_STORE_FAILED */
1110
N_("Failed to store event %s. Error code %d from storage engine."),
1111
/* ER_EVENT_DOES_NOT_EXIST */
1112
N_("Unknown event '%-.192s'"),
1113
/* ER_EVENT_CANT_ALTER */
1114
N_("Failed to alter event '%-.192s'"),
1115
/* ER_EVENT_DROP_FAILED */
1116
N_("Failed to drop %s"),
1117
/* ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG */
1118
N_("INTERVAL is either not positive or too big"),
1119
/* ER_EVENT_ENDS_BEFORE_STARTS */
1120
N_("ENDS is either invalid or before STARTS"),
1121
/* ER_EVENT_EXEC_TIME_IN_THE_PAST */
1122
N_("Event execution time is in the past. Event has been disabled"),
1123
/* ER_EVENT_OPEN_TABLE_FAILED */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1124
N_("Failed to open drizzle.event"),
549 by Monty Taylor
Took gettext.h out of header files.
1125
/* ER_EVENT_NEITHER_M_EXPR_NOR_M_AT */
1126
N_("No datetime expression provided"),
1127
/* ER_COL_COUNT_DOESNT_MATCH_CORRUPTED */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1128
N_("Column count of drizzle.%s is wrong. Expected %d, found %d. The table is probably corrupted"),
549 by Monty Taylor
Took gettext.h out of header files.
1129
/* ER_CANNOT_LOAD_FROM_TABLE */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1130
N_("Cannot load from drizzle.%s. The table is probably corrupted"),
549 by Monty Taylor
Took gettext.h out of header files.
1131
/* ER_EVENT_CANNOT_DELETE */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1132
N_("Failed to delete the event from drizzle.event"),
549 by Monty Taylor
Took gettext.h out of header files.
1133
/* ER_EVENT_COMPILE_ERROR */
1134
N_("Error during compilation of event's body"),
1135
/* ER_EVENT_SAME_NAME */
1136
N_("Same old and new event name"),
1137
/* ER_EVENT_DATA_TOO_LONG */
1138
N_("Data for column '%s' too long"),
1139
/* ER_DROP_INDEX_FK */
1140
N_("Cannot drop index '%-.192s': needed in a foreign key constraint"),
1141
/* ER_WARN_DEPRECATED_SYNTAX_WITH_VER   */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1142
N_("The syntax '%s' is deprecated and will be removed in Drizzle %s. Please use %s instead"),
549 by Monty Taylor
Took gettext.h out of header files.
1143
/* ER_CANT_WRITE_LOCK_LOG_TABLE */
1144
N_("You can't write-lock a log table. Only read access is possible"),
1145
/* ER_CANT_LOCK_LOG_TABLE */
1146
N_("You can't use locks with log tables."),
1147
/* ER_FOREIGN_DUPLICATE_KEY 23000 S1009 */
1148
N_("Upholding foreign key constraints for table '%.192s', entry '%-.192s', key %d would lead to a duplicate entry"),
1149
/* ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1150
N_("Column count of drizzle.%s is wrong. Expected %d, found %d. Created with Drizzle %d, now running %d. Please use drizzle_upgrade to fix this error."),
549 by Monty Taylor
Took gettext.h out of header files.
1151
/* ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR */
1152
N_("Cannot switch out of the row-based binary log format when the session has open temporary tables"),
1153
/* ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT */
1154
N_("Cannot change the binary logging format inside a stored function or trigger"),
1155
/* ER_NDB_CANT_SWITCH_BINLOG_FORMAT */
1156
N_("The NDB cluster engine does not support changing the binlog format on the fly yet"),
1157
/* ER_PARTITION_NO_TEMPORARY */
1158
N_("Cannot create temporary table with partitions"),
1159
/* ER_PARTITION_CONST_DOMAIN_ERROR */
1160
N_("Partition constant is out of partition function domain"),
1161
/* ER_PARTITION_FUNCTION_IS_NOT_ALLOWED */
1162
N_("This partition function is not allowed"),
1163
/* ER_DDL_LOG_ERROR */
1164
N_("Error in DDL log"),
1165
/* ER_NULL_IN_VALUES_LESS_THAN */
1166
N_("Not allowed to use NULL value in VALUES LESS THAN"),
1167
/* ER_WRONG_PARTITION_NAME */
1168
N_("Incorrect partition name"),
1169
/* ER_CANT_CHANGE_TX_ISOLATION 25001 */
1170
N_("Transaction isolation level can't be changed while a transaction is in progress"),
1171
/* ER_DUP_ENTRY_AUTOINCREMENT_CASE */
1172
N_("ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '%-.192s' for key '%-.192s'"),
1173
/* ER_EVENT_MODIFY_QUEUE_ERROR */
1174
N_("Internal scheduler error %d"),
1175
/* ER_EVENT_SET_VAR_ERROR */
1176
N_("Error during starting/stopping of the scheduler. Error code %u"),
1177
/* ER_PARTITION_MERGE_ERROR */
1178
N_("Engine cannot be used in partitioned tables"),
1179
/* ER_CANT_ACTIVATE_LOG */
1180
N_("Cannot activate '%-.64s' log"),
1181
/* ER_RBR_NOT_AVAILABLE */
1182
N_("The server was not built with row-based replication"),
1183
/* ER_BASE64_DECODE_ERROR */
1184
N_("Decoding of base64 string failed"),
1185
/* ER_EVENT_RECURSION_FORBIDDEN */
1186
N_("Recursion of EVENT DDL statements is forbidden when body is present"),
1187
/* ER_EVENTS_DB_ERROR */
1188
N_("Cannot proceed because system tables used by Event Scheduler were found damaged at server start"),
1189
/* ER_ONLY_INTEGERS_ALLOWED */
1190
N_("Only integers allowed as number here"),
1191
/* ER_UNSUPORTED_LOG_ENGINE */
1192
N_("This storage engine cannot be used for log tables"),
1193
/* ER_BAD_LOG_STATEMENT */
1194
N_("You cannot '%s' a log table if logging is enabled"),
1195
/* ER_CANT_RENAME_LOG_TABLE */
1196
N_("Cannot rename '%s'. When logging enabled, rename to/from log table must rename two tables: the log table to an archive table and another table back to '%s'"),
1197
/* ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT 42000 */
1198
N_("Incorrect parameter count in the call to native function '%-.192s'"),
1199
/* ER_WRONG_PARAMETERS_TO_NATIVE_FCT 42000 */
1200
N_("Incorrect parameters in the call to native function '%-.192s'"),
1201
/* ER_WRONG_PARAMETERS_TO_STORED_FCT 42000   */
1202
N_("Incorrect parameters in the call to stored function '%-.192s'"),
1203
/* ER_NATIVE_FCT_NAME_COLLISION */
1204
N_("This function '%-.192s' has the same name as a native function"),
1205
/* ER_DUP_ENTRY_WITH_KEY_NAME 23000 S1009 */
1206
N_("Duplicate entry '%-.64s' for key '%-.192s'"),
1207
/* ER_BINLOG_PURGE_EMFILE */
1208
N_("Too many files opened, please execute the command again"),
1209
/* ER_EVENT_CANNOT_CREATE_IN_THE_PAST */
1210
N_("Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation."),
1211
/* ER_EVENT_CANNOT_ALTER_IN_THE_PAST */
1212
N_("Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation."),
1213
/* ER_SLAVE_INCIDENT */
672.1.3 by Andrew Hutchings
Minor string fixes (mainly US English spelling and typos)
1214
N_("The incident %s occurred on the master. Message: %-.64s"),
549 by Monty Taylor
Took gettext.h out of header files.
1215
/* ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT */
1216
N_("Table has no partition for some existing values"),
1217
/* ER_BINLOG_UNSAFE_STATEMENT */
1218
N_("Statement is not safe to log in statement format."),
1219
/* ER_SLAVE_FATAL_ERROR */
1220
N_("Fatal error: %s"),
1221
/* ER_SLAVE_RELAY_LOG_READ_FAILURE */
1222
N_("Relay log read failure: %s"),
1223
/* ER_SLAVE_RELAY_LOG_WRITE_FAILURE */
1224
N_("Relay log write failure: %s"),
1225
/* ER_SLAVE_CREATE_EVENT_FAILURE */
1226
N_("Failed to create %s"),
1227
/* ER_SLAVE_MASTER_COM_FAILURE */
1228
N_("Master command %s failed: %s"),
1229
/* ER_BINLOG_LOGGING_IMPOSSIBLE */
1230
N_("Binary logging not possible. Message: %s"),
1231
/* ER_VIEW_NO_CREATION_CTX */
1232
N_("View `%-.64s`.`%-.64s` has no creation context"),
1233
/* ER_VIEW_INVALID_CREATION_CTX */
1234
N_("Creation context of view `%-.64s`.`%-.64s' is invalid"),
1235
/* ER_SR_INVALID_CREATION_CTX */
1236
N_("Creation context of stored routine `%-.64s`.`%-.64s` is invalid"),
1237
/* ER_TRG_CORRUPTED_FILE */
1238
N_("Corrupted TRG file for table `%-.64s`.`%-.64s`"),
1239
/* ER_TRG_NO_CREATION_CTX */
1240
N_("Triggers for table `%-.64s`.`%-.64s` have no creation context"),
1241
/* ER_TRG_INVALID_CREATION_CTX */
1242
N_("Trigger creation context of table `%-.64s`.`%-.64s` is invalid"),
1243
/* ER_EVENT_INVALID_CREATION_CTX */
1244
N_("Creation context of event `%-.64s`.`%-.64s` is invalid"),
1245
/* ER_TRG_CANT_OPEN_TABLE */
1246
N_("Cannot open table for trigger `%-.64s`.`%-.64s`"),
1247
/* ER_CANT_CREATE_SROUTINE */
1248
N_("Cannot create stored routine `%-.64s`. Check warnings"),
1249
/* ER_SLAVE_AMBIGOUS_EXEC_MODE */
1250
N_("Ambiguous slave modes combination. %s"),
1251
/* ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT */
1252
N_("The BINLOG statement of type `%s` was not preceded by a format description BINLOG statement."),
1253
/* ER_SLAVE_CORRUPT_EVENT */
1254
N_("Corrupted replication event was detected"),
1255
/* ER_LOAD_DATA_INVALID_COLUMN */
1256
N_("Invalid column reference (%-.64s) in LOAD DATA"),
1257
/* ER_LOG_PURGE_NO_FILE   */
1258
N_("Being purged log %s was not found"),
1259
/* ER_WARN_AUTO_CONVERT_LOCK */
1260
N_("Converted to non-transactional lock on '%-.64s'"),
1261
/* ER_NO_AUTO_CONVERT_LOCK_STRICT */
1262
N_("Cannot convert to non-transactional lock in strict mode on '%-.64s'"),
1263
/* ER_NO_AUTO_CONVERT_LOCK_TRANSACTION */
1264
N_("Cannot convert to non-transactional lock in an active transaction on '%-.64s'"),
1265
/* ER_NO_STORAGE_ENGINE */
1266
N_("Can't access storage engine of table %-.64s"),
1267
/* ER_BACKUP_BACKUP_START */
1268
N_("Starting backup process"),
1269
/* ER_BACKUP_BACKUP_DONE */
1270
N_("Backup completed"),
1271
/* ER_BACKUP_RESTORE_START */
1272
N_("Starting restore process"),
1273
/* ER_BACKUP_RESTORE_DONE */
1274
N_("Restore completed"),
1275
/* ER_BACKUP_NOTHING_TO_BACKUP */
1276
N_("Nothing to backup"),
1277
/* ER_BACKUP_CANNOT_INCLUDE_DB */
1278
N_("Database '%-.64s' cannot be included in a backup"),
1279
/* ER_BACKUP_BACKUP */
1280
N_("Error during backup operation - server's error log contains more information about the error"),
1281
/* ER_BACKUP_RESTORE */
1282
N_("Error during restore operation - server's error log contains more information about the error"),
1283
/* ER_BACKUP_RUNNING */
1284
N_("Can't execute this command because another BACKUP/RESTORE operation is in progress"),
1285
/* ER_BACKUP_BACKUP_PREPARE */
1286
N_("Error when preparing for backup operation"),
1287
/* ER_BACKUP_RESTORE_PREPARE */
1288
N_("Error when preparing for restore operation"),
1289
/* ER_BACKUP_INVALID_LOC */
1290
N_("Invalid backup location '%-.64s'"),
1291
/* ER_BACKUP_READ_LOC */
1292
N_("Can't read backup location '%-.64s'"),
1293
/* ER_BACKUP_WRITE_LOC */
1294
N_("Can't write to backup location '%-.64s' (file already exists?)"),
1295
/* ER_BACKUP_LIST_DBS */
1296
N_("Can't enumerate server databases"),
1297
/* ER_BACKUP_LIST_TABLES */
1298
N_("Can't enumerate server tables"),
1299
/* ER_BACKUP_LIST_DB_TABLES */
1300
N_("Can't enumerate tables in database %-.64s"),
1301
/* ER_BACKUP_SKIP_VIEW */
1302
N_("Skipping view %-.64s in database %-.64s"),
1303
/* ER_BACKUP_NO_ENGINE */
1304
N_("Skipping table %-.64s since it has no valid storage engine"),
1305
/* ER_BACKUP_TABLE_OPEN */
1306
N_("Can't open table %-.64s"),
1307
/* ER_BACKUP_READ_HEADER */
1308
N_("Can't read backup archive preamble"),
1309
/* ER_BACKUP_WRITE_HEADER */
1310
N_("Can't write backup archive preamble"),
1311
/* ER_BACKUP_NO_BACKUP_DRIVER */
1312
N_("Can't find backup driver for table %-.64s"),
1313
/* ER_BACKUP_NOT_ACCEPTED */
1314
N_("%-.64s backup driver was selected for table %-.64s but it rejects to handle this table"),
1315
/* ER_BACKUP_CREATE_BACKUP_DRIVER */
1316
N_("Can't create %-.64s backup driver"),
1317
/* ER_BACKUP_CREATE_RESTORE_DRIVER */
1318
N_("Can't create %-.64s restore driver"),
1319
/* ER_BACKUP_TOO_MANY_IMAGES */
1320
N_("Found %d images in backup archive but maximum %d are supported"),
1321
/* ER_BACKUP_WRITE_META */
1322
N_("Error when saving meta-data of %-.64s"),
1323
/* ER_BACKUP_READ_META */
1324
N_("Error when reading meta-data list"),
1325
/* ER_BACKUP_CREATE_META */
1326
N_("Can't create %-.64s"),
1327
/* ER_BACKUP_GET_BUF */
1328
N_("Can't allocate buffer for image data transfer"),
1329
/* ER_BACKUP_WRITE_DATA */
1330
N_("Error when writing %-.64s backup image data (for table #%d)"),
1331
/* ER_BACKUP_READ_DATA */
1332
N_("Error when reading data from backup stream"),
1333
/* ER_BACKUP_NEXT_CHUNK */
1334
N_("Can't go to the next chunk in backup stream"),
1335
/* ER_BACKUP_INIT_BACKUP_DRIVER */
1336
N_("Can't initialize %-.64s backup driver"),
1337
/* ER_BACKUP_INIT_RESTORE_DRIVER */
1338
N_("Can't initialize %-.64s restore driver"),
1339
/* ER_BACKUP_STOP_BACKUP_DRIVER */
1340
N_("Can't shut down %-.64s backup driver"),
1341
/* ER_BACKUP_STOP_RESTORE_DRIVERS */
1342
N_("Can't shut down %-.64s backup driver(s)"),
1343
/* ER_BACKUP_PREPARE_DRIVER */
1344
N_("%-.64s backup driver can't prepare for synchronization"),
1345
/* ER_BACKUP_CREATE_VP */
1346
N_("%-.64s backup driver can't create its image validity point"),
1347
/* ER_BACKUP_UNLOCK_DRIVER */
1348
N_("Can't unlock %-.64s backup driver after creating the validity point"),
1349
/* ER_BACKUP_CANCEL_BACKUP */
1350
N_("%-.64s backup driver can't cancel its backup operation"),
1351
/* ER_BACKUP_CANCEL_RESTORE */
1352
N_("%-.64s restore driver can't cancel its restore operation"),
1353
/* ER_BACKUP_GET_DATA */
1354
N_("Error when polling %-.64s backup driver for its image data"),
1355
/* ER_BACKUP_SEND_DATA */
1356
N_("Error when sending image data (for table #%d) to %-.64s restore driver"),
1357
/* ER_BACKUP_SEND_DATA_RETRY */
1358
N_("After %d attempts %-.64s restore driver still can't accept next block of data"),
1359
/* ER_BACKUP_OPEN_TABLES */
1360
N_("Open and lock tables failed in %-.64s"),
1361
/* ER_BACKUP_THREAD_INIT */
1362
N_("Backup driver's table locking thread can not be initialized."),
1363
/* ER_BACKUP_PROGRESS_TABLES */
629.2.3 by Monty Taylor
Fixed mysql references in error messages.
1364
N_("Can't open the online backup progress tables. Check 'drizzle.online_backup' and 'drizzle.online_backup_progress'."),
549 by Monty Taylor
Took gettext.h out of header files.
1365
/* ER_TABLESPACE_EXIST */
1366
N_("Tablespace '%-.192s' already exists"),
1367
/* ER_NO_SUCH_TABLESPACE */
1368
N_("Tablespace '%-.192s' doesn't exist"),
1369
/* ER_SLAVE_HEARTBEAT_FAILURE */
1370
N_("Unexpected master's heartbeat data: %s"),
1371
/* ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE */
1372
N_("The requested value for the heartbeat period %s %s"),
1373
/* ER_BACKUP_LOG_WRITE_ERROR */
1374
N_("Can't write to the online backup progress log %-.64s."),
1375
/* ER_TABLESPACE_NOT_EMPTY */
1376
N_("Tablespace '%-.192s' not empty"),
1377
/* ER_BACKUP_TS_CHANGE */
1378
N_("Tablespace `%-.64s` needed by tables being restored has changed on the server. The original definition of the required tablespace is '%-.256s' while the same tablespace is defined on the server as '%-.256s'"),
1379
/* ER_VCOL_BASED_ON_VCOL */
1380
N_("A virtual column cannot be based on a virtual column"),
1381
/* ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED */
1382
N_("Non-deterministic expression for virtual column '%s'."),
1383
/* ER_DATA_CONVERSION_ERROR_FOR_VIRTUAL_COLUMN */
1384
N_("Generated value for virtual column '%s' cannot be converted to type '%s'."),
1385
/* ER_PRIMARY_KEY_BASED_ON_VIRTUAL_COLUMN */
1386
N_("Primary key cannot be defined upon a virtual column."),
1387
/* ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN */
1388
N_("Key/Index cannot be defined on a non-stored virtual column."),
1389
/* ER_WRONG_FK_OPTION_FOR_VIRTUAL_COLUMN */
1390
N_("Cannot define foreign key with %s clause on a virtual column."),
1391
/* ER_WARNING_NON_DEFAULT_VALUE_FOR_VIRTUAL_COLUMN */
1392
N_("The value specified for virtual column '%s' in table '%s' ignored."),
1393
/* ER_UNSUPPORTED_ACTION_ON_VIRTUAL_COLUMN */
1394
N_("'%s' is not yet supported for virtual columns."),
1395
/* ER_CONST_EXPR_IN_VCOL */
813.1.2 by Jay Pipes
First function cleanup for temporal handling: YEAR()
1396
N_("Constant expression in virtual column function is not allowed."),
1397
/* ER_UNKNOWN_TEMPORAL_TYPE */
1398
N_("Encountered an unknown temporal type."),
1399
/* ER_INVALID_STRING_FORMAT_FOR_DATE */
1400
N_("Received an invalid string format '%s' for a date value."),
1401
/* ER_INVALID_STRING_FORMAT_FOR_TIME */
1402
N_("Received an invalid string format '%s' for a time value."),
1403
/* ER_INVALID_UNIX_TIMESTAMP_VALUE */
1404
N_("Received an invalid value '%s' for a UNIX timestamp."),
1405
/* ER_INVALID_DATETIME_VALUE */
1406
N_("Received an invalid datetime value '%s'."),
1407
/* ER_INVALID_NULL_ARGUMENT */
1408
N_("Received a NULL argument for function '%s'."),
1409
/* ER_INVALID_NEGATIVE_ARGUMENT */
1410
N_("Received an invalid negative argument '%s' for function '%s'."),
1411
/* ER_ARGUMENT_OUT_OF_RANGE */
1412
N_("Received an out-of-range argument '%s' for function '%s'."),
1413
/* ER_INVALID_TIME_VALUE */
1414
N_("Received an invalid time value '%s'."),
934.4.1 by Jay Pipes
Fixes ENUM field type to throw an error on bad data input. 0 is now not
1415
/* ER_INVALID_ENUM_VALUE */
1416
N_("Received an invalid enum value '%s'.")
549 by Monty Taylor
Took gettext.h out of header files.
1417
};
1418
1419
const char * error_message(unsigned int code)
1420
{
1421
  return drizzled_error_messages[code-ER_ERROR_FIRST];
1422
}
1423
1424
1425
1426
/**
1427
  Read messages from errorfile.
1428
1429
  This function can be called multiple times to reload the messages.
1430
  If it fails to load the messages, it will fail softly by initializing
1431
  the errmesg pointer to an array of empty strings or by keeping the
1432
  old array if it exists.
1433
1434
  @retval
1435
    FALSE       OK
1436
  @retval
1437
    TRUE        Error
1438
*/
1439
1440
1441
static void init_myfunc_errs()
1442
{
1443
  init_glob_errs();                     /* Initiate english errors */
1444
1445
  {
1446
    EE(EE_FILENOTFOUND)   = ER(ER_FILE_NOT_FOUND);
1447
    EE(EE_CANTCREATEFILE) = ER(ER_CANT_CREATE_FILE);
1448
    EE(EE_READ)           = ER(ER_ERROR_ON_READ);
1449
    EE(EE_WRITE)          = ER(ER_ERROR_ON_WRITE);
1450
    EE(EE_BADCLOSE)       = ER(ER_ERROR_ON_CLOSE);
1451
    EE(EE_OUTOFMEMORY)    = ER(ER_OUTOFMEMORY);
1452
    EE(EE_DELETE)         = ER(ER_CANT_DELETE_FILE);
1453
    EE(EE_LINK)           = ER(ER_ERROR_ON_RENAME);
1454
    EE(EE_EOFERR)         = ER(ER_UNEXPECTED_EOF);
1455
    EE(EE_CANTLOCK)       = ER(ER_CANT_LOCK);
1456
    EE(EE_DIR)            = ER(ER_CANT_READ_DIR);
1457
    EE(EE_STAT)           = ER(ER_CANT_GET_STAT);
1458
    EE(EE_GETWD)          = ER(ER_CANT_GET_WD);
1459
    EE(EE_SETWD)          = ER(ER_CANT_SET_WD);
1460
    EE(EE_DISK_FULL)      = ER(ER_DISK_FULL);
1461
  }
1462
}
1463
1464
bool init_errmessage(void)
1465
{
1466
1467
  /* Register messages for use with my_error(). */
1468
  if (my_error_register(drizzled_error_messages,
1469
                        ER_ERROR_FIRST, ER_ERROR_LAST))
1470
  {
1471
    return(true);
1472
  }
1473
1474
  init_myfunc_errs();                   /* Init myfunc messages */
1475
  return(false);
1476
}
1477