mariadb/include
Georgi Kodinov a70c34bf0f Fixes for Bug #55755 and Bug #52315 part 2
Bug #55755 : Date STD variable signness breaks server on FreeBSD and OpenBSD

* Added a check to configure on the size of time_t
* Created a macro to check for a valid time_t that is safe to use with datetime 
  functions and store in TIMESTAMP columns.
* Used the macro consistently instead of the ad-hoc checks introduced by 52315
* Fixed compliation warnings on platforms where the size of time_t is smaller than
  the size of a long (e.g. OpenBSD 4.8 64 amd64).

Bug #52315: utc_date() crashes when system time > year 2037

* Added a correct check for the timestamp range instead of just variable size check to
SET TIMESTAMP.
* Added overflow checking before converting to time_t. 
* Using a correct localized error message in this case instead of the generic error.
* Added a test suite.
* fixed the checks so that they check for unsigned time_t as well. Used the checks 
  consistently across the source code.
* fixed the original test case to expect the new error code.
2011-02-02 18:51:35 +02:00
..
.cvsignore
base64.h
config-netware.h Bug#17270 - mysql client tool could not find ../share/charsets folder and fails. 2009-07-31 15:22:02 -04:00
config-win.h Fixes for Bug #55755 and Bug #52315 part 2 2011-02-02 18:51:35 +02:00
decimal.h
errmsg.h
ft_global.h
hash.h Bug#43572 Handle failures from hash_init 2009-06-19 17:29:21 +05:30
heap.h
help_end.h
help_start.h
keycache.h Bug#17332 - changing key_buffer_size on a running server 2009-09-07 18:35:37 +02:00
m_ctype.h Bug#37575 UCASE fails on monthname 2008-12-23 18:08:04 +04:00
m_string.h Bug #48866: mysql.test fails under Fedora 12 2009-12-16 19:31:19 +02:00
Makefile.am - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
my_aes.h
my_alarm.h
my_alloc.h
my_attribute.h
my_base.h Fix for BUG#18828 - If InnoDB runs out of undo slots, 2009-07-17 14:13:53 +05:30
my_bitmap.h
my_dbug.h Bug#26243 mysql command line crash after control-c 2008-03-28 14:02:27 -04:00
my_dir.h
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 Fix for Bug#37408 - Compressed MyISAM files should not require/use mmap() 2009-12-17 16:55:50 +05:30
my_handler.h - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
my_libwrap.h
my_list.h
my_md5.h Bug #42434: license of mysys MD5 implementation is not GPL-compatible 2009-03-09 20:57:03 +02:00
my_net.h
my_no_pthread.h
my_nosys.h
my_pthread.h Bug#30960 processlist state '*** DEAD ***' on recent 5.0.48 windows builds 2008-03-19 15:01:03 -03:00
my_sys.h - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
my_time.h Fixes for Bug #55755 and Bug #52315 part 2 2011-02-02 18:51:35 +02:00
my_tree.h
my_user.h
my_xml.h
myisam.h Fix for Bug#37408 - Compressed MyISAM files should not require/use mmap() 2009-12-17 16:55:50 +05:30
myisammrg.h
myisampack.h
mysql.h Bug#41728: Dropped symbol but no soname change 2009-09-29 09:55:53 -03:00
mysql_com.h - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
mysql_embed.h
mysql_h.ic Bug#41728: Dropped symbol but no soname change 2009-09-29 09:55:53 -03:00
mysql_time.h
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
queues.h
raid.h
rijndael.h
sha1.h Bug #56428: Replace copyright notice removed from SHA1 code (.h) 2010-10-05 17:05:37 +03: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
sslopt-longopts.h
sslopt-vars.h
t_ctype.h
thr_alarm.h
thr_lock.h Bug #26162: Trigger DML ignores low_priority_updates setting 2007-06-03 09:40:00 +03:00
typelib.h
violite.h Bug #45770 errors reading server SSL files are printed, but 2009-07-23 13:38:11 +02:00