mariadb/sql
unknown 8cc642d721 Quick backport of the following bugfix from MySQL 4.0.14.
DO NOT COPY THIS CODE TO 4.0. The bugfix is better in 4.0,
but here in 3.23 we don't want to add a new error code so
we just use ER_EMPTY_QUERY. Bug was:
"If a query was ignored on the slave (because of
@code{replicate-ignore-table} and other similar rules), the slave
still checked if the query got the same error code (0, no error) as on
the master. So if the master had an error on the query (for example,
``Duplicate entry'' in a multiple-row insert), then the slave stopped
and warned that the error codes didn't match. (Bug #797)"


sql/slave.cc:
  Ignore ER_EMPTY_QUERY as it is also a marker for "query was ignored because 
  of replicate-*-table rules".
sql/sql_parse.cc:
  In a slave thread, mark an ignored query (because of replicate-*-table rules)
  as empty. The caller, exec_event(), will understand this error code as "ignorable
  query, don't compare the error codes on master and slave".
2003-09-12 17:26:48 +02:00
..
share Translation updated 2003-06-08 02:53:41 -04:00
.cvsignore
add_errmsg
cache_manager.cc
cache_manager.h
ChangeLog
convert.cc Two bug fixes 2002-03-28 18:35:21 +02:00
custom_conf.h
derror.cc
field.cc Fixed problems with DECIMAL() type on overflow. 2002-05-02 18:04:21 +03:00
field.h fixed Field::eq() to work with CHAR(0) fields 2003-03-04 18:02:56 +01:00
field_conv.cc Fixed bug in LEFT JOIN ... WHERE not_null_key_column=NULL; 2002-10-16 10:32:45 +03:00
filesort.cc Code cleanup 2003-03-14 23:06:55 +02:00
frm_crypt.cc
gen_lex_hash.cc A fix for an obvious bug in hash generating proram. 2003-03-10 17:14:01 +02:00
ha_berkeley.cc
ha_berkeley.h
ha_gemini.cc
ha_gemini.h
ha_hash.h
ha_heap.cc
ha_heap.h
ha_innobase.cc ha_innobase.cc: 2003-07-02 00:08:29 +03:00
ha_innobase.h ha_innobase.cc, ha_innobase.h: 2002-10-03 19:10:49 +03:00
ha_isam.cc Added help for --local-infile 2002-03-12 11:38:22 +02:00
ha_isam.h
ha_isammrg.cc
ha_isammrg.h
ha_myisam.cc Fixed bug in memory allocation that could affect 64 bit systems (affected hammer) 2003-04-03 13:07:42 +03:00
ha_myisam.h
ha_myisammrg.cc TEMPORARY MERGE tables are allowed 2002-11-05 00:00:51 +01:00
ha_myisammrg.h
handler.cc log.cc, handler.cc: 2002-06-22 20:05:30 +03:00
handler.h sql_show.cc, handler.h, handler.cc: 2002-03-21 18:05:46 +02:00
hash_filo.cc
hash_filo.h
hostname.cc New my_gethostbyname_r() handling 2002-05-16 16:32:51 +03:00
init.cc
item.cc fix for SHOW CREATE TABLE to report corerct second field's length 2003-08-21 20:21:07 +02:00
item.h Bug #1064: SHOW CREATE TABLE: avoid allocations for simple tables, old client compatibility 2003-08-21 21:14:02 +02:00
item_buff.cc
item_cmpfunc.cc fixed functions to be able work with group function as argument 2003-01-29 10:38:56 +02:00
item_cmpfunc.h Fixed problem with ISNULL on fields that could not be null 2003-02-17 01:05:04 +02:00
item_create.cc
item_create.h
item_func.cc fixed bug with type of user variables (bug #551) 2003-06-25 21:11:23 -04:00
item_func.h fixed functions to be able work with group function as argument 2003-01-29 10:38:56 +02:00
item_strfunc.cc Cleaned up code comment 2003-08-03 16:33:04 +03:00
item_strfunc.h fixed functions to be able work with group function as argument 2003-01-29 10:38:56 +02:00
item_sum.cc
item_sum.h
item_timefunc.cc Fixed bug in DATE_FORMAT when used with GROUP BY 2002-03-06 18:36:31 +02:00
item_timefunc.h Fix for ISNULL() 2002-05-07 19:08:56 +03:00
item_uniq.cc
item_uniq.h
key.cc Fix of 'halloween bug' with UPDATE of InnoDB tables. 2003-03-18 02:51:16 +02:00
lex.h Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too big buffers when sorting innobase rows 2002-07-29 09:35:25 +03:00
lex_symbol.h
lock.cc Fixed a deadlock problem when using LOCK TABLE in one thread and DROP TABLE in another 2003-03-03 20:42:49 +02:00
log.cc -- already approved; it would be nice if it goes into 3.23.57 -- 2003-06-06 13:52:15 +02:00
log_event.cc Do not use 'created' for time anymore in Start_log_event, it's the same 2003-06-16 23:38:33 +02:00
log_event.h Do not use 'created' for time anymore in Start_log_event, it's the same 2003-06-16 23:38:33 +02:00
Makefile.am - added a dummy file "reservedwords.texi" to the BK tree and the Makefiles, 2003-01-27 13:44:16 +01:00
matherr.c
md5.c
md5.h
mf_iocache.cc
mini_client.cc Changed innobase_flush_log_at_trx_commit to be 1 as default 2003-04-07 21:36:45 +03:00
mini_client.h
my_lock.c Remove uage of static variable from file locks. 2002-02-10 20:28:58 +02:00
mysql_priv.h Merge sinisa@work.mysql.com:/home/bk/mysql 2003-03-05 15:45:11 +02:00
mysqld.cc Fixed bug when installing mysqld as a service with 2 arguments (option + service-name) 2003-05-26 20:09:53 +03:00
net_pkg.cc Fixed wrong packed length for packet > 16M. 2003-01-09 23:28:30 +02:00
net_serv.cc Fixed test if thr_alarm() failed 2003-06-05 15:15:27 +03:00
nt_servc.cc Fix error msg. Bug #681 2003-06-19 12:09:32 -04:00
nt_servc.h Added optional NT service and fix the TZ variable bug 2002-10-16 21:51:03 -02:00
opt_ft.cc
opt_ft.h
opt_range.cc Fixed an unlikely optimizer bug that casued a core dump in pt_range.cc::sel_cmp() 2003-03-07 14:40:37 +02:00
opt_range.h
opt_sum.cc backported MERGE+MAX bugfix from 4.0 2003-02-12 11:03:41 +01:00
password.c
procedure.cc
procedure.h
records.cc
slave.cc Quick backport of the following bugfix from MySQL 4.0.14. 2003-09-12 17:26:48 +02:00
slave.h slave.h, slave.cc: 2002-06-22 20:00:32 +03:00
sql_acl.cc bug #928 - arbitrary table grant was used, sort-order wasn't honored 2003-09-02 11:18:13 +02:00
sql_acl.h
sql_analyse.cc NEWDATE -> DATE in anylyse() output 2003-03-12 16:43:01 +02:00
sql_analyse.h Indentation cleanup 2003-02-25 11:05:07 +02:00
sql_base.cc Better grant test for SELECT * 2003-05-08 00:34:23 +03:00
sql_cache.cc
sql_class.cc another fix for RAND() initialization 2003-02-12 21:32:35 +01:00
sql_class.h -- already approved; it would be nice if it goes into 3.23.57 -- 2003-06-06 13:52:15 +02:00
sql_crypt.cc
sql_crypt.h
sql_db.cc Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump(). 2003-01-29 18:56:34 +02:00
sql_delete.cc Fixed bug that binary log was not locked during a DELETE FROM TABLE_NAME; 2003-03-24 23:24:45 +02:00
sql_do.cc
sql_insert.cc Change name -> alias in TABLE_LIST. 2002-09-21 21:36:23 +03:00
sql_lex.cc Don't give warnings for empty statements with comments 2002-02-14 15:04:14 +02:00
sql_lex.h Many files: 2002-07-08 19:34:49 +03:00
sql_list.cc
sql_list.h Fixed problem with timestamps in binary log on 64 bit machines 2003-04-23 00:13:37 +03:00
sql_load.cc Fix for load data infile when no active database 2002-03-22 01:03:34 +02:00
sql_manager.cc
sql_manager.h
sql_map.cc
sql_map.h
sql_parse.cc Quick backport of the following bugfix from MySQL 4.0.14. 2003-09-12 17:26:48 +02:00
sql_rename.cc Fixed an unlikely optimizer bug that casued a core dump in pt_range.cc::sel_cmp() 2003-03-07 14:40:37 +02:00
sql_repl.cc
sql_repl.h A better, but larger fix for server_id bug .. 2003-03-05 15:34:58 +02:00
sql_select.cc Fix an erronous cast for GCC introduced for to fix VC++ compiler error 2003-08-05 22:57:44 -03:00
sql_select.h
sql_show.cc Bug #1064: SHOW CREATE TABLE: avoid allocations for simple tables, old client compatibility 2003-08-21 21:14:02 +02:00
sql_string.cc
sql_string.h
sql_table.cc Check for empty table/column names 2003-03-14 17:08:42 +02:00
sql_test.cc
sql_udf.cc Fixed rare bug in show processlist which could cause core dump if a new thread was connecting. 2002-12-11 12:44:17 +02:00
sql_udf.h
sql_update.cc Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables. 2002-07-19 21:57:53 +03:00
sql_yacc.yy fixed functions to be able work with group function as argument 2003-01-29 10:38:56 +02:00
stacktrace.c Fix to get core file on Linux 2002-11-05 00:04:36 +02:00
stacktrace.h
structs.h Proper fix for SHOW VARS on 64-bit systems 2002-12-02 15:33:16 +02:00
table.cc Check for empty table/column names 2003-03-14 17:08:42 +02:00
table.h Change name -> alias in TABLE_LIST. 2002-09-21 21:36:23 +03:00
thr_malloc.cc
time.cc
udf_example.cc
unireg.cc Use NAMES_SEP_CHAR also for enums (Fix for supportwizard) 2002-02-13 22:01:43 +02:00
unireg.h Use NAMES_SEP_CHAR also for enums (Fix for supportwizard) 2002-02-13 22:01:43 +02:00
violite.c
watchdog_mysqld