mariadb/sql
kaa@polly.local 346033a5da Fix for bug #22077 "DROP TEMPORARY TABLE fails with wrong error if read_only is set"
Do not issue a 'read-only' error in case of DROP TEMPORARY TABLE on a non-existing temporary table.
Instead produce the correct "Unknown table" error or warning (in cases when the IF EXISTS clause was specified).

To a documentor: the part of the manual describing the 'read_only' system variable should be clarified to state the following:
"When the read_only variable is set to ON, all operations which create/update/drop tables are rejected with the exceptions for:
1. Any operation performed by the replication thread on a slave server
2. Any operation performed by a user that have the SUPER privilege
3. Any operation that creates/updates/drops only temporary tables"
2006-11-20 17:35:23 +03:00
..
examples Additional files for cmake support 2006-08-31 19:52:42 +02:00
share Addition to fix for bug#10974. Fixed spelling. 2006-10-06 11:03:14 +05:00
.cvsignore
add_errmsg
client_settings.h
CMakeLists.txt Fix for bug #19121: Windows incompatible udf_example 2006-09-22 14:42:43 +02:00
custom_conf.h
derror.cc
des_key_file.cc
discover.cc
field.cc Merge polly.local:/tmp/maint/bug11655/my50-bug11655 2006-10-12 11:28:44 +04:00
field.h Merge rurik.mysql.com:/home/igor/mysql-4.1-opt 2006-09-20 09:47:36 -07:00
field_conv.cc Bug#19960 Inconsistent results when joining InnoDB tables using partial UTF8 indexes 2006-09-29 16:15:57 +05:00
filesort.cc Added a missing breakpoint. This could cause 2006-10-03 12:44:59 +03:00
frm_crypt.cc
gen_lex_hash.cc Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0-maint-gca 2006-08-23 18:37:04 -04:00
gstream.cc
gstream.h
ha_archive.cc Fixed that max_zfile_size was incorrectly calculated on big-endian boxes. 2006-09-29 21:36:17 +05:00
ha_archive.h BUG#21675 - engine=archive 2GB file limit, when reached mysqld restarts on any query 2006-09-28 20:30:15 +05:00
ha_berkeley.cc Bug#20573 2006-08-30 13:20:39 -07:00
ha_berkeley.h
ha_blackhole.cc Revoking patch for Bug#10952 on behalf of Brian. 2006-07-10 20:46:05 +02:00
ha_blackhole.h
ha_federated.cc autopush test - sorry for the commit messages, ignore 2006-08-09 17:41:35 -07:00
ha_federated.h BUG #15133 "unique index with nullable value not accepted in federated table" 2006-07-25 18:38:09 -04:00
ha_heap.cc Bug#20573 2006-08-30 13:20:39 -07:00
ha_heap.h
ha_innodb.cc Apply InnoDB snapshot ss923 2006-10-20 12:34:31 -06:00
ha_innodb.h
ha_myisam.cc Merge april.(none):/home/svoj/devel/bk/mysql-5.0-engines 2006-09-12 18:53:51 +05:00
ha_myisam.h BUG#20256 - LOCK WRITE - MyISAM 2006-09-12 18:25:35 +05:00
ha_myisammrg.cc After merge fix. 2006-10-08 22:34:32 +05:00
ha_myisammrg.h
ha_ndbcluster.cc Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 2006-09-18 16:23:45 +05:00
ha_ndbcluster.h Fix for bug #21059 Server crashes on join query with large dataset with NDB tables: do not release operation records for on-going read_multi_range 2006-08-15 14:31:21 +02:00
handler.cc Merge polly.local:/tmp/maint/bug22728/my41-bug22728 2006-10-12 13:39:52 +04:00
handler.h Merge april.(none):/home/svoj/devel/bk/mysql-5.0-engines 2006-09-12 18:53:51 +05:00
hash_filo.cc
hash_filo.h
hostname.cc
init.cc
item.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2006-10-02 22:53:10 +04:00
item.h Merge dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-4.1-opt 2006-09-15 14:14:38 +02:00
item_buff.cc Bug#22138: Unhandled NULL caused server crash 2006-10-11 19:44:12 +04:00
item_cmpfunc.cc Fixed bug #19579: at range analysis optimizer did not take into 2006-10-16 14:25:28 -07:00
item_cmpfunc.h Fixed bug #22753. 2006-09-29 07:43:25 -07:00
item_create.cc Bug#16172 DECIMAL data type processed incorrectly 2006-08-08 14:40:07 +05:00
item_create.h
item_func.cc Bug#18761: constant expression as UDF parameters not passed in as constant 2006-11-13 13:13:44 -05:00
item_func.h BUG#21726: Incorrect result with multiple invocations of LAST_INSERT_ID 2006-10-02 14:28:23 +04:00
item_geofunc.cc
item_geofunc.h
item_row.cc BUG#21166: Prepared statement causes signal 11 on second execution 2006-08-24 15:49:12 +04:00
item_row.h
item_strfunc.cc Merge mysql.com:/usr/home/ram/work/bug23254/my41-bug23254 2006-10-13 19:09:22 +05:00
item_strfunc.h Merge shellback.(none):/home/msvensson/mysql/mysql-5.0 2006-08-31 11:57:36 +02:00
item_subselect.cc Merge bk-internal:/home/bk/mysql-4.1-maint 2006-09-28 18:11:29 -07:00
item_subselect.h Merge mysql.com:/home/psergey/mysql-4.1-opt 2006-07-21 23:45:34 +04:00
item_sum.cc Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt 2006-09-19 19:18:52 +03:00
item_sum.h Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-07-23 12:58:26 +05:00
item_timefunc.cc Merge polly.local:/tmp/maint/bug11655/my50-bug11655 2006-10-12 11:28:44 +04:00
item_timefunc.h Bug#21811 Odd casting with date + INTERVAL arithmetic 2006-10-02 12:37:01 +02:00
item_uniq.cc
item_uniq.h
key.cc Fix for bug#20670 "UPDATE using key and invoking trigger that modifies 2006-09-21 11:35:38 +04:00
lex.h
lex_symbol.h
lock.cc Fix for bug#21216 "Simultaneous DROP TABLE and SHOW OPEN TABLES causes 2006-08-21 12:18:59 +04:00
log.cc Merge bk-internal:/home/bk/mysql-5.0 2006-10-03 20:28:59 +02:00
log_event.cc BUG#21726: Incorrect result with multiple invocations of LAST_INSERT_ID 2006-10-02 14:28:23 +04:00
log_event.h
Makefile.am Bug#18888 Trying to overwrite sql/lex_hash.h during build 2006-09-25 20:01:39 +02:00
matherr.c
message.mc make dist changes for Cmake build 2006-09-01 10:32:12 +02:00
mf_iocache.cc
my_decimal.cc
my_decimal.h
my_lock.c
mysql_priv.h Merge bk-internal:/home/bk/mysql-5.0 2006-10-20 11:02:56 +02:00
mysqld.cc Improve comments around FLUSH STATUS 2006-10-30 13:35:57 +01:00
mysqld_suffix.h
net_serv.cc Merge maint2.mysql.com:/data/localhome/tsmith/bk/41 2006-09-01 08:53:56 +02:00
nt_servc.cc
nt_servc.h
opt_range.cc Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-10-24 14:42:08 -06:00
opt_range.h Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-10-24 14:42:08 -06:00
opt_sum.cc Merge macbook.gmz:/Users/kgeorge/mysql/work/B16792-4.1-opt 2006-09-05 17:09:12 +03:00
parse_file.cc
parse_file.h
password.c
procedure.cc
procedure.h
protocol.cc Bug#8153 (Stored procedure with subquery and continue handler, wrong result) 2006-08-22 18:58:14 -07:00
protocol.h
records.cc
repl_failsafe.cc
repl_failsafe.h
set_var.cc Improve comments around FLUSH STATUS 2006-10-30 13:35:57 +01:00
set_var.h
slave.cc Merge bk-internal:/home/bk/mysql-4.1-maint 2006-09-28 18:11:29 -07:00
slave.h Merge bk-internal:/home/bk/mysql-5.0-maint 2006-09-28 20:17:17 -07:00
sp.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-10-13 08:57:15 -04:00
sp.h
sp_cache.cc
sp_cache.h
sp_head.cc after merge fix 2006-09-27 19:21:29 +05:00
sp_head.h Fix for bug#21795: SP: sp_head::is_not_allowed_in_function() contains 2006-08-25 15:51:29 +02:00
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc Bug#8153 (Stored procedure with subquery and continue handler, wrong result) 2006-08-02 22:18:49 -07:00
sp_rcontext.h Bug#8153 (Stored procedure with subquery and continue handler, wrong result) 2006-08-02 22:18:49 -07:00
spatial.cc
spatial.h
sql_acl.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-10-13 08:57:15 -04:00
sql_acl.h
sql_analyse.cc Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/bug20305/my41-bug20305 2006-09-28 14:32:30 -04:00
sql_analyse.h
sql_array.h
sql_base.cc Fixed bug #19579: at range analysis optimizer did not take into 2006-10-16 14:25:28 -07:00
sql_bitmap.h
sql_cache.cc BUG#21051: RESET QUERY CACHE very slow when query_cache_type=0 2006-08-22 11:47:52 +04:00
sql_cache.h BUG#21051: RESET QUERY CACHE very slow when query_cache_type=0 2006-08-22 11:47:52 +04:00
sql_class.cc Improve comments around FLUSH STATUS 2006-10-30 13:35:57 +01:00
sql_class.h Improve comments around FLUSH STATUS 2006-10-30 13:35:57 +01:00
sql_client.cc
sql_crypt.cc
sql_crypt.h
sql_cursor.cc
sql_cursor.h
sql_db.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-10-13 08:57:15 -04:00
sql_delete.cc Merge bk-internal:/home/bk/mysql-5.0-opt 2006-10-17 16:36:44 +03:00
sql_derived.cc
sql_do.cc
sql_error.cc Bug#8153 (Stored procedure with subquery and continue handler, wrong result) 2006-08-02 22:18:49 -07:00
sql_error.h
sql_handler.cc
sql_help.cc
sql_insert.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2006-10-02 17:00:39 +04:00
sql_lex.cc Fixed bug #19579: at range analysis optimizer did not take into 2006-10-16 14:25:28 -07:00
sql_lex.h Fixed bug #19579: at range analysis optimizer did not take into 2006-10-16 14:25:28 -07:00
sql_list.cc
sql_list.h Fixed bug #16081: row equalities were not taken into 2006-09-01 04:23:04 -07:00
sql_load.cc BUG#21726: Incorrect result with multiple invocations of LAST_INSERT_ID 2006-10-02 14:28:23 +04:00
sql_locale.cc Fix compile errors in VC++ 7.0 2006-08-21 16:21:48 +04:00
sql_manager.cc
sql_manager.h
sql_map.cc
sql_map.h
sql_olap.cc
sql_parse.cc Fix for bug #22077 "DROP TEMPORARY TABLE fails with wrong error if read_only is set" 2006-11-20 17:35:23 +03:00
sql_prepare.cc Merge siva.hindu.god:/usr/home/tim/m/bk/b19764/50 2006-10-16 20:15:14 -06:00
sql_rename.cc sql_rename.cc: 2006-10-18 00:14:14 +04:00
sql_repl.cc Merge perch.ndb.mysql.com:/home/jonas/src/41-work 2006-09-04 13:46:56 +02:00
sql_repl.h after merge fix 2006-09-27 19:21:29 +05:00
sql_select.cc Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-10-24 14:42:08 -06:00
sql_select.h rename of the new members introduced in the fix for bug 21798 2006-10-17 19:22:13 +03:00
sql_show.cc Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-10-23 15:21:23 +02:00
sql_sort.h
sql_state.c
sql_string.cc Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver. 2006-09-04 09:13:40 +02:00
sql_string.h
sql_table.cc Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-10-24 14:42:08 -06:00
sql_test.cc
sql_trigger.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-10-13 08:57:15 -04:00
sql_trigger.h Fix for bug#20670 "UPDATE using key and invoking trigger that modifies 2006-09-21 11:35:38 +04:00
sql_udf.cc Merge bk-internal:/home/bk/mysql-5.0-maint 2006-07-18 09:32:49 +02:00
sql_udf.h
sql_union.cc Bug#17039 Cursor with procedure crashes client 2006-09-07 16:44:18 +02:00
sql_update.cc Merge dl145s.mysql.com:/data/bk/team_tree_merge/mysql-5.0 2006-10-19 14:37:49 +02:00
sql_view.cc Fix previous bad patch for Bug#14262. 2006-10-17 11:06:11 -04:00
sql_view.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-10-13 08:57:15 -04:00
sql_yacc.yy Revert patch for bug #19764, which did not work with prepared statements. 2006-10-11 23:35:52 -06:00
stacktrace.c Merge polly.local:/tmp/maint/bug23256/mysql-4.1-maint 2006-10-20 14:32:31 +04:00
stacktrace.h Merge maint1.mysql.com:/data/localhome/tsmith/bk/bfx/my41-bfx 2006-09-07 00:59:08 +02:00
strfunc.cc
structs.h
table.cc Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-10-24 14:42:08 -06:00
table.h Merge bk-internal.mysql.com:/data0/bk/mysql-5.0 2006-08-03 16:54:06 +02:00
thr_malloc.cc
time.cc Merge polly.local:/tmp/maint/bug11655/my41-bug11655 2006-10-11 14:16:30 +04:00
tzfile.h
tztime.cc
tztime.h
udf_example.c Bug#18761: constant expression as UDF parameters not passed in as constant 2006-11-13 13:13:44 -05:00
udf_example.def Fix for bug #19121: Windows incompatible udf_example 2006-09-22 14:42:43 +02:00
uniques.cc
unireg.cc Merge bk@192.168.21.1:mysql-4.1 2006-10-12 13:50:22 +05:00
unireg.h sql_base.cc, unireg.h, sql_lex.h, table.cc, sql_view.h, sql_view.cc: 2006-08-09 00:05:42 +04:00
watchdog_mysqld