mariadb/sql
unknown 188b8af60c Fix for bug #9566 "explicit LOCK TABLE and store procedures result in
illegal state".

We should not assume that mysql.proc table does not exist if we are
unable to open it under LOCK TABLES or in prelocked mode (and
remember this fact by setting mysql_proc_table_exists to zero).


mysql-test/r/sp.result:
  Added test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
  state"
mysql-test/t/sp.test:
  Added test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
  state"
sql/sp.cc:
  db_find_routine_aux():
    We should not assume that mysql.proc table does not exist if we are
    unable to open it under LOCK TABLES or in prelocked mode since this
    condition may be transient.
2005-04-07 01:40:29 +04:00
..
examples print xa recovery progress 2005-03-13 21:58:09 +01:00
share Fixed errors found during review 2005-04-06 19:43:35 +03:00
.cvsignore
add_errmsg
client_settings.h
custom_conf.h
derror.cc Remove compiler warnings and remove not used variables 2005-02-25 16:53:22 +02:00
des_key_file.cc
discover.cc WL1424 Multiple MySQL Servers: SHOW TABLES etc. should detect new and delete old tables. 2004-09-13 14:46:38 +02:00
field.cc Merge 2005-04-05 13:23:11 +02:00
field.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-04-01 15:06:35 +03:00
field_conv.cc Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
filesort.cc merging 2005-03-15 19:31:52 +04:00
frm_crypt.cc
gen_lex_hash.cc After merge fixes 2004-12-31 00:44:00 +02:00
gstream.cc
gstream.h
ha_berkeley.cc Merge 2005-04-01 11:15:11 +02:00
ha_berkeley.h XA (not completely polished out yet) 2005-01-16 13:16:23 +01:00
ha_blackhole.cc Collection of changes per Bar and Serg. 2005-03-24 16:07:56 -08:00
ha_blackhole.h Collection of changes per Bar and Serg. 2005-03-24 16:07:56 -08:00
ha_federated.cc Fixed errors descovered by valgrind 2.4 2005-04-06 17:22:21 +03:00
ha_federated.h Chmod -x for ha_federated.h 2005-03-05 00:35:00 +03:00
ha_heap.cc Fixed errors descovered by valgrind 2.4 2005-04-06 17:22:21 +03:00
ha_heap.h Output 'MEMORY' as table type for tables using the memory (nee heap) storage 2005-01-13 17:38:13 -08:00
ha_innodb.cc handler.cc, ha_innodb.cc: 2005-04-05 17:56:40 +03:00
ha_innodb.h Eliminate warnings noticed by VC7. This includes fixing my_mmap() on 2005-03-18 16:12:25 -08:00
ha_myisam.cc Merge with after merge fix 2005-03-04 11:37:45 +01:00
ha_myisam.h Merge changes 2005-02-04 11:59:02 -08:00
ha_myisammrg.cc First stage of table definition cache 2005-01-06 13:00:13 +02:00
ha_myisammrg.h Fix for BUG#7377. This fix adds the same implementation for ha_myisammgr::index_type as in version 5.0. 2004-12-27 14:05:35 +02:00
ha_ndbcluster.cc BUG#9626 Several serious errors reported by Valgrind in latest 5.0 bk tree 2005-04-06 12:27:43 +02:00
ha_ndbcluster.h Merged 2005-03-22 22:31:51 +01:00
handler.cc handler.cc, ha_innodb.cc: 2005-04-05 17:56:40 +03:00
handler.h XID SQL syntax 2005-04-04 00:50:05 +02:00
hash_filo.cc
hash_filo.h
hostname.cc
init.cc
item.cc Merge 2005-04-05 19:45:34 -07:00
item.h Merge 2005-04-05 19:45:34 -07:00
item_buff.cc Fixed failing test cases 'row.test' when running with --ps-protocol 2005-02-15 16:45:00 +02:00
item_cmpfunc.cc Merge 2005-04-01 10:13:37 +02:00
item_cmpfunc.h merged 2005-03-14 18:46:30 +01:00
item_create.cc Merge 2005-03-05 18:20:35 +04:00
item_create.h Precision Math implementation 2005-02-09 02:50:45 +04:00
item_func.cc item_func.cc: 2005-03-28 14:15:43 +05:00
item_func.h postmerge 4.1->5.0 fixes 2005-04-01 02:14:30 +03:00
item_geofunc.cc Merge with 4.1 2004-12-22 13:54:39 +02:00
item_geofunc.h Rename: Item::val -> Item::val_real(). 2004-11-11 21:39:35 +03:00
item_row.cc Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
item_row.h Precision Math implementation 2005-02-09 02:50:45 +04:00
item_strfunc.cc Eliminate warnings noticed by VC7. This includes fixing my_mmap() on 2005-03-18 16:12:25 -08:00
item_strfunc.h Merge 2005-03-25 10:43:35 +04:00
item_subselect.cc postmerge 4.1->5.0 fixes 2005-04-01 02:14:30 +03:00
item_subselect.h Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 2005-04-01 02:15:40 +03:00
item_sum.cc Merge 2005-04-04 23:03:56 -07:00
item_sum.h XID SQL syntax 2005-04-04 00:50:05 +02:00
item_timefunc.cc Don't generate message in send_kill_message() if wrong data. (Caused core dump for wrong data in ALTER TABLE on some system) 2005-04-05 01:19:48 +03:00
item_timefunc.h Precision Math implementation 2005-02-09 02:50:45 +04:00
item_uniq.cc Precision Math implementation 2005-02-09 02:50:45 +04:00
item_uniq.h Precision Math implementation 2005-02-09 02:50:45 +04:00
key.cc Merge 4.1 -> 5.0 2005-03-17 16:51:07 +03:00
lex.h BUG#3190 fix (request for STDDEV_SAMP, VAR_SAMP). 2005-02-25 22:19:04 +04:00
lex_symbol.h
lock.cc XID SQL syntax 2005-04-04 00:50:05 +02:00
log.cc remove the rest of isam/merge references 2005-04-05 13:17:49 +02:00
log_event.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-03-30 16:01:30 +03:00
log_event.h Enabled more tests of STR_TO_DATE() 2005-03-30 23:41:42 +03:00
Makefile.am Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
matherr.c
mf_iocache.cc
my_decimal.cc Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
my_decimal.h Rename decimal -> decimal_t, decimal_digit -> decimal_digit_t 2005-03-21 15:58:34 +03:00
my_lock.c
mysql_priv.h Merge 2005-04-05 13:23:11 +02:00
mysqld.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-04-06 17:23:34 +03:00
mysqld_suffix.h
net_serv.cc Merge changes. 2005-03-08 17:24:07 +01:00
nt_servc.cc
nt_servc.h cleaned up mysql installation code for windows. 2005-02-09 22:02:48 +02:00
opt_range.cc remove the rest of isam/merge references 2005-04-05 13:17:49 +02:00
opt_range.h Post WL#2126 fixes: 2004-12-29 16:07:27 +03:00
opt_sum.cc Merge 2005-03-05 18:20:35 +04:00
parse_file.cc now my_printf_error is not better then my_error, but my_error call is shorter 2004-11-13 19:35:51 +02:00
parse_file.h fixed & added comments (according to Igor's review and a bit more) 2004-10-07 01:45:06 +03:00
password.c Merge with 4.1 2004-12-22 13:54:39 +02:00
procedure.cc Precision Math implementation 2005-02-09 02:50:45 +04:00
procedure.h Merge with 4.1 2005-02-22 15:47:00 +02:00
protocol.cc after merge fixes 2005-03-09 19:22:30 +01:00
protocol.h Precision Math implementation 2005-02-09 02:50:45 +04:00
protocol_cursor.cc Fixed BUILD script to use --with-berkeley-db instead of --with-bdb 2005-02-19 18:58:27 +02:00
records.cc Fixed errors found during review 2005-04-06 19:43:35 +03:00
repl_failsafe.cc First stage of table definition cache 2005-01-06 13:00:13 +02:00
repl_failsafe.h merge 2004-11-12 15:36:31 +02:00
set_var.cc remove the rest of isam/merge references 2005-04-05 13:17:49 +02:00
set_var.h Last part of WL#1062: better replication of timezones: no more use 2005-03-22 00:26:12 +01:00
slave.cc merge from 4.1 2005-03-24 14:32:40 +01:00
slave.h merge from 4.1 2005-03-24 14:32:40 +01:00
sp.cc Fix for bug #9566 "explicit LOCK TABLE and store procedures result in 2005-04-07 01:40:29 +04:00
sp.h Better approach for prelocking of tables for stored routines execution 2005-03-04 16:35:28 +03:00
sp_cache.cc
sp_cache.h
sp_head.cc Additional fix for BUG#5907: Traditional mode: invalid value can be inserted via a stored procedure 2005-04-05 15:49:10 +02:00
sp_head.h Merge in fix Bug#3788 2005-03-08 22:32:09 +00:00
sp_pcontext.cc Fixed BUG#8760: Stored Procedures: Invalid SQLSTATE is allowed in 2005-02-28 18:07:06 +01:00
sp_pcontext.h Fixed BUG#8760: Stored Procedures: Invalid SQLSTATE is allowed in 2005-02-28 18:07:06 +01:00
sp_rcontext.cc Manual merge SP-locking improvements patch with current tree. 2005-03-04 17:46:45 +03:00
sp_rcontext.h Better approach for prelocking of tables for stored routines execution 2005-03-04 16:35:28 +03:00
spatial.cc Fix for bug #6117 (Centroid() crashes server) 2004-10-22 20:32:02 +05:00
spatial.h Fix compiler warnings (detected by Intel's C++ compiler) 2004-10-22 18:44:51 +03:00
sql_acl.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-03-29 12:58:31 +03:00
sql_acl.h sql_acl.cc, sql_acl.h, sql_parse.cc 2005-03-22 15:54:18 +01:00
sql_analyse.cc Remove compiler warnings and remove not used variables 2005-02-25 16:53:22 +02:00
sql_analyse.h Precision Math implementation 2005-02-09 02:50:45 +04:00
sql_base.cc Merge 2005-04-05 13:23:11 +02:00
sql_bitmap.h
sql_cache.cc Eliminate warnings noticed by VC7. This includes fixing my_mmap() on 2005-03-18 16:12:25 -08:00
sql_cache.h merge 2005-02-07 21:39:37 +02:00
sql_class.cc Fixed errors found during review 2005-04-06 19:43:35 +03:00
sql_class.h Merge 2005-04-05 13:23:11 +02:00
sql_client.cc
sql_crypt.cc
sql_crypt.h
sql_db.cc Eliminate warnings noticed by VC7. This includes fixing my_mmap() on 2005-03-18 16:12:25 -08:00
sql_delete.cc fixed mechanism of detection selection from table wich we update 2005-03-28 15:13:31 +03:00
sql_derived.cc Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 2005-04-01 13:02:29 +03:00
sql_do.cc Merge with 4.1 2004-12-22 13:54:39 +02:00
sql_error.cc Don't generate message in send_kill_message() if wrong data. (Caused core dump for wrong data in ALTER TABLE on some system) 2005-04-05 01:19:48 +03:00
sql_error.h Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
sql_handler.cc Better approach for prelocking of tables for stored routines execution 2005-03-04 16:35:28 +03:00
sql_help.cc Eliminate warnings noticed by VC7. This includes fixing my_mmap() on 2005-03-18 16:12:25 -08:00
sql_insert.cc Merge 2005-04-05 19:45:34 -07:00
sql_lex.cc fixed mechanism of detection selection from table wich we update 2005-03-28 15:13:31 +03:00
sql_lex.h Merge 2005-04-05 13:23:11 +02:00
sql_list.cc
sql_list.h Merge with 4.1 2005-02-15 17:12:13 +02:00
sql_load.cc Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
sql_manager.cc
sql_manager.h
sql_map.cc A fix (mysql_priv.h should be included first) 2005-02-24 12:17:59 +04:00
sql_map.h
sql_olap.cc post-merge fix 2004-11-25 02:23:13 +02:00
sql_parse.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-04-06 17:23:34 +03:00
sql_prepare.cc Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 2005-04-01 13:02:29 +03:00
sql_rename.cc Cleanup during reviews 2005-03-16 16:11:01 +02:00
sql_repl.cc WL#874 "Extended LOAD DATA". 2005-03-16 04:32:47 +03:00
sql_repl.h WL#874 "Extended LOAD DATA". 2005-03-16 04:32:47 +03:00
sql_select.cc Minor fix in cursors execution. 2005-04-06 22:09:43 +04:00
sql_select.h after merge fix/ 2005-03-30 18:57:56 +05:00
sql_show.cc Fixed errors found during review 2005-04-06 19:43:35 +03:00
sql_sort.h
sql_state.c
sql_string.cc Cleanup during reviews 2005-03-16 16:11:01 +02:00
sql_string.h Cleanups during review of code 2005-03-21 23:41:28 +02:00
sql_table.cc Don't generate message in send_kill_message() if wrong data. (Caused core dump for wrong data in ALTER TABLE on some system) 2005-04-05 01:19:48 +03:00
sql_test.cc Fixed Bug#8042, "mysqld crashes on sighup". 2005-02-17 14:07:28 +02:00
sql_trigger.cc Fix for bugs #5859 "DROP TABLE does not drop triggers" and 2005-03-27 16:15:21 +04:00
sql_trigger.h Better approach for prelocking of tables for stored routines execution 2005-03-04 16:35:28 +03:00
sql_udf.cc Code cleanups during review of pushed code 2005-03-15 16:07:28 +02:00
sql_udf.h Precision Math implementation 2005-02-09 02:50:45 +04:00
sql_union.cc merge 4.1->5.0 2005-03-31 10:39:48 +03:00
sql_update.cc fixed mechanism of detection selection from table wich we update 2005-03-28 15:13:31 +03:00
sql_view.cc Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 2005-04-03 15:30:18 +03:00
sql_view.h post-merge fix 2004-11-25 02:23:13 +02:00
sql_yacc.yy XID SQL syntax 2005-04-04 00:50:05 +02:00
stacktrace.c Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
stacktrace.h
strfunc.cc Remove compiler warnings and remove not used variables 2005-02-25 16:53:22 +02:00
structs.h merge from 4.1 2005-03-24 14:32:40 +01:00
table.cc - stackoverflow check added for view of view processing 2005-04-03 01:23:45 +03:00
table.h - stackoverflow check added for view of view processing 2005-04-03 01:23:45 +03:00
thr_malloc.cc Simpler arena swapping code 2004-11-08 01:13:54 +02:00
time.cc Don't use -lsupc++ with gcc 3.3 and below as this gives linking problems when linking staticly 2005-04-04 16:43:25 +03:00
tzfile.h
tztime.cc Last part of WL#1062: better replication of timezones: no more use 2005-03-22 00:26:12 +01:00
tztime.h Last part of WL#1062: better replication of timezones: no more use 2005-03-22 00:26:12 +01:00
udf_example.cc Merge with 4.1 2004-12-22 13:54:39 +02:00
uniques.cc
unireg.cc Fix for bug #9571: Primary key creation causes server crash. 2005-04-05 13:40:34 +05:00
unireg.h Merge with 4.1 to get bug fix 2005-02-07 19:42:03 +02:00
watchdog_mysqld