mariadb/sql
unknown 936688feb5 A followup patch for Bug#7306 (limit in prepared statements):
don't evaluate subqueries during statement prepare, even if they
are not correlated.
With post-review fixes.


sql/mysql_priv.h:
  Add UNCACHEABLE_PREPARE to mark subqueries as non-constant in 
  mysql_stmt_prepare
sql/sql_lex.cc:
  Add a missing assert: noone can call unit::set_limit from 
  mysql_stmt_prepare.
sql/sql_lex.h:
  Comment fixed.
sql/sql_parse.cc:
  Mark new SELECT_LEXes as uncacheable if they created during 
  statement prepare.
sql/sql_prepare.cc:
  Switch off the uncacheable flag when prepare is done.
2005-06-08 00:34:53 +04:00
..
examples Merge with 4.1 2005-06-07 00:31:53 +03:00
share Fix for bug #10015 "Crash in InnoDB if stored routines are used". 2005-06-07 14:53:08 +04:00
.cvsignore
add_errmsg
client_settings.h
custom_conf.h
derror.cc
des_key_file.cc
discover.cc
field.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
field.h
field_conv.cc
filesort.cc
frm_crypt.cc
gen_lex_hash.cc
gstream.cc
gstream.h
ha_berkeley.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
ha_berkeley.h
ha_blackhole.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
ha_blackhole.h
ha_federated.cc sp_rcontext.cc, sp_pcontext.cc, sp_head.cc, sp_cache.cc, ha_federated.cc: 2005-06-05 16:20:22 +02:00
ha_federated.h Fix broken linking when building with ha_federated 2005-06-05 23:00:45 +04:00
ha_heap.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
ha_heap.h
ha_innodb.cc ha_innodb.cc: 2005-06-07 11:51:27 +03:00
ha_innodb.h
ha_myisam.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
ha_myisam.h
ha_myisammrg.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
ha_myisammrg.h
ha_ndbcluster.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
ha_ndbcluster.h
handler.cc Fix for bug #10015 "Crash in InnoDB if stored routines are used". 2005-06-07 14:53:08 +04:00
handler.h
hash_filo.cc a compiler must see '#pragma implementation' *before* 2005-06-05 19:38:52 +02:00
hash_filo.h
hostname.cc
init.cc
item.cc After merge fixes 2005-06-07 05:43:59 +03:00
item.h Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-06-07 06:00:37 -07:00
item_buff.cc Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0 2005-06-07 06:38:05 -07:00
item_cmpfunc.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
item_cmpfunc.h item_func.h: 2005-06-02 07:27:02 -07:00
item_create.cc
item_create.h
item_func.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-06-07 14:54:48 +04:00
item_func.h item_func.h: 2005-06-02 10:00:32 -07:00
item_geofunc.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
item_geofunc.h
item_row.cc
item_row.h
item_strfunc.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
item_strfunc.h Bug#8610: The ucs2_turkish_ci collation fails with upper('i') 2005-06-06 16:54:15 +05:00
item_subselect.cc Manual merge. 2005-06-07 14:50:45 +04:00
item_subselect.h
item_sum.cc After merge fixes 2005-06-07 05:43:59 +03:00
item_sum.h
item_timefunc.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
item_timefunc.h
item_uniq.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
item_uniq.h
key.cc
lex.h
lex_symbol.h
lock.cc merged 2005-06-03 18:29:36 +02:00
log.cc Moved tc_log_page_waits outside HAVE_MMAP, 2005-06-07 11:45:28 +03:00
log_event.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
log_event.h
Makefile.am
matherr.c
mf_iocache.cc
my_decimal.cc
my_decimal.h
my_lock.c
mysql_priv.h A followup patch for Bug#7306 (limit in prepared statements): 2005-06-08 00:34:53 +04:00
mysqld.cc Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-06-07 10:05:52 -05:00
mysqld_suffix.h
net_serv.cc
nt_servc.cc
nt_servc.h
opt_range.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
opt_range.h Merge with 4.1 2005-06-07 00:31:53 +03:00
opt_sum.cc Fixed wrong key length when using MIN() optimization (non fatal, but caused InnoDB to write warnings to the log file) 2005-06-06 14:03:33 +03:00
parse_file.cc
parse_file.h
password.c
procedure.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
procedure.h
protocol.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
protocol.h
protocol_cursor.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
records.cc
repl_failsafe.cc
repl_failsafe.h
set_var.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
set_var.h
slave.cc
slave.h
sp.cc
sp.h
sp_cache.cc sp_rcontext.cc, sp_pcontext.cc, sp_head.cc, sp_cache.cc, ha_federated.cc: 2005-06-05 16:20:22 +02:00
sp_cache.h
sp_head.cc Manual merge. 2005-06-07 14:50:45 +04:00
sp_head.h
sp_pcontext.cc sp_rcontext.cc, sp_pcontext.cc, sp_head.cc, sp_cache.cc, ha_federated.cc: 2005-06-05 16:20:22 +02:00
sp_pcontext.h
sp_rcontext.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-06-06 14:36:21 +03:00
sp_rcontext.h
spatial.cc
spatial.h
sql_acl.cc merged 2005-06-03 18:29:36 +02:00
sql_acl.h
sql_analyse.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
sql_analyse.h
sql_base.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-06-07 14:54:48 +04:00
sql_bitmap.h merge 2005-06-05 17:19:50 +03:00
sql_cache.cc
sql_cache.h
sql_class.cc Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0 2005-06-07 06:38:05 -07:00
sql_class.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-06-07 16:28:08 +04:00
sql_client.cc
sql_crypt.cc a compiler must see '#pragma implementation' *before* 2005-06-05 19:38:52 +02:00
sql_crypt.h
sql_db.cc
sql_delete.cc
sql_derived.cc Patch two (the final one) for Bug#7306 "the server side preparedStatement 2005-06-07 14:11:36 +04:00
sql_do.cc
sql_error.cc Patch two (the final one) for Bug#7306 "the server side preparedStatement 2005-06-07 14:11:36 +04:00
sql_error.h
sql_handler.cc Patch two (the final one) for Bug#7306 "the server side preparedStatement 2005-06-07 14:11:36 +04:00
sql_help.cc
sql_insert.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
sql_lex.cc A followup patch for Bug#7306 (limit in prepared statements): 2005-06-08 00:34:53 +04:00
sql_lex.h A followup patch for Bug#7306 (limit in prepared statements): 2005-06-08 00:34:53 +04:00
sql_list.cc a compiler must see '#pragma implementation' *before* 2005-06-05 19:38:52 +02:00
sql_list.h
sql_load.cc
sql_manager.cc
sql_manager.h
sql_map.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
sql_map.h
sql_olap.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
sql_parse.cc A followup patch for Bug#7306 (limit in prepared statements): 2005-06-08 00:34:53 +04:00
sql_prepare.cc A followup patch for Bug#7306 (limit in prepared statements): 2005-06-08 00:34:53 +04:00
sql_rename.cc
sql_repl.cc Manual merge. 2005-06-07 14:50:45 +04:00
sql_repl.h
sql_select.cc Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-06-07 06:00:37 -07:00
sql_select.h
sql_show.cc
sql_sort.h
sql_state.c
sql_string.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
sql_string.h Bug#8610: The ucs2_turkish_ci collation fails with upper('i') 2005-06-06 16:54:15 +05:00
sql_table.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
sql_test.cc
sql_trigger.cc
sql_trigger.h Fix for bug #10015 "Crash in InnoDB if stored routines are used". 2005-06-07 14:53:08 +04:00
sql_udf.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
sql_udf.h
sql_union.cc Patch two (the final one) for Bug#7306 "the server side preparedStatement 2005-06-07 14:11:36 +04:00
sql_update.cc
sql_view.cc Patch two (the final one) for Bug#7306 "the server side preparedStatement 2005-06-07 14:11:36 +04:00
sql_view.h
sql_yacc.yy sql_yacc.yy: 2005-06-07 07:48:56 -07:00
stacktrace.c
stacktrace.h
strfunc.cc
structs.h
table.cc
table.h
thr_malloc.cc
time.cc
tzfile.h
tztime.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
tztime.h
udf_example.cc
uniques.cc
unireg.cc Some Windows compile improvements: 2005-06-06 15:23:04 +02:00
unireg.h
watchdog_mysqld