~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.cc

  • Committer: Lee Bieber
  • Date: 2010-09-02 18:47:14 UTC
  • mto: (1749.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1750.
  • Revision ID: lbieber@kalebral-2.local-20100902184714-b20hpazwuv92vkvn
next pass at removing unused error messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
493
493
  add(ER_WRONG_VALUE, N_("Incorrect %-.32s value: '%-.128s'"));
494
494
  add(ER_NO_PARTITION_FOR_GIVEN_VALUE, N_("Table has no partition for value %-.64s"));
495
495
  add(ER_BINLOG_ROW_LOGGING_FAILED, N_("Writing one row to the row-based binary log failed"));
496
 
  add(ER_EVENT_CANNOT_DELETE, N_("Failed to delete the event from drizzle.event"));
497
 
  add(ER_EVENT_COMPILE_ERROR, N_("Error during compilation of event's body"));
498
 
  add(ER_EVENT_SAME_NAME, N_("Same old and new event name"));
499
 
  add(ER_EVENT_DATA_TOO_LONG, N_("Data for column '%s' too long"));
500
496
  add(ER_DROP_INDEX_FK, N_("Cannot drop index '%-.192s': needed in a foreign key constraint"));
501
 
  add(ER_WARN_DEPRECATED_SYNTAX_WITH_VER, N_("The syntax '%s' is deprecated and will be removed in Drizzle %s. Please use %s instead"));
502
 
  add(ER_CANT_WRITE_LOCK_LOG_TABLE, N_("You can't write-lock a log table. Only read access is possible"));
503
 
  add(ER_CANT_LOCK_LOG_TABLE, N_("You can't use locks with log tables."));
504
497
  add(ER_FOREIGN_DUPLICATE_KEY, N_("Upholding foreign key constraints for table '%.192s', entry '%-.192s', key %d would lead to a duplicate entry"));
505
 
  add(ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE, 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."));
506
 
  add(ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR, N_("Cannot switch out of the row-based binary log format when the session has open temporary tables"));
507
 
  add(ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT, N_("Cannot change the binary logging format inside a stored function or trigger"));
508
 
  add(ER_NDB_CANT_SWITCH_BINLOG_FORMAT, N_("The NDB cluster engine does not support changing the binlog format on the fly yet"));
509
 
  add(ER_PARTITION_NO_TEMPORARY, N_("Cannot create temporary table with partitions"));
510
 
  add(ER_PARTITION_CONST_DOMAIN_ERROR, N_("Partition constant is out of partition function domain"));
511
 
  add(ER_PARTITION_FUNCTION_IS_NOT_ALLOWED, N_("This partition function is not allowed"));
512
 
  add(ER_DDL_LOG_ERROR, N_("Error in DDL log"));
513
 
  add(ER_NULL_IN_VALUES_LESS_THAN, N_("Not allowed to use NULL value in VALUES LESS THAN"));
514
 
  add(ER_WRONG_PARTITION_NAME, N_("Incorrect partition name"));
515
498
  add(ER_CANT_CHANGE_TX_ISOLATION, N_("Transaction isolation level can't be changed while a transaction is in progress"));
516
 
  add(ER_DUP_ENTRY_AUTOINCREMENT_CASE, N_("ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '%-.192s' for key '%-.192s'"));
517
 
  add(ER_EVENT_MODIFY_QUEUE_ERROR, N_("Internal scheduler error %d"));
518
 
  add(ER_EVENT_SET_VAR_ERROR, N_("Error during starting/stopping of the scheduler. Error code %u"));
519
 
  add(ER_PARTITION_MERGE_ERROR, N_("Engine cannot be used in partitioned tables"));
520
 
  add(ER_CANT_ACTIVATE_LOG, N_("Cannot activate '%-.64s' log"));
521
 
  add(ER_RBR_NOT_AVAILABLE, N_("The server was not built with row-based replication"));
522
 
  add(ER_BASE64_DECODE_ERROR, N_("Decoding of base64 string failed"));
523
 
  add(ER_EVENT_RECURSION_FORBIDDEN, N_("Recursion of EVENT DDL statements is forbidden when body is present"));
524
 
  add(ER_EVENTS_DB_ERROR, N_("Cannot proceed because system tables used by Event Scheduler were found damaged at server start"));
525
 
  add(ER_ONLY_INTEGERS_ALLOWED, N_("Only integers allowed as number here"));
526
 
  add(ER_UNSUPORTED_LOG_ENGINE, N_("This storage engine cannot be used for log tables"));
527
 
  add(ER_BAD_LOG_STATEMENT, N_("You cannot '%s' a log table if logging is enabled"));
528
 
  add(ER_CANT_RENAME_LOG_TABLE, 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'"));
529
499
  add(ER_WRONG_PARAMCOUNT_TO_FUNCTION, N_("Incorrect parameter count in the call to native function '%-.192s'"));
530
500
  add(ER_WRONG_PARAMETERS_TO_NATIVE_FCT, N_("Incorrect parameters in the call to native function '%-.192s'"));
531
 
  add(ER_WRONG_PARAMETERS_TO_STORED_FCT, N_("Incorrect parameters in the call to stored function '%-.192s'"));
532
 
  add(ER_NATIVE_FCT_NAME_COLLISION, N_("This function '%-.192s' has the same name as a native function"));
533
501
  add(ER_DUP_ENTRY_WITH_KEY_NAME, N_("Duplicate entry '%-.64s' for key '%-.192s'"));
534
 
  add(ER_BINLOG_PURGE_EMFILE, N_("Too many files opened, please execute the command again"));
535
 
  add(ER_EVENT_CANNOT_CREATE_IN_THE_PAST, N_("Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation."));
536
 
  add(ER_EVENT_CANNOT_ALTER_IN_THE_PAST, N_("Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation."));
537
 
  add(ER_SLAVE_INCIDENT, N_("The incident %s occurred on the master. Message: %-.64s"));
538
 
  add(ER_BINLOG_UNSAFE_STATEMENT, N_("Statement is not safe to log in statement format."));
539
 
  add(ER_SLAVE_FATAL_ERROR, N_("Fatal error: %s"));
540
 
  add(ER_SLAVE_RELAY_LOG_READ_FAILURE, N_("Relay log read failure: %s"));
541
 
  add(ER_SLAVE_RELAY_LOG_WRITE_FAILURE, N_("Relay log write failure: %s"));
542
 
  add(ER_SLAVE_CREATE_EVENT_FAILURE, N_("Failed to create %s"));
543
 
  add(ER_SLAVE_MASTER_COM_FAILURE, N_("Master command %s failed: %s"));
544
 
  add(ER_BINLOG_LOGGING_IMPOSSIBLE, N_("Binary logging not possible. Message: %s"));
545
 
  add(ER_VIEW_NO_CREATION_CTX, N_("View `%-.64s`.`%-.64s` has no creation context"));
546
 
  add(ER_VIEW_INVALID_CREATION_CTX, N_("Creation context of view `%-.64s`.`%-.64s' is invalid"));
547
 
  add(ER_SR_INVALID_CREATION_CTX, N_("Creation context of stored routine `%-.64s`.`%-.64s` is invalid"));
548
 
  add(ER_TRG_CORRUPTED_FILE, N_("Corrupted TRG file for table `%-.64s`.`%-.64s`"));
549
 
  add(ER_TRG_NO_CREATION_CTX, N_("Triggers for table `%-.64s`.`%-.64s` have no creation context"));
550
 
  add(ER_TRG_INVALID_CREATION_CTX, N_("Trigger creation context of table `%-.64s`.`%-.64s` is invalid"));
551
 
  add(ER_EVENT_INVALID_CREATION_CTX, N_("Creation context of event `%-.64s`.`%-.64s` is invalid"));
552
 
  add(ER_TRG_CANT_OPEN_TABLE, N_("Cannot open table for trigger `%-.64s`.`%-.64s`"));
553
 
  add(ER_CANT_CREATE_SROUTINE, N_("Cannot create stored routine `%-.64s`. Check warnings"));
554
 
  add(ER_SLAVE_AMBIGOUS_EXEC_MODE, N_("Ambiguous slave modes combination. %s"));
555
 
  add(ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT, N_("The BINLOG statement of type `%s` was not preceded by a format description BINLOG statement."));
556
 
  add(ER_SLAVE_CORRUPT_EVENT, N_("Corrupted replication event was detected"));
557
502
  add(ER_LOAD_DATA_INVALID_COLUMN, N_("Invalid column reference (%-.64s) in LOAD DATA"));
558
 
  add(ER_LOG_PURGE_NO_FILE, N_("Being purged log %s was not found"));
559
 
  add(ER_WARN_AUTO_CONVERT_LOCK, N_("Converted to non-transactional lock on '%-.64s'"));
560
 
  add(ER_NO_AUTO_CONVERT_LOCK_STRICT, N_("Cannot convert to non-transactional lock in strict mode on '%-.64s'"));
561
 
  add(ER_NO_AUTO_CONVERT_LOCK_TRANSACTION, N_("Cannot convert to non-transactional lock in an active transaction on '%-.64s'"));
562
 
  add(ER_NO_STORAGE_ENGINE, N_("Can't access storage engine of table %-.64s"));
563
 
  add(ER_BACKUP_BACKUP_START, N_("Starting backup process"));
564
 
  add(ER_BACKUP_BACKUP_DONE, N_("Backup completed"));
565
 
  add(ER_BACKUP_RESTORE_START, N_("Starting restore process"));
566
 
  add(ER_BACKUP_RESTORE_DONE, N_("Restore completed"));
567
 
  add(ER_BACKUP_NOTHING_TO_BACKUP, N_("Nothing to backup"));
568
 
  add(ER_BACKUP_CANNOT_INCLUDE_DB, N_("Database '%-.64s' cannot be included in a backup"));
569
 
  add(ER_BACKUP_BACKUP, N_("Error during backup operation - server's error log contains more information about the error"));
570
 
  add(ER_BACKUP_RESTORE, N_("Error during restore operation - server's error log contains more information about the error"));
571
 
  add(ER_BACKUP_RUNNING, N_("Can't execute this command because another BACKUP/RESTORE operation is in progress"));
572
 
  add(ER_BACKUP_BACKUP_PREPARE, N_("Error when preparing for backup operation"));
573
 
  add(ER_BACKUP_RESTORE_PREPARE, N_("Error when preparing for restore operation"));
574
 
  add(ER_BACKUP_INVALID_LOC, N_("Invalid backup location '%-.64s'"));
575
 
  add(ER_BACKUP_READ_LOC, N_("Can't read backup location '%-.64s'"));
576
 
  add(ER_BACKUP_WRITE_LOC, N_("Can't write to backup location '%-.64s' (file already exists?)"));
577
 
  add(ER_BACKUP_LIST_DBS, N_("Can't enumerate server databases"));
578
 
  add(ER_BACKUP_LIST_TABLES, N_("Can't enumerate server tables"));
579
 
  add(ER_BACKUP_LIST_DB_TABLES, N_("Can't enumerate tables in database %-.64s"));
580
 
  add(ER_BACKUP_SKIP_VIEW, N_("Skipping view %-.64s in database %-.64s"));
581
 
  add(ER_BACKUP_NO_ENGINE, N_("Skipping table %-.64s since it has no valid storage engine"));
582
 
  add(ER_BACKUP_TABLE_OPEN, N_("Can't open table %-.64s"));
583
 
  add(ER_BACKUP_READ_HEADER, N_("Can't read backup archive preamble"));
584
 
  add(ER_BACKUP_WRITE_HEADER, N_("Can't write backup archive preamble"));
585
 
  add(ER_BACKUP_NO_BACKUP_DRIVER, N_("Can't find backup driver for table %-.64s"));
586
 
  add(ER_BACKUP_NOT_ACCEPTED, N_("%-.64s backup driver was selected for table %-.64s but it rejects to handle this table"));
587
 
  add(ER_BACKUP_CREATE_BACKUP_DRIVER, N_("Can't create %-.64s backup driver"));
588
 
  add(ER_BACKUP_CREATE_RESTORE_DRIVER, N_("Can't create %-.64s restore driver"));
589
 
  add(ER_BACKUP_TOO_MANY_IMAGES, N_("Found %d images in backup archive but maximum %d are supported"));
590
 
  add(ER_BACKUP_WRITE_META, N_("Error when saving meta-data of %-.64s"));
591
 
  add(ER_BACKUP_READ_META, N_("Error when reading meta-data list"));
592
 
  add(ER_BACKUP_CREATE_META, N_("Can't create %-.64s"));
593
 
  add(ER_BACKUP_GET_BUF, N_("Can't allocate buffer for image data transfer"));
594
 
  add(ER_BACKUP_WRITE_DATA, N_("Error when writing %-.64s backup image data (for table #%d)"));
595
 
  add(ER_BACKUP_READ_DATA, N_("Error when reading data from backup stream"));
596
 
  add(ER_BACKUP_NEXT_CHUNK, N_("Can't go to the next chunk in backup stream"));
597
 
  add(ER_BACKUP_INIT_BACKUP_DRIVER, N_("Can't initialize %-.64s backup driver"));
598
 
  add(ER_BACKUP_INIT_RESTORE_DRIVER, N_("Can't initialize %-.64s restore driver"));
599
 
  add(ER_BACKUP_STOP_BACKUP_DRIVER, N_("Can't shut down %-.64s backup driver"));
600
 
  add(ER_BACKUP_STOP_RESTORE_DRIVERS, N_("Can't shut down %-.64s backup driver(s)"));
601
 
  add(ER_BACKUP_PREPARE_DRIVER, N_("%-.64s backup driver can't prepare for synchronization"));
602
 
  add(ER_BACKUP_CREATE_VP, N_("%-.64s backup driver can't create its image validity point"));
603
 
  add(ER_BACKUP_UNLOCK_DRIVER, N_("Can't unlock %-.64s backup driver after creating the validity point"));
604
 
  add(ER_BACKUP_CANCEL_BACKUP, N_("%-.64s backup driver can't cancel its backup operation"));
605
 
  add(ER_BACKUP_CANCEL_RESTORE, N_("%-.64s restore driver can't cancel its restore operation"));
606
 
  add(ER_BACKUP_GET_DATA, N_("Error when polling %-.64s backup driver for its image data"));
607
 
  add(ER_BACKUP_SEND_DATA, N_("Error when sending image data (for table #%d) to %-.64s restore driver"));
608
 
  add(ER_BACKUP_SEND_DATA_RETRY, N_("After %d attempts %-.64s restore driver still can't accept next block of data"));
609
 
  add(ER_BACKUP_OPEN_TABLES, N_("Open and lock tables failed in %-.64s"));
610
 
  add(ER_BACKUP_THREAD_INIT, N_("Backup driver's table locking thread can not be initialized."));
611
 
  add(ER_BACKUP_PROGRESS_TABLES, N_("Can't open the online backup progress tables. Check 'drizzle.online_backup' and 'drizzle.online_backup_progress'."));
612
 
  add(ER_TABLESPACE_EXIST, N_("Tablespace '%-.192s' already exists"));
613
 
  add(ER_NO_SUCH_TABLESPACE, N_("Tablespace '%-.192s' doesn't exist"));
614
 
  add(ER_SLAVE_HEARTBEAT_FAILURE, N_("Unexpected master's heartbeat data: %s"));
615
 
  add(ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE, N_("The requested value for the heartbeat period %s %s"));
616
 
  add(ER_BACKUP_LOG_WRITE_ERROR, N_("Can't write to the online backup progress log %-.64s."));
617
 
  add(ER_TABLESPACE_NOT_EMPTY, N_("Tablespace '%-.192s' not empty"));
618
 
  add(ER_BACKUP_TS_CHANGE, 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'"));
619
 
  add(ER_VCOL_BASED_ON_VCOL, N_("A virtual column cannot be based on a virtual column"));
620
 
  add(ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED, N_("Non-deterministic expression for virtual column '%s'."));
621
 
  add(ER_DATA_CONVERSION_ERROR_FOR_VIRTUAL_COLUMN, N_("Generated value for virtual column '%s' cannot be converted to type '%s'."));
622
 
  add(ER_PRIMARY_KEY_BASED_ON_VIRTUAL_COLUMN, N_("Primary key cannot be defined upon a virtual column."));
623
 
  add(ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN, N_("Key/Index cannot be defined on a non-stored virtual column."));
624
 
  add(ER_WRONG_FK_OPTION_FOR_VIRTUAL_COLUMN, N_("Cannot define foreign key with %s clause on a virtual column."));
625
 
  add(ER_WARNING_NON_DEFAULT_VALUE_FOR_VIRTUAL_COLUMN, N_("The value specified for virtual column '%s' in table '%s' ignored."));
626
 
  add(ER_UNSUPPORTED_ACTION_ON_VIRTUAL_COLUMN, N_("'%s' is not yet supported for virtual columns."));
627
 
  add(ER_CONST_EXPR_IN_VCOL, N_("Constant expression in virtual column function is not allowed."));
628
 
  add(ER_UNKNOWN_TEMPORAL_TYPE, N_("Encountered an unknown temporal type."));
629
 
  add(ER_INVALID_STRING_FORMAT_FOR_DATE, N_("Received an invalid string format '%s' for a date value."));
630
 
  add(ER_INVALID_STRING_FORMAT_FOR_TIME, N_("Received an invalid string format '%s' for a time value."));
631
503
  add(ER_INVALID_UNIX_TIMESTAMP_VALUE, N_("Received an invalid value '%s' for a UNIX timestamp."));
632
504
  add(ER_INVALID_DATETIME_VALUE, N_("Received an invalid datetime value '%s'."));
633
505
  add(ER_INVALID_NULL_ARGUMENT, N_("Received a NULL argument for function '%s'."));
634
 
  add(ER_INVALID_NEGATIVE_ARGUMENT, N_("Received an invalid negative argument '%s' for function '%s'."));
635
506
  add(ER_ARGUMENT_OUT_OF_RANGE, N_("Received an out-of-range argument '%s' for function '%s'."));
636
507
  add(ER_INVALID_ENUM_VALUE, N_("Received an invalid enum value '%s'."));
637
508
  add(ER_NO_PRIMARY_KEY_ON_REPLICATED_TABLE, N_("Tables which are replicated require a primary key."));