mariadb/include
unknown a4b0a2cf67 Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.
There was no way to return an error from the client library
if no MYSQL connections was established.
So here i added variables to store that king of errors and
made functions like mysql_error(NULL) to return these.


client/mysql.cc:
  Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.
  
  Show the error message on std_error
include/sql_common.h:
  Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.
  
  cant_connect_sqlstate constant declared
libmysql/libmysql.c:
  Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.
  
  mysql_sqlstate(NULL) returns 'unknown_sqlstate'
libmysqld/lib_sql.cc:
  Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.
  
  EMBEDDED_SERVER version of the vprint_msg_to_log() implemented
sql-common/client.c:
  Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.
  
  mysql_server_last_errno and mysql_server_last_error introduced
  to store errors not related to particular connections.
  
  mysql_error(NULL) and mysql_errno(NULL) now returns these
  mysql_server_last_error and errno respectively
sql/log.cc:
  Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.
  
  EMBEDDED_LIBRARY implementation of the vprint_msg_to_log() moved
  to lib_sql.cc
2008-02-27 12:42:43 +04:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
base64.h Many files: 2006-12-23 20:17:15 +01:00
config-netware.h Many files: 2006-12-23 20:17:15 +01:00
config-os2.h Many files: 2006-12-23 20:17:15 +01:00
config-win.h Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-10-23 18:51:43 +05:00
decimal.h Bug #27957 cast as decimal does not check overflow, also inconsistent with group, subselect 2007-05-09 17:27:14 +05:00
errmsg.h Many files: 2006-12-23 20:17:15 +01:00
ft_global.h Many files: 2006-12-23 20:17:15 +01:00
hash.h Many files: 2006-12-23 20:17:15 +01:00
heap.h Many files: 2006-12-23 20:17:15 +01:00
help_end.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
help_start.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
keycache.h Backport of the keycache changes from http://lists.mysql.com/commits/31517 to make keycache 64-bit safe in 5.0. This is for bug #5731. 2007-08-29 20:45:04 +04:00
m_ctype.h Bug#28875 Conversion between ASCII and LATIN1 charsets does not function 2007-08-03 15:25:23 +05:00
m_string.h Bug#31177: Server variables can't be set to their current values 2007-11-30 06:32:04 +01:00
Makefile.am Generate "config.h" directly into the "include" directory, later copied 2007-07-30 21:09:45 +02:00
my_aes.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_alarm.h Many files: 2006-12-23 20:17:15 +01:00
my_alloc.h Many files: 2006-12-23 20:17:15 +01:00
my_attribute.h Bug#25118 ATTRIBUTE_FORMAT_FPTR undeclared in m_ctype.h 2007-04-12 00:43:25 +02:00
my_base.h Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 2007-10-26 15:37:38 +05:00
my_bitmap.h Many files: 2006-12-23 20:17:15 +01:00
my_dbug.h Fixed compiler warnings. 2007-02-28 22:23:35 +02:00
my_dir.h Many files: 2006-12-23 20:17:15 +01:00
my_getopt.h Bug#31177: Server variables can't be set to their current values 2007-11-30 06:32:04 +01:00
my_global.h Merge mysql.com:/home/kent/bk/mac-os-x-universal/mysql-4.1-build 2007-11-30 01:37:07 +01:00
my_handler.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_libwrap.h Many files: 2006-12-23 20:17:15 +01:00
my_list.h Many files: 2006-12-23 20:17:15 +01:00
my_md5.h Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02:00
my_net.h Many files: 2006-12-23 20:17:15 +01:00
my_no_pthread.h Many files: 2006-12-23 20:17:15 +01:00
my_nosys.h Many files: 2006-12-23 20:17:15 +01:00
my_pthread.h Merge kindahl-laptop.dnsalias.net:/home/bk/b30992-mysql-5.0-rpl 2007-10-01 15:14:58 +02:00
my_sys.h Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0 2007-12-04 20:58:21 -07:00
my_time.h Backport of TIME->MYSQL_TIME / Y2K fixset 2007-05-16 10:44:59 +02:00
my_tree.h Many files: 2006-12-23 20:17:15 +01:00
my_user.h Many files: 2006-12-23 20:17:15 +01:00
my_xml.h Many files: 2006-12-23 20:17:15 +01:00
myisam.h Many files: 2006-12-23 20:17:15 +01:00
myisammrg.h Many files: 2006-12-23 20:17:15 +01:00
myisampack.h Many files: 2006-12-23 20:17:15 +01:00
mysql.h Bug#29592 SQL Injection issue 2007-11-26 14:09:37 -02:00
mysql_com.h Merge mysql.com:/home/hf/work/mrg/my41-mrg 2007-11-30 22:29:34 +04:00
mysql_embed.h Many files: 2006-12-23 20:17:15 +01:00
mysql_h.ic Bug#29592 SQL Injection issue 2007-11-26 14:09:37 -02:00
mysql_time.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql_version.h.in Bug #15327: configure: --with-tcp-port option being partially ignored 2007-09-13 16:19:46 +02:00
mysys_err.h Many files: 2006-12-23 20:17:15 +01:00
queues.h Many files: 2006-12-23 20:17:15 +01:00
raid.h Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
rijndael.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sha1.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql_common.h Bug #25097 mysql_server_init fails silently if no errmsg.sys is present. 2008-02-27 12:42:43 +04:00
sslopt-case.h Many files: 2006-12-23 20:17:15 +01:00
sslopt-longopts.h Many files: 2006-12-23 20:17:15 +01:00
sslopt-vars.h Many files: 2006-12-23 20:17:15 +01:00
t_ctype.h Many files: 2006-12-23 20:17:15 +01:00
thr_alarm.h Merge chilla.local:/home/mydev/mysql-4.1-axmrg 2007-02-02 10:03:22 +01:00
thr_lock.h Bug #26162: Trigger DML ignores low_priority_updates setting 2007-06-03 09:40:00 +03:00
typelib.h Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-12-26 22:28:28 -07:00
violite.h follow-up fix 2007-06-15 11:28:15 +02:00