mariadb/include
unknown eb4aa092e5 WL#1366: Use the schema (db) associated with an SP.
Phase 2: Make SPs belong to a DB, and use qualified names.
  As a side effect, using USE in an SP is no longer allowed.
  (It just doesn't work otherwise.)


include/mysqld_error.h:
  New error code (USE is no longer allowed in a stored procedure).
include/sql_state.h:
  New error state (USE is no longer allowed in a stored procedure).
mysql-test/r/sp-error.result:
  Updated result for test of USE in SP (not allowed now).
mysql-test/r/sp-security.result:
  Updated test results for new db column and qualified procedured names.
mysql-test/r/sp.result:
  Updated results for USE in SP (as it's no longer allowed), and
  for new db column in status result.
mysql-test/t/sp-error.test:
  Moved test of USE in SP from sp.test (as it's no longer allowed).
mysql-test/t/sp-security.test:
  Ajusted tests for new db column and qualified procedured names.
mysql-test/t/sp.test:
  Moved test of USE in SP to sp-error.test (as it's no longer allowed).
  Adjusted tests for new db column in status result.
sql/mysql_priv.h:
  mysql_change_db() now has optional arguments for use by SP with qualified names.
sql/share/czech/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/danish/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/dutch/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/english/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/estonian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/french/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/german/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/greek/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/hungarian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/italian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/japanese/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/korean/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/norwegian-ny/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/norwegian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/polish/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/portuguese/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/romanian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/russian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/serbian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/slovak/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/spanish/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/swedish/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/share/ukrainian/errmsg.txt:
  New error message: USE is not allowed in a stored procedure.
sql/sp.cc:
  SPs are now "belong" to a DB and may have qualified names.
  New functions for changing DB ("use") when parsing and invoking SPs.
sql/sp.h:
  New functions for changing DB ("use") when parsing and invoking SPs.
sql/sp_cache.cc:
  Use the qualified name in the SP cache.
sql/sp_head.cc:
  New function for allocating a qualified SP name (used in sql_yacc.yy).
  Change DB when executing an SP (if needed).
  Moved thd_mem_root swap functions from sp_head.h.
sql/sp_head.h:
  New function for allocating a qualified SP name (used in sql_yacc.yy).
  Moved thd_mem_root swap functions to sp_head.cc.
sql/sql_db.cc:
  mysql_change_db() now has optional arguments for use by SP with qualified names
  (for use when reading an SP from database and executing it); also allow "unusing"
  a database, i.e. setting thd->thd to "".
sql/sql_yacc.yy:
  Initialize qualfied SP names correctly.
  USE is no longer allowed in an SP.
2004-03-11 17:18:59 +01:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
config-netware.h rlyon-5.0.0-alpha.patch 2003-05-29 14:28:02 -04:00
config-os2.h Implemented UTC_TIME, UTC_DATE and UTC_TIMESTAMP functions (WL#345) 2003-08-11 23:43:01 +04:00
config-win.h Merge with 4.0.17 2003-12-17 17:35:34 +02:00
errmsg.h Fix for #2126 (mysql_server_init call shouldn't be needed) 2003-12-18 15:51:22 +04:00
ft_global.h make a clear distinction between max_word_length in *characters* and in *bytes* 2003-12-04 21:58:28 +01:00
hash.h Merge key cache structures to one 2003-11-20 22:06:25 +02:00
heap.h auto_increment for heap tables 2002-10-07 17:49:03 +05:00
keycache.h mf_keycache.c, keycache.h: 2003-11-25 10:40:14 -08:00
m_ctype.h Problem fix: 2004-02-06 16:59:25 +04:00
m_string.h Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error 2003-11-03 14:01:59 +02:00
Makefile.am Added missing file keycache.h 2003-11-21 12:22:51 +02:00
md5.h Update copyright 2001-12-06 14:10:51 +02:00
merge.h Update copyright 2001-12-06 14:10:51 +02:00
my_aes.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
my_alarm.h Update copyright 2001-12-06 14:10:51 +02:00
my_alloc.h Small improvement to alloc_root 2002-11-16 20:19:10 +02:00
my_base.h Merge with 4.0.17 2003-12-17 17:35:34 +02:00
my_bitmap.h Bitmap post-review fixes 2003-10-30 19:17:57 +01:00
my_dbug.h Change dbug.h -> my_dbug.h (Portability fix) 2003-03-17 19:06:14 +02:00
my_dir.h Fix for Bug #1952 2003-12-12 03:39:29 +03:00
my_getopt.h - Added missing documentation to some mysql.cc options. 2004-01-14 04:58:37 +02:00
my_global.h Merge 4.1 into 5.0. 2004-02-10 18:44:02 +01:00
my_handler.h Two-level index structure for FULLTEXT indexes 2003-01-21 19:24:34 +01:00
my_list.h Portability fixes (for windows) 2003-01-21 21:07:59 +02:00
my_net.h 4 small items in this: 2003-10-31 23:20:23 +01:00
my_no_pthread.h CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS 2003-11-18 13:47:27 +02:00
my_nosys.h Update copyright 2001-12-06 14:10:51 +02:00
my_pthread.h Merge with 4.0.17 2003-12-17 17:35:34 +02:00
my_semaphore.h more #ifdef THREAD added 2003-04-30 12:32:43 +02:00
my_sys.h Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 2003-12-19 23:05:07 +01:00
my_tree.h Merge with 4.0 2002-11-21 15:56:48 +02:00
my_xml.h Portability fixes 2003-02-28 14:32:40 +02:00
myisam.h Fixed compiler warnings from Intel compiler in Win64 2003-11-23 14:36:41 +02:00
myisammrg.h Merge with 4.0.8 2003-01-03 00:04:33 +02:00
myisampack.h Merge with 4.0 2002-11-21 15:56:48 +02:00
mysql.h manual merge, bug #2247 2004-02-13 00:50:03 +03:00
mysql_com.h Merge 4.1 to 5.0. 2003-12-19 18:03:27 +01:00
mysql_embed.h SCRUM 2004-01-07 14:45:04 +04:00
mysql_version.h.in Merge mysql.com:/my/mysql-4.0 into mysql.com:/my/mysql-4.1 2003-11-26 03:32:39 +02:00
mysqld_error.h WL#1366: Use the schema (db) associated with an SP. 2004-03-11 17:18:59 +01:00
mysys_err.h - Added missing documentation to some mysql.cc options. 2004-01-14 04:58:37 +02:00
nisam.h Update copyright 2001-12-06 14:10:51 +02:00
queues.h fix_max_connections to resize alarm_queue (Bug #1435) 2003-10-06 14:11:16 +02:00
raid.h Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rijndael.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sha1.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sql_common.h Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
sql_state.h WL#1366: Use the schema (db) associated with an SP. 2004-03-11 17:18:59 +01:00
sslopt-case.h fixed so that --ssl and --skip-ssl works with the MySQL clients. 2002-09-17 23:46:53 +03:00
sslopt-longopts.h consistency fix - all help texts for command-line options should end with a dot. 2003-06-13 10:59:02 +02:00
sslopt-vars.h Update copyright 2001-12-06 14:10:51 +02:00
t_ctype.h Update copyright 2001-12-06 14:10:51 +02:00
thr_alarm.h dummy resize_thr_alarm for Netware 2003-10-15 17:10:47 +02:00
thr_lock.h Merge with 4.0 2003-03-16 19:17:54 +02:00
typelib.h Windows build fix 2003-01-18 14:04:34 -08:00
violite.h Merge key cache structures to one 2003-11-20 22:06:25 +02:00