mariadb/plugin
Alexander Barkov 583eb96c24 MDEV-11952 Oracle-style packages: stage#5
- CREATE PACKAGE [BODY] statements are now
  entirely written to mysql.proc with type='PACKAGE' and type='PACKAGE BODY'.
- CREATE PACKAGE BODY now supports IF NOT EXISTS
- DROP PACKAGE BODY now supports IF EXISTS
- CREATE OR REPLACE PACKAGE [BODY] is now supported
- CREATE PACKAGE [BODY] now support the DEFINER clause:

    CREATE DEFINER user@host PACKAGE pkg ... END;
    CREATE DEFINER user@host PACKAGE BODY pkg ... END;

- CREATE PACKAGE [BODY] now supports SQL SECURITY and COMMENT clauses, e.g.:

    CREATE PACKAGE p1 SQL SECURITY INVOKER COMMENT "comment" AS ... END;

- Package routines are now created from the package CREATE PACKAGE BODY
  statement and don't produce individual records in mysql.proc.

- CREATE PACKAGE BODY now supports package-wide variables.
  Package variables can be read and set inside package routines.
  Package variables are stored in a separate sp_rcontext,
  which is cached in THD on the first packate routine call.

- CREATE PACKAGE BODY now supports the initialization section.

- All public routines (i.e. declared in CREATE PACKAGE)
  must have implementations in CREATE PACKAGE BODY

- Only public package routines are available outside of the package

- {CREATE|DROP} PACKAGE [BODY] now respects CREATE ROUTINE and ALTER ROUTINE
  privileges

- "GRANT EXECUTE ON PACKAGE BODY pkg" is now supported

- SHOW CREATE PACKAGE [BODY] is now supported

- SHOW PACKAGE [BODY] STATUS is now supported

- CREATE and DROP for PACKAGE [BODY] now works for non-current databases

- mysqldump now supports packages

- "SHOW {PROCEDURE|FUNCTION) CODE pkg.routine" now works for package routines

- "SHOW PACKAGE BODY CODE pkg" now works (the package initialization section)

- A new package body level MDL was added

- Recursive calls for package procedures are now possible

- Routine forward declarations in CREATE PACKATE BODY are now supported.

- Package body variables now work as SP OUT parameters

- Package body variables now work as SELECT INTO targets

- Package body variables now support ROW, %ROWTYPE, %TYPE
2018-02-25 21:08:19 +04:00
..
audit_null Changed database, tablename and alias to be LEX_CSTRING 2018-01-30 21:33:55 +02:00
auth_dialog MDEV-11660 Make encryption plugins "pure" 2017-04-27 19:12:38 +02:00
auth_ed25519 MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
auth_examples Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2018-01-27 15:20:01 +02:00
auth_gssapi Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
auth_pam MDEV-10940 plugins.pam still fails in buildbot with valgrind 2017-05-24 11:59:03 +02:00
auth_pipe MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
auth_socket Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
aws_key_management MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from 'size_t' to 'type', possible loss of data) 2018-02-06 12:55:58 +00:00
cracklib_password_check compiler warning 2017-09-23 20:21:49 +02:00
daemon_example MDEV-11660 Make encryption plugins "pure" 2017-04-27 19:12:38 +02:00
debug_key_management New encryption API. Piece-wise encryption. 2015-09-04 10:33:50 +02:00
example_key_management MDEV-11660 Make encryption plugins "pure" 2017-04-27 19:12:38 +02:00
feedback Make possible to use clang on Windows (clang-cl) 2018-02-20 21:17:36 +00:00
file_key_management Merge bb-10.2-ext into 10.3 2017-10-04 08:24:06 +03:00
fulltext Fix and reenable Windows compiler warning C4800 (size_t conversion). 2018-01-26 10:37:46 +00:00
handler_socket Changed database, tablename and alias to be LEX_CSTRING 2018-01-30 21:33:55 +02:00
locale_info Enusure that my_global.h is included first 2017-08-24 01:05:44 +02:00
metadata_lock_info MDEV-11952 Oracle-style packages: stage#5 2018-02-25 21:08:19 +04:00
qc_info Added HITS column to QUERY_CACHE_INFO table 2017-08-31 13:50:25 +04:00
query_response_time Merge bb-10.2-ext into 10.3 2017-10-04 08:24:06 +03:00
server_audit Make possible to use clang on Windows (clang-cl) 2018-02-20 21:17:36 +00:00
simple_password_check Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3 2018-01-29 12:44:20 +04:00
sql_errlog Correct FSF address 2017-03-10 18:21:29 +01:00
user_variables Enusure that my_global.h is included first 2017-08-24 01:05:44 +02:00
userstat Changed database, tablename and alias to be LEX_CSTRING 2018-01-30 21:33:55 +02:00
versioning make versioning plugin more clearly a test-only thing 2018-01-09 15:29:43 +03:00
win_auth_client Make possible to use clang on Windows (clang-cl) 2018-02-20 21:17:36 +00:00
wsrep_info Search for galera libraries also in /usr/lib64/galera-3 2017-12-08 11:38:22 +02:00