mariadb/sql
unknown 660e91b19b Bug#28317 Left Outer Join with {oj outer-join}
Parser rejects ODBC's escape sequences for outer joins other
than left outer join, yet the escape sequence BNF specifies
that this syntax can be used for left, right, and full outer
join syntax.

The problem is that although the MySQL Connector/ODBC advertises
"Outer Join Escape Sequence" capabilities, the parsing is done
in the server and historically it only supported this syntax
for left outer joins and applications such as Crystal Reports
11 tries to use this syntax for inner joins.

The chosen solution is to reorganize a couple of parser rules
to ignore any kind of SQL escape sequence. Ignoring the escape
sequences is harmless because the various SQL join clauses
are supported by the server.


mysql-test/r/parser.result:
  Add test case result for Bug#28317
mysql-test/t/parser.test:
  Add test case for Bug#28317
sql/sql_yacc.yy:
  Reorganize rules in order to ignore SQL Escape Sequences
2007-12-19 20:59:57 -02:00
..
examples
share
.cvsignore
add_errmsg
authors.h
client_settings.h
CMakeLists.txt
contributors.h
custom_conf.h
derror.cc
des_key_file.cc
discover.cc
event_data_objects.cc
event_data_objects.h
event_db_repository.cc
event_db_repository.h
event_queue.cc
event_queue.h
event_scheduler.cc
event_scheduler.h
events.cc
events.h
field.cc
field.h
field_conv.cc
filesort.cc
frm_crypt.cc
gen_lex_hash.cc
gstream.cc
gstream.h
ha_ndbcluster.cc Bug#32395 Alter table under a impending global read lock causes a server crash 2007-12-12 19:44:14 -02:00
ha_ndbcluster.h
ha_ndbcluster_binlog.cc Merge mysql.com:/Users/davi/mysql/bugs/32395-5.1 2007-12-13 16:33:04 -02:00
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc Merge station.:/mnt/raid/alik/MySQL/devel/5.1 2007-12-13 12:06:37 +03:00
ha_partition.h
handler.cc
handler.h Bug#30273 - merge tables: Can't lock file (errno: 155) 2007-12-11 15:32:10 +01:00
hash_filo.cc
hash_filo.h
hostname.cc
init.cc
item.cc
item.h
item_buff.cc
item_cmpfunc.cc
item_cmpfunc.h
item_create.cc
item_create.h
item_func.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
item_func.h
item_geofunc.cc
item_geofunc.h
item_row.cc
item_row.h
item_strfunc.cc
item_strfunc.h
item_subselect.cc
item_subselect.h
item_sum.cc
item_sum.h
item_timefunc.cc
item_timefunc.h
item_xmlfunc.cc
item_xmlfunc.h
key.cc
lex.h
lex_symbol.h
lock.cc Bug#30273 - merge tables: Can't lock file (errno: 155) 2007-12-11 15:32:10 +01:00
log.cc Fix broken embedded build (broken by the patch for Bug#12713, first part). 2007-12-13 23:58:55 +03:00
log.h
log_event.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
log_event.h
log_event_old.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
log_event_old.h
Makefile.am
matherr.c
message.mc
mf_iocache.cc
my_decimal.cc
my_decimal.h
my_lock.c
mysql_priv.h Bug#32395 Alter table under a impending global read lock causes a server crash 2007-12-12 19:44:14 -02:00
mysqld.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-12-12 13:14:02 -05:00
mysqld_suffix.h
net_serv.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
nt_servc.cc
nt_servc.h
opt_range.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-12-12 18:36:10 +03:00
opt_range.h
opt_sum.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
parse_file.cc
parse_file.h
partition_element.h
partition_info.cc Merge stella.local:/home2/mydev/mysql-5.1-amain 2007-12-11 21:37:33 +01:00
partition_info.h
password.c
procedure.cc
procedure.h
protocol.cc Fix a compilation error. 2007-12-13 04:19:23 +03:00
protocol.h Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
records.cc
repl_failsafe.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
repl_failsafe.h
rpl_constants.h
rpl_filter.cc
rpl_filter.h
rpl_injector.cc
rpl_injector.h
rpl_mi.cc
rpl_mi.h
rpl_record.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
rpl_rli.h
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
set_var.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-12-13 14:31:20 -05:00
set_var.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-12-13 14:31:20 -05:00
slave.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
slave.h
sp.cc
sp.h
sp_cache.cc
sp_cache.h
sp_head.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sp_head.h
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sp_rcontext.h
spatial.cc
spatial.h
sql_acl.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-12-12 18:36:10 +03:00
sql_acl.h
sql_analyse.cc
sql_analyse.h
sql_array.h
sql_base.cc Merge mysql.com:/Users/davi/mysql/bugs/32395-5.1 2007-12-13 16:33:04 -02:00
sql_binlog.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_bitmap.h
sql_builtin.cc.in
sql_cache.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_cache.h
sql_class.cc Fix a compilation warning and a subtle bug with truncation of the 2007-12-13 05:37:38 +03:00
sql_class.h Fix a compilation warning and a subtle bug with truncation of the 2007-12-13 05:37:38 +03:00
sql_client.cc
sql_connect.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_crypt.cc
sql_crypt.h
sql_cursor.cc
sql_cursor.h
sql_db.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_delete.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03: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
sql_error.cc
sql_error.h
sql_handler.cc
sql_help.cc
sql_insert.cc Merge station.:/mnt/raid/alik/MySQL/devel/5.1 2007-12-13 12:06:37 +03:00
sql_lex.cc
sql_lex.h
sql_list.cc
sql_list.h
sql_load.cc
sql_locale.cc
sql_manager.cc
sql_map.cc
sql_map.h
sql_olap.cc
sql_parse.cc Merge mysql.com:/Users/davi/mysql/bugs/32395-5.1 2007-12-13 16:33:04 -02:00
sql_partition.cc Merge station.:/mnt/raid/alik/MySQL/devel/5.1 2007-12-13 12:06:37 +03:00
sql_partition.h
sql_plugin.cc
sql_plugin.h
sql_prepare.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_rename.cc
sql_repl.cc
sql_repl.h
sql_select.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-12-12 18:36:10 +03:00
sql_select.h
sql_servers.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_servers.h
sql_show.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_show.h
sql_sort.h
sql_state.c
sql_string.cc
sql_string.h
sql_table.cc Merge mysql.com:/Users/davi/mysql/bugs/32395-5.1 2007-12-13 16:33:04 -02:00
sql_tablespace.cc
sql_test.cc
sql_trigger.cc
sql_trigger.h
sql_udf.cc
sql_udf.h
sql_union.cc
sql_update.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
sql_view.cc
sql_view.h
sql_yacc.yy Bug#28317 Left Outer Join with {oj outer-join} 2007-12-19 20:59:57 -02:00
stacktrace.c
stacktrace.h
strfunc.cc
structs.h
table.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
table.h
thr_malloc.cc
time.cc
tzfile.h
tztime.cc Bug#12713 "Error in a stored function called from a SELECT doesn't 2007-12-12 18:21:01 +03:00
tztime.h
udf_example.c
udf_example.def
uniques.cc
unireg.cc
unireg.h