mariadb/include
Michael Widenius aa81e025a8 Added text for errno in error messages by:
- Adding %M my_sprintf() modifier that prints error number - system-error-text
- Modified mysys, mysql_client and SQL error messages to use %M instead of %d
- Added my_strerror()
Updated handler errors to 5.6 error numbers
Updated text for a few error messages (to match 5.6)
Increased length of command name in error output

extra/comp_err.c:
  Added support for %M
include/my_base.h:
  Updated handler errors to 5.6 error numbers
include/my_sys.h:
  Added my_strerror()
libmysql/errmsg.c:
  Updated error messages to use %M
mysql-test/r/errors.result:
  Updated result as error message have changed
mysql-test/r/innodb_mysql_sync.result:
  Updated result with text for errno
mysql-test/r/myisam-system.result:
  Updated result with text for errno
mysql-test/r/myisam.result:
  Updated result as error message have changed
mysql-test/r/myisampack.result:
  Updated result with text for errno
mysql-test/r/mysql.result:
  Updated result with text for errno
mysql-test/r/mysql_upgrade.result:
  Updated result with text for errno
mysql-test/r/partition_datatype.result:
  Updated result as error message have changed
mysql-test/r/partition_innodb_plugin.result:
  Updated result with text for errno
mysql-test/r/ps_1general.result:
  Updated result with text for errno
mysql-test/r/trigger.result:
  Updated result with text for errno
mysql-test/r/type_bit.result:
  Updated result as error message have changed
mysql-test/r/type_bit_innodb.result:
  Updated result as error message have changed
mysql-test/r/type_blob.result:
  Updated result as error message have changed
mysql-test/suite/archive/archive.result:
  Updated result with text for errno
mysql-test/suite/binlog/r/binlog_index.result:
  Updated result with text for errno
mysql-test/suite/binlog/r/binlog_ioerr.result:
  Updated result with text for errno
mysql-test/suite/csv/csv.result:
  Updated result with text for errno
mysql-test/suite/federated/federated_bug_35333.result:
  Updated result with text for errno
mysql-test/suite/innodb/r/innodb-create-options.result:
  Updated result with text for errno
mysql-test/suite/innodb/r/innodb-index.result:
  Updated result with text for errno
mysql-test/suite/innodb/r/innodb-zip.result:
  Updated result as error message have changed
mysql-test/suite/innodb/r/innodb.result:
  Updated result with text for errno
mysql-test/suite/innodb/r/innodb_bug21704.result:
  Updated result with text for errno
mysql-test/suite/innodb/r/innodb_bug46000.result:
  Updated result with text for errno
mysql-test/suite/innodb/r/innodb_bug53591.result:
  Updated result as error message have changed
mysql-test/suite/innodb/r/innodb_corrupt_bit.result:
  New error numbers
mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result:
  Updated result as error message have changed
mysql-test/suite/innodb/t/innodb-create-options.test:
  Added regexp to avoid system error text
mysql-test/suite/innodb/t/innodb-zip.test:
  Added regexp to avoid system error text
mysql-test/suite/maria/maria-recovery2.result:
  Updated supression rule
mysql-test/suite/maria/maria-recovery2.test:
  Updated supression rule
mysql-test/suite/maria/maria.result:
  Updated result as error message have changed
mysql-test/suite/parts/r/partition_bit_innodb.result:
  
  Updated result as error message have changed
mysql-test/suite/parts/r/partition_bit_myisam.result:
  
  Updated result as error message have changed
mysql-test/suite/percona/percona_innodb_fake_changes.result:
  Updated result with text for errno
mysql-test/suite/perfschema/r/dml_cond_instances.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_events_waits_current.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_events_waits_history.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_events_waits_history_long.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_ews_by_instance.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_ews_by_thread_by_event_name.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_ews_global_by_event_name.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_file_instances.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_file_summary_by_event_name.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_file_summary_by_instance.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_mutex_instances.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_performance_timers.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_rwlock_instances.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/dml_threads.result:
  Updated result as error message have changed
mysql-test/suite/perfschema/r/misc.result:
  Updated result with text for errno
mysql-test/suite/perfschema/r/privilege.result:
  Updated result with text for errno
mysql-test/suite/rpl/r/rpl_EE_err.result:
  Updated result with text for errno
mysql-test/suite/rpl/r/rpl_binlog_errors.result:
  Updated result with text for errno
mysql-test/suite/rpl/r/rpl_drop_db.result:
  Updated result with text for errno
mysys/errors.c:
  Updated error messages to use %M
  Changed all errors to use Errcode: consistenly
mysys/my_handler_errors.h:
  Updated handler errors to 5.6 error numbers
sql/share/errmsg-utf8.txt:
  Updated error messages to use %M
sql/sys_vars.cc:
  Added error number to ER_EVENT_SET_VAR_ERROR
strings/my_vsnprintf.c:
  Added %M my_sprintf() modifier that prints error number - system-error-text
  Simplify code
  Movied common code to function
  Removed some casts that was not necessary when reading integer/unsigned int stored in longlong
  Added my_strerror()
unittest/mysys/my_vsnprintf-t.c:
  Added testing of %M
2012-05-30 00:37:55 +03:00
..
atomic Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mysql 5.3 merge 2012-05-04 07:16:38 +02:00
base64.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
CMakeLists.txt MDEV-207 Install headers required to build external storage plugins 2012-05-05 08:27:17 +02:00
decimal.h merge 2012-04-05 23:07:18 +02:00
errmsg.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
ft_global.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
hash.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
heap.h Updated/added copyright headers 2012-02-15 17:13:47 +01:00
keycache.h Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
lf.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
m_ctype.h merge 2012-04-07 15:58:46 +02:00
m_string.h merge 2012-04-05 23:07:18 +02:00
ma_dyncol.h portability fix: avoid anonymous structs and unions in C 2011-09-22 11:04:00 +02:00
maria.h 5.3 merge 2012-05-04 07:16:38 +02:00
my_aes.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
my_alarm.h 5.3 merge 2012-01-13 15:50:02 +01:00
my_alloc.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
my_atomic.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
my_attribute.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
my_base.h Added text for errno in error messages by: 2012-05-30 00:37:55 +03:00
my_bit.h merge with 5.3 2011-10-19 21:45:18 +02:00
my_bitmap.h 5.3 merge 2012-01-13 15:50:02 +01:00
my_compare.h 5.3->5.5 merge 2011-11-22 18:04:38 +01:00
my_compiler.h merge with 5.3 2011-10-19 21:45:18 +02:00
my_context.h MWL#192 after-merge fixes. 2012-02-23 15:42:21 +01:00
my_dbug.h Merge MWL#192: Non-blocking client library, into MariaDB 5.5. 2012-02-21 22:15:44 +01:00
my_decimal_limits.h 5.3 merge 2012-01-13 15:50:02 +01:00
my_dir.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
my_getopt.h 5.3 merge 2012-01-13 15:50:02 +01:00
my_global.h mysql-5.5.22 merge 2012-03-28 01:04:46 +02:00
my_libwrap.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
my_list.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
my_md5.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
my_net.h Bug#11933945 REMOVE LGPL LICENSED FILES IN MYSQL 5.5 2011-03-29 14:43:49 +02:00
my_nosys.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
my_pthread.h fixes for windows 2011-10-21 23:07:13 +02:00
my_rdtsc.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
my_stacktrace.h Define dummy my_init_stacktrace() to allow one to call it without #ifdef HAVE_STACKTRACE 2012-04-03 15:48:56 +03:00
my_sys.h Added text for errno in error messages by: 2012-05-30 00:37:55 +03:00
my_time.h 5.3 merge 2012-01-13 15:50:02 +01:00
my_tree.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
my_uctype.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
my_user.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_valgrind.h Do not use Valgrind client requests in a normal release build, they have a small but noticable performance impact. 2012-03-22 12:31:09 +01:00
my_xml.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
myisam.h mysql-5.5.22 merge 2012-03-28 01:04:46 +02:00
myisamchk.h 5.3->5.5 merge 2011-11-22 18:04:38 +01:00
myisammrg.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
myisampack.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
mysql.h Merge MWL#192: Non-blocking client library, into MariaDB 5.5. 2012-02-21 22:15:44 +01:00
mysql.h.pp a couple of minor post-5.5-merge cleanups 2012-03-26 12:33:49 +02:00
mysql_async.h Fix non-ssl build. 2012-01-08 10:13:39 +01:00
mysql_com.h a couple of minor post-5.5-merge cleanups 2012-03-26 12:33:49 +02:00
mysql_embed.h 5.3 merge 2012-01-13 15:50:02 +01:00
mysql_time.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql_version.h.in Fix package names, by removing a trailing "-MariaDB" ,as we already have leading "mariadb-". 2011-11-23 19:02:08 +01:00
mysys_err.h 5.3 merge 2012-01-13 15:50:02 +01:00
password.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
probes_mysql.d.base Updated/added copyright headers 2011-06-30 17:46:53 +02:00
probes_mysql.h Fix build error on Ubuntu 11.10, if systemtap is installed. 2012-02-29 18:25:25 +01:00
probes_mysql_nodtrace.h merge mysql-5.1->mysql-5.5 2011-07-07 12:42:14 +03:00
queues.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
rijndael.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
service_versions.h debug_sync is now a service, available to dynamically loaded plugins. 2012-03-28 19:26:00 +02:00
sha1.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sha2.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_common.h Merge MWL#192: Non-blocking client library, into MariaDB 5.5. 2012-02-21 22:15:44 +01:00
sslopt-case.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sslopt-longopts.h 5.3 merge 2012-01-13 15:50:02 +01:00
sslopt-vars.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
t_ctype.h Many files: 2006-12-23 20:17:15 +01:00
thr_alarm.h further reduce diffs to 5.5, monty review 2012-01-24 19:18:22 +01:00
thr_lock.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
thread_pool_priv.h 5.3 merge 2012-05-04 07:16:38 +02:00
typelib.h MDEV-69 SET optimizer_switch = REPLACE(...) causes ER_WRONG_VALUE_FOR_VAR 2012-01-17 10:55:27 +01:00
violite.h merge 5.5 2012-02-27 19:32:44 +01:00
waiting_threads.h use PSI wrappers in aria and other non-MySQL code 2011-07-13 21:10:18 +02:00
welcome_copyright_notice.h mysql-5.5.22 merge 2012-03-28 01:04:46 +02:00
wqueue.h fix the include guards and add missing gplv2 headers 2012-02-17 12:19:38 +01:00