mariadb/sql
Gleb Shchepa c896190892 backport to 5.1 from 6.0
Bug#35658 (An empty binary value leads to mysqld crash)
  
Before this fix, the following token
  b''
caused the parser to crash when reading the binary value from the empty string.
The crash was caused by:
  ptr+= max_length - 1;
because max_length is unsigned and was 0, causing an overflow.
  
With this fix, an empty binary literal b'' is parsed as a binary value 0,
in Item_bin_string.
2008-06-27 15:23:40 +05:00
..
examples fixed warnings from the fix of 26243 2008-03-29 17:50:46 +02:00
share Bug#31210: INSERT DELAYED crashes server when used on partitioned tables 2008-06-03 13:25:41 +02:00
.cvsignore
add_errmsg
authors.h
client_settings.h
CMakeLists.txt Bug#37003 Tests sporadically crashes with embedded server 2008-06-18 13:17:15 -03:00
contributors.h
custom_conf.h
derror.cc Doxygenize comments, a*.cc - field.cc . 2007-10-09 17:56:32 -04:00
des_key_file.cc Doxygenize comments, a*.cc - field.cc . 2007-10-09 17:56:32 -04:00
discover.cc Doxygenize comments, a*.cc - field.cc . 2007-10-09 17:56:32 -04:00
event_data_objects.cc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
event_data_objects.h Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
event_db_repository.cc Bug#32633 Can not create any routine if SQL_MODE=no_engine_substitution 2008-02-07 08:47:39 -02:00
event_db_repository.h Provide initial module structure to Doxygen. 2007-08-15 19:08:44 +04:00
event_parse_data.cc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
event_parse_data.h Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
event_queue.cc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
event_queue.h Provide initial module structure to Doxygen. 2007-08-15 19:08:44 +04:00
event_scheduler.cc Merge mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-main 2007-11-12 21:09:48 +01:00
event_scheduler.h Provide initial module structure to Doxygen. 2007-08-15 19:08:44 +04:00
events.cc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
events.h Provide initial module structure to Doxygen. 2007-08-15 19:08:44 +04:00
field.cc Merge host.loc:/work/bugs/5.0-bugteam-30059 2008-05-13 17:01:02 +05:00
field.h Fixed bug #37076: TIMESTAMP/DATETIME/DATE values are not 2008-06-19 18:02:04 +05:00
field_conv.cc Doxygenization of comments. 2007-10-11 13:29:09 -04:00
filesort.cc Merge kaamos.(none):/data/src/mysql-5.1 2008-03-12 11:19:46 +03:00
frm_crypt.cc
gen_lex_hash.cc Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main 2008-02-08 12:13:33 +01:00
gstream.cc Merge mysql.com:/home/hf/work/30286/my41-30286 2007-10-05 16:33:08 +05:00
gstream.h
ha_ndbcluster.cc fixed warnings and compile errors from the fix for bug 26243 2008-03-29 09:52:16 +02:00
ha_ndbcluster.h Bug #34275 mysqld leak if doing multiple statements within same transaction (or wo/ trans) 2008-02-04 15:40:04 +01:00
ha_ndbcluster_binlog.cc Merge quad.:/mnt/raid/alik/MySQL/devel/5.1 2008-02-26 19:34:02 +03:00
ha_ndbcluster_binlog.h Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1 2007-09-11 16:17:28 +02:00
ha_ndbcluster_cond.cc fixed warnings and compile errors from the fix for bug 26243 2008-03-29 09:52:16 +02:00
ha_ndbcluster_cond.h Merge mysql.com:/misc/mysql/34749/50-34749 2008-03-10 07:07:56 +01:00
ha_ndbcluster_tables.h
ha_partition.cc Bug#35931 Index search of partitioned MyISAM table 2008-06-17 12:41:06 +02:00
ha_partition.h Moved a lot of old bug fixes and safe cleanups from Maria 5.1 tree to 5.1 2007-10-11 18:07:40 +03:00
handler.cc Bug #36705 key_buffer_size of >= 2G allocates all availabel virtual memory on 64-bit wondo. 2008-05-17 12:53:47 +05:00
handler.h Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main 2008-03-28 12:14:27 +02:00
hash_filo.cc
hash_filo.h
hostname.cc Doxygenization of comments. 2007-10-11 13:29:09 -04:00
init.cc Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug26294/my50-bug26294 2008-04-03 13:14:57 -04:00
item.cc backport to 5.1 from 6.0 2008-06-27 15:23:40 +05:00
item.h Tentative implementation of 2008-04-08 20:01:20 +04:00
item_buff.cc Doxygenization of comments. 2007-10-11 13:29:09 -04:00
item_cmpfunc.cc Bug#26243 mysql command line crash after control-c 2008-03-28 14:02:27 -04:00
item_cmpfunc.h Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_create.cc Fix merge problem. 2008-04-10 23:27:24 -04:00
item_create.h Fix doxygen warnings. 2007-08-15 17:43:08 +04:00
item_func.cc fixed warnings from the fix of 26243 2008-03-29 17:50:46 +02:00
item_func.h Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
item_geofunc.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-12-20 22:11:37 +01:00
item_geofunc.h Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_row.cc Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_row.h Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_strfunc.cc Merge host.loc:/work/bugs/5.0-bugteam-36488 2008-05-16 12:59:32 +05:00
item_strfunc.h Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_subselect.cc Merge moonbone.local:/work/27219-5.0-opt-mysql 2008-03-28 18:09:14 +03:00
item_subselect.h Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_sum.cc Merge magare.gmz:/home/kgeorge/mysql/work/B35298-5.0-bugteam 2008-05-01 14:54:59 +03:00
item_sum.h Merge moonbone.local:/work/27219-5.0-opt-mysql 2008-03-28 18:09:14 +03:00
item_timefunc.cc Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_timefunc.h Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
item_xmlfunc.cc Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-10-30 12:03:34 +04:00
item_xmlfunc.h Fix for bug #32557: order by updatexml causes assertion in filesort 2007-11-21 16:00:09 +04:00
key.cc Bug#34358: Cannot find specified bit row in partitioned table 2008-02-07 15:09:59 +01:00
lex.h Removed extra symbol during merge. 2008-02-12 10:43:38 +01:00
lex_symbol.h
lock.cc Fix for bug #35732: read-only blocks SELECT statements in InnoDB 2008-04-08 10:20:58 +05:00
log.cc Bug#34417 Assertion failure in Diagnostics_area::set_error_status() 2008-05-21 14:44:30 +02:00
log.h Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-10-30 12:03:34 +04:00
log_event.cc BUG#36197: flush tables (or little table cache) can cause crash on slave 2008-05-12 19:50:53 +02:00
log_event.h Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-bugteam 2008-03-28 14:52:33 +01:00
log_event_old.cc BUG#36197: flush tables (or little table cache) can cause crash on slave 2008-05-12 19:50:53 +02:00
log_event_old.h BUG#31583 (5.1-telco-6.1 -> 5.1.22. Slave returns Error in unknown event): 2007-12-05 20:00:14 +01:00
Makefile.am Bug#37003 Tests sporadically crashes with embedded server 2008-06-18 13:17:15 -03:00
message.mc
mf_iocache.cc Doxygenization of comments. 2007-10-11 13:29:09 -04:00
my_decimal.cc Doxygenization of comments. 2007-10-11 13:29:09 -04:00
my_decimal.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
my_lock.c
mysql_priv.h Bug#27430 "Crash in subquery code when in PS and table DDL changed after 2008-05-20 11:29:16 +04:00
mysqld.cc Bug#37003 Tests sporadically crashes with embedded server 2008-06-19 11:02:32 -03:00
mysqld_suffix.h Doxygenize comments. 2007-10-16 16:11:50 -04:00
net_serv.cc Bug#26243 mysql command line crash after control-c 2008-03-28 14:02:27 -04:00
nt_servc.cc Doxygenized comments. 2007-10-11 14:37:45 -04:00
nt_servc.h Doxygenize comments. 2007-10-16 16:11:50 -04:00
opt_range.cc Merge kpdesk.mysql.com:/home/thek/Development/cpp/mysql-5.1 2008-04-14 12:58:53 +02:00
opt_range.h Better comments 2007-11-06 21:57:51 +03:00
opt_sum.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-12-20 22:11:37 +01:00
parse_file.cc Doxygenized comments. 2007-10-11 14:37:45 -04:00
parse_file.h Doxygenize comments. 2007-10-16 16:11:50 -04:00
partition_element.h
partition_info.cc Bug#35305: partition_symlink test failures 2008-03-17 16:11:26 +01:00
partition_info.h Merge pcg5ppc.xiphis.org:/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.1 2008-03-14 11:13:54 -07:00
password.c
procedure.cc Doxygenized comments. 2007-10-11 14:37:45 -04:00
procedure.h Merge magare.gmz:/home/kgeorge/mysql/autopush/B26461-5.0-opt 2008-03-21 17:48:28 +02:00
protocol.cc Rename send_ok to my_ok. Similarly to my_error, it only records the status, 2008-02-19 15:45:21 +03:00
protocol.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-12-20 22:11:37 +01:00
records.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-12-14 10:52:10 -05:00
repl_failsafe.cc Merge stella.local:/home2/mydev/mysql-5.0-axmrg 2008-03-20 11:33:34 +01:00
repl_failsafe.h Renaming MASTER_INFO to Master_info in order to follow the coding 2007-08-16 08:52:50 +02:00
rpl_constants.h
rpl_filter.cc Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
rpl_filter.h
rpl_injector.cc A fix and a test case for Bug#12713 "Error in a stored function called from 2008-02-19 14:43:01 +03:00
rpl_injector.h
rpl_mi.cc Bug #31326: No compile check of order of initializations 2007-12-14 15:21:37 +02:00
rpl_mi.h Renaming MASTER_INFO to Master_info in order to follow the coding 2007-08-16 08:52:50 +02:00
rpl_record.cc Bug #32971 No user level error message from slave sql thread when ER_NO_DEFAULT_FOR_FIELD 2008-01-31 14:54:03 +02:00
rpl_record.h Bug #32971 No user level error message from slave sql thread when ER_NO_DEFAULT_FOR_FIELD 2008-01-31 14:54:03 +02:00
rpl_record_old.cc Renaming RELAY_LOG_INFO and st_relay_log_info to follow coding standards 2007-08-16 07:37:50 +02:00
rpl_record_old.h Renaming RELAY_LOG_INFO and st_relay_log_info to follow coding standards 2007-08-16 07:37:50 +02:00
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
rpl_rli.h BUG#13861 - START SLAVE UNTIL may stop 1 evnt too late if 2008-02-27 21:46:06 +04:00
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc Fixing return value. 2008-01-30 17:35:25 +01:00
rpl_utility.h Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl 2007-09-17 12:38:22 +02:00
scheduler.cc
scheduler.h Bug#28785 thread-handling not displayed properly in SHOW VARIABLES 2007-11-14 16:12:46 -05:00
set_var.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
set_var.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
slave.cc Bug#36443 Server crashes when executing insert when insert trigger on table 2008-06-19 21:47:59 +03:00
slave.h BUG#33029 5.0 to 5.1 replication fails on dup key when inserting 2008-03-14 11:35:41 +08:00
sp.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
sp.h Remove dead code. 2008-04-08 20:31:40 +04:00
sp_cache.cc Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
sp_cache.h
sp_head.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
sp_head.h Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug36570/my50-bug36570 2008-05-15 19:45:42 -04:00
sp_pcontext.cc Bug#8759 (Stored Procedures: SQLSTATE '00000' should be illegal) 2008-03-21 12:08:04 -06:00
sp_pcontext.h
sp_rcontext.cc Merge lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.0-33618 2008-01-23 15:36:57 -07:00
sp_rcontext.h Bug#33618 (Crash in sp_rcontext) 2008-01-23 13:26:41 -07:00
spatial.cc
spatial.h
sql_acl.cc Merge error between two patches caused error out-of-bounds assignment. 2008-04-08 15:57:44 +02:00
sql_acl.h Merge magare.gmz:/home/kgeorge/mysql/autopush/B26461-5.0-opt 2008-03-21 17:48:28 +02:00
sql_analyse.cc fixed warnings from the fix of 26243 2008-03-29 17:50:46 +02:00
sql_analyse.h Merge magare.gmz:/home/kgeorge/mysql/autopush/B26461-5.0-opt 2008-03-21 17:48:28 +02:00
sql_array.h Merge polly.(none):/home/kaa/src/maint/mysql-5.0-maint 2007-10-18 14:32:43 +04:00
sql_base.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
sql_binlog.cc Rename send_ok to my_ok. Similarly to my_error, it only records the status, 2008-02-19 15:45:21 +03:00
sql_bitmap.h Fix Bug#27812 "an ampersand is missed in sql/sql_bitmap.h, line 68" 2008-01-29 14:14:34 +03:00
sql_builtin.cc.in
sql_cache.cc Bug#33362: Query cache invalidation (truncate) may hang 2008-06-03 10:59:46 -03:00
sql_cache.h Doxygenize comments. 2007-10-16 16:11:50 -04:00
sql_class.cc Bug#36443 Server crashes when executing insert when insert trigger on table 2008-06-19 21:47:59 +03:00
sql_class.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
sql_client.cc
sql_connect.cc Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1 2008-03-28 10:41:52 +02:00
sql_crypt.cc
sql_crypt.h
sql_cursor.cc Fix broken --cursor-protocol (all tests). 2008-04-17 23:02:01 +04:00
sql_cursor.h Doxygenize comments. 2007-10-16 16:11:50 -04:00
sql_db.cc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
sql_delete.cc Merge host.loc:/home/uchum/work/mysql-5.1 2008-03-27 15:54:45 +04:00
sql_derived.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_do.cc Rename send_ok to my_ok. Similarly to my_error, it only records the status, 2008-02-19 15:45:21 +03:00
sql_error.cc Rename send_eof() to my_eof() for consistency with my_ok() and my_error() 2008-02-19 15:58:08 +03:00
sql_error.h
sql_handler.cc Rename send_eof() to my_eof() for consistency with my_ok() and my_error() 2008-02-19 15:58:08 +03:00
sql_help.cc Rename send_eof() to my_eof() for consistency with my_ok() and my_error() 2008-02-19 15:58:08 +03:00
sql_insert.cc Bug#31210: INSERT DELAYED crashes server when used on partitioned tables 2008-06-03 13:25:41 +02:00
sql_lex.cc Merge moonbone.local:/work/27219-5.0-opt-mysql 2008-03-28 18:09:14 +03:00
sql_lex.h Merge moonbone.local:/work/27219-5.0-opt-mysql 2008-03-28 18:09:14 +03:00
sql_list.cc
sql_list.h
sql_load.cc Merge quad.opbmk:/mnt/raid/alik/MySQL/devel/5.0-bt 2008-03-28 23:54:14 +03:00
sql_locale.cc
sql_manager.cc
sql_map.cc type conversions fixed to avoid warnings on Windows 2007-10-23 14:27:11 +05:00
sql_map.h
sql_olap.cc
sql_parse.cc Bug#27430 "Crash in subquery code when in PS and table DDL changed after 2008-05-20 20:36:26 +04:00
sql_partition.cc Merge pcg5ppc.xiphis.org:/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.1-engines 2008-03-07 13:46:29 -08:00
sql_partition.h Bug#30822: ALTER TABLE COALESCE PARTITION causes segmentation fault 2007-11-20 11:21:00 +01:00
sql_plugin.cc Bug#37069: Make federated disabled by default 2008-05-30 13:21:45 +03:00
sql_plugin.h
sql_prepare.cc Bug#31210: INSERT DELAYED crashes server when used on partitioned tables 2008-06-09 14:39:20 +02:00
sql_profile.cc Fix a compilation failure of the community tree. 2008-02-19 23:47:15 +03:00
sql_profile.h Correct complaints of reviewers and clean up test. 2007-12-14 08:57:37 -05:00
sql_rename.cc Rename send_ok to my_ok. Similarly to my_error, it only records the status, 2008-02-19 15:45:21 +03:00
sql_repl.cc Rename send_eof() to my_eof() for consistency with my_ok() and my_error() 2008-02-19 15:58:08 +03:00
sql_repl.h Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl 2008-03-14 18:38:54 +01:00
sql_select.cc Fixed bug #37004. 2008-06-19 05:08:41 +02:00
sql_select.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-12-20 22:11:37 +01:00
sql_servers.cc Merge mysql.com:/home/svoj/devel/mysql/BUG34790/mysql-5.1-engines 2008-03-21 12:46:01 +04:00
sql_servers.h
sql_show.cc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-12 12:09:10 +02:00
sql_show.h
sql_sort.h
sql_state.c
sql_string.cc Bug#23924 general_log truncates queries with character set introducers. 2008-02-29 17:56:50 +04:00
sql_string.h Bug#23924 general_log truncates queries with character set introducers. 2008-02-29 17:56:50 +04:00
sql_table.cc auto merge 5.1-main --> 5.1-bugteam 2008-06-25 14:44:55 +05:00
sql_tablespace.cc
sql_test.cc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 09:43:02 +02:00
sql_trigger.cc Rename send_ok to my_ok. Similarly to my_error, it only records the status, 2008-02-19 15:45:21 +03:00
sql_trigger.h Doxygenize comments. 2007-10-16 16:11:50 -04:00
sql_udf.cc A fix and a test case for Bug#12713 "Error in a stored function called from 2008-02-19 14:43:01 +03:00
sql_udf.h
sql_union.cc fixes for warnings and compile errors for the fix of bug 26243 2008-03-29 16:12:23 +02:00
sql_update.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
sql_view.cc Bug#32575 - Parse error of stmt with extended comments on slave side 2008-05-08 09:41:22 +02:00
sql_view.h Merge buzz.(none):/home/davi/mysql-5.0-runtime 2008-02-21 23:21:52 -02:00
sql_yacc.yy Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2008-05-20 11:38:17 +04:00
strfunc.cc Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
structs.h Bug#36443 Server crashes when executing insert when insert trigger on table 2008-06-19 21:47:59 +03:00
table.cc Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main 2008-03-28 12:14:27 +02:00
table.h Bug#27430 "Crash in subquery code when in PS and table DDL changed after 2008-05-20 11:29:16 +04:00
thr_malloc.cc
time.cc re-push of Bug 29536 for 5.1.22: timestamp inconsistent in replication around 1970 2007-08-27 12:33:57 +03:00
tzfile.h
tztime.cc Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug26294/my50-bug26294 2008-04-03 13:19:55 -04:00
tztime.h Doxygenize comments. 2007-10-16 16:11:50 -04:00
udf_example.c Merge magare.gmz:/home/kgeorge/mysql/work/B30355-5.0-opt 2007-11-27 17:19:51 +02:00
udf_example.def Bug #29804 UDF parameters don't contain correct string length 2007-10-17 17:54:11 -04:00
uniques.cc
unireg.cc Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main 2008-03-28 12:14:27 +02:00
unireg.h Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug15776/my51-bug15776 2008-04-09 18:24:50 -04:00