mariadb/sql
unknown 7dbea7df27 WL#2818 (Add creator to the trigger definition for privilege
checks on trigger activation)


mysql-test/r/information_schema.result:
  Update result file: a new column DEFINER has been added to
  INFORMATION_SCHEMA.TRIGGERS.
mysql-test/r/mysqldump.result:
  Update result file: a new column DEFINER has been added to
  INFORMATION_SCHEMA.TRIGGERS.
mysql-test/r/rpl_ddl.result:
  Update result file: a new column DEFINER has been added to
  INFORMATION_SCHEMA.TRIGGERS.
mysql-test/r/rpl_sp.result:
  Update result file: a new clause DEFINER has been added to
  CREATE TRIGGER statement.
mysql-test/r/rpl_trigger.result:
  Results for new test cases were added.
mysql-test/r/skip_grants.result:
  Error message has been changed.
mysql-test/r/trigger.result:
  Added DEFINER column.
mysql-test/r/view.result:
  Error messages have been changed.
mysql-test/r/view_grant.result:
  Error messages have been changed.
mysql-test/t/mysqldump.test:
  Drop created procedure to not affect further tests.
mysql-test/t/rpl_trigger.test:
  Add tests for new column in information schema.
mysql-test/t/skip_grants.test:
  Error tag has been renamed.
mysql-test/t/view.test:
  Error tag has been renamed.
mysql-test/t/view_grant.test:
  Error tag has been changed.
sql/item_func.cc:
  Fix typo in comments.
sql/mysql_priv.h:
  A try to minimize copy&paste:
    - introduce operations to be used from sql_yacc.yy;
    - introduce an operation to be used from trigger and
      view processing code.
sql/share/errmsg.txt:
  - Rename ER_NO_VIEW_USER to ER_MALFORMED_DEFINER in order to
    be shared for view and trigger implementations;
  - Fix a typo;
  - Add a new error code for trigger warning.
sql/sp.cc:
  set_info() was split into set_info() and set_definer().
sql/sp_head.cc:
  set_info() was split into set_info() and set_definer().
sql/sp_head.h:
  set_info() was split into set_info() and set_definer().
sql/sql_acl.cc:
  Add a new check: exit from the cycle if the table is NULL.
sql/sql_lex.h:
  - Rename create_view_definer to definer, since it is used for views
    and triggers;
  - Change st_lex_user to LEX_USER, since st_lex_user is a structure.
    So, formally, it should be "struct st_lex_user", which is longer
    than just LEX_USER;
  - Add trigger_definition_begin.
sql/sql_parse.cc:
  - Add a new check: exit from the cycle if the table is NULL;
  - Implement definer-related functions.
sql/sql_show.cc:
  Add DEFINER column.
sql/sql_trigger.cc:
  Add DEFINER support for triggers.
sql/sql_trigger.h:
  Add DEFINER support for triggers.
sql/sql_view.cc:
  Rename create_view_definer to definer.
sql/sql_yacc.yy:
  Add support for DEFINER-clause in CREATE TRIGGER statement.
  
  Since CREATE TRIGGER and CREATE VIEW can be similar at the start,
  yacc is unable to distinguish between them. So, had to modify both
  statements in order to make it parsable by yacc.
mysql-test/r/trigger-compat.result:
  Result file for triggers backward compatibility test.
mysql-test/r/trigger-grant.result:
  Result file of the test for WL#2818.
mysql-test/t/trigger-compat.test:
  Triggers backward compatibility test: check that the server
  still can load triggers w/o definer attribute and modify
  tables with such triggers (add a new trigger, etc).
mysql-test/t/trigger-grant.test:
  Test for WL#2818 -- check that DEFINER support in triggers
  works properly
2005-11-10 22:25:03 +03:00
..
examples Merge mysql.com:/home/cps/mysql/trees/mysql-4.1 2005-11-08 01:27:15 +03:00
share WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
.cvsignore
add_errmsg
client_settings.h
custom_conf.h
derror.cc
des_key_file.cc Many files: 2005-09-30 14:03:55 +02:00
discover.cc
field.cc Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-08 20:18:08 +01:00
field.h BUG#14139 - Merge to 5.0 2005-10-31 09:22:33 +03:00
field_conv.cc a fix (bug #7589: Decimal types are ignored when updating data from another column). 2005-09-21 14:32:19 +05:00
filesort.cc Move handling of suffix_length from strnxfrm_bin() to filesort to ensure proper sorting of all kind of binary objects 2005-10-14 00:04:52 +03:00
frm_crypt.cc
gen_lex_hash.cc a fix (#10742: Can't compile "sql_lex.cc" on AIX 5.2). 2005-05-19 18:56:01 +05:00
gstream.cc fixes for windows 64-bit compiler warnings 2005-06-13 12:41:15 +02:00
gstream.h
ha_archive.cc Change in gis test to allow NDB to be able to call generic tests. Fix for Archive so that ALTER TABLE doesn't issue a warning. Also added test case for alter table. 2005-10-26 13:55:08 -07:00
ha_archive.h This patch add support for storing Geometry types to Archive, Innodb, NDB, and BDB. 2005-10-24 23:20:39 -07:00
ha_berkeley.cc This patch add support for storing Geometry types to Archive, Innodb, NDB, and BDB. 2005-10-24 23:20:39 -07:00
ha_berkeley.h Fixes during review of new code 2005-11-03 22:42:25 +02:00
ha_blackhole.cc Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-02 20:13:18 -07:00
ha_blackhole.h Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1 2005-08-26 15:56:52 +03:00
ha_federated.cc Re-application of earlier patch for create_where_from_key and and delete_all_rows 2005-10-18 15:54:50 -07:00
ha_federated.h Improvement to federated for BUG#12659 2005-09-13 23:31:17 -07:00
ha_heap.cc Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-02 20:13:18 -07:00
ha_heap.h Always report row type of 'Fixed' for MEMORY tables. (Bug #3094) 2005-08-05 13:19:48 -07:00
ha_innodb.cc Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-24 23:57:15 -07:00
ha_innodb.h Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-03 21:09:01 -07:00
ha_myisam.cc Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 2005-10-27 23:43:20 +03:00
ha_myisam.h A fix and a test case for Bug#10760 and complementary cleanups. 2005-07-19 22:21:12 +04:00
ha_myisammrg.cc Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-02 20:13:18 -07:00
ha_myisammrg.h A fix and a test case for Bug#10760 and complementary cleanups. 2005-07-19 22:21:12 +04:00
ha_ndbcluster.cc Fixes during review of new code 2005-11-03 22:42:25 +02:00
ha_ndbcluster.h Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-03 21:09:01 -07:00
handler.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-03 15:24:55 +03:00
handler.h Merge rurik.mysql.com:/home/igor/mysql-5.0 2005-11-04 15:03:29 -08:00
hash_filo.cc a compiler must see '#pragma implementation' *before* 2005-06-05 19:38:52 +02:00
hash_filo.h forgotten s/__GNUC__/USE_PRAGMA_INTERFACE/ causes compilation faliures 2005-05-27 14:15:08 +02:00
hostname.cc Backport of JimW's localhost patch to 4.1 tree. 2005-09-02 17:07:05 -07:00
init.cc Fixes during review of new pushed code 2005-08-12 13:54:42 +03:00
item.cc Reverting patch for BUG #14009 (use of abs() on null value causes problems with filesort 2005-11-01 15:54:30 +02:00
item.h Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-03 13:55:08 +03:00
item_buff.cc sql_select.cc: 2005-07-25 12:57:23 -07:00
item_cmpfunc.cc Fix bug #14093 Query takes a lot of time when date format is not valid 2005-11-03 13:53:49 +03:00
item_cmpfunc.h fix for bug #12595 (ESCAPE must be exactly 1 character long) 2005-10-21 04:01:52 +03:00
item_create.cc Fixed BUG#12963, BUG#13000: wrong VIEW creation with DAYNAME(), 2005-09-14 20:25:00 +04:00
item_create.h Fix for BUG#12335 (SP replication) : New binlogging strategy for stored PROCEDUREs/FUNCTIONs. 2005-08-25 17:34:34 +04:00
item_func.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
item_func.h Merge mysqldev@production.mysql.com:my/mysql-5.0-release 2005-09-23 00:46:59 +04:00
item_geofunc.cc Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 2005-10-31 11:54:36 +02:00
item_geofunc.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
item_row.cc Name resolution context added (BUG#6443) 2005-07-01 07:05:42 +03:00
item_row.h Name resolution context added (BUG#6443) 2005-07-01 07:05:42 +03:00
item_strfunc.cc Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-tmp 2005-10-13 12:09:39 +02:00
item_strfunc.h Bug#13233 2005-10-21 14:41:56 +05:00
item_subselect.cc A fix and a test case for Bug#12736 "Server crash during a select". 2005-10-13 11:53:00 +04:00
item_subselect.h A fix and a test case for Bug#12736 "Server crash during a select". 2005-10-13 11:53:00 +04:00
item_sum.cc Fix bug #14466 lost sort order in GROUP_CONCAT() in a view 2005-11-01 17:27:10 +03:00
item_sum.h Merge 4.1->5.0 2005-09-09 10:54:59 +04:00
item_timefunc.cc Manually merged 2005-11-01 19:47:53 +03:00
item_timefunc.h Reverting patch for BUG #14009 (use of abs() on null value causes problems with filesort 2005-11-01 15:54:30 +02:00
item_uniq.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
item_uniq.h Name resolution context added (BUG#6443) 2005-07-01 07:05:42 +03:00
key.cc Fixes while reviewing new code 2005-05-06 11:39:30 +03:00
lex.h Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-08-25 17:39:02 +04:00
lex_symbol.h
lock.cc Fix for bug #12704 "Server crashes during trigger execution". 2005-09-15 03:56:09 +04:00
log.cc Reorder struct elements to be more optimal for 64 bit computers 2005-11-04 15:12:22 +02:00
log_event.cc Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0 2005-10-19 19:42:14 +02:00
log_event.h Fixes during review of pushed code 2005-10-27 15:15:01 +03:00
Makefile.am Merge neptunus.(none):/home/msvensson/mysql/bug12985/my50-bug12985 2005-10-28 11:45:30 +02:00
matherr.c
mf_iocache.cc
my_decimal.cc Fix for bug #13573 (wrong data inserted for too big decimals) 2005-10-15 21:57:32 +05:00
my_decimal.h Fix for bug #13573 (wrong data inserted for too big decimals) 2005-10-15 21:57:32 +05:00
my_lock.c
mysql_priv.h WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
mysqld.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-04 10:03:31 +02:00
mysqld_suffix.h
net_serv.cc Merge mysql.com:/home/jimw/my/mysql-4.1-clean 2005-09-12 17:00:50 -07:00
nt_servc.cc
nt_servc.h
opt_range.cc opt_range.cc: 2005-11-03 17:43:03 +03:00
opt_range.h BUG#121915: Merge 4.1->5.0 2005-10-19 01:52:06 +04:00
opt_sum.cc Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 2005-09-28 11:34:53 +02:00
parse_file.cc Reviewing new pushed code 2005-10-12 00:58:22 +03:00
parse_file.h Changes after discussion/review with Sanja 2005-09-18 21:43:28 +02:00
password.c Reviewing new pushed code 2005-10-12 00:58:22 +03:00
procedure.cc Merge with 4.1 2005-06-07 00:31:53 +03:00
procedure.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
protocol.cc Additional fix for BUG#7049, after review. 2005-10-17 15:07:47 +02:00
protocol.h A fix and a test case for Bug#6513 "Test Suite: Values inserted by using 2005-09-22 02:11:21 +04:00
records.cc Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 2005-10-27 23:43:20 +03:00
repl_failsafe.cc BUG#121915: Merge 4.1->5.0 2005-10-19 01:52:06 +04:00
repl_failsafe.h pthread_handler_decl() changed to be ctags-friendly 2005-10-08 16:39:55 +02:00
set_var.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-09-21 17:42:44 +02:00
set_var.h Fixed BUG#12712: SET AUTOCOMMIT should fail within SP/functions/triggers 2005-09-13 17:16:12 +02:00
slave.cc Fix for the patch #13377. Avoids race condition for relay logs close. 2005-10-27 17:04:01 +04:00
slave.h Merge mysql.com:/home/mysql_src/mysql-4.1 2005-10-12 21:58:02 +02:00
sp.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sp.h Fix for bug #12704 "Server crashes during trigger execution". 2005-09-15 03:56:09 +04:00
sp_cache.cc Fix use of "%*s" *printf() specifiers that were really meant to be 2005-10-06 17:37:24 -07:00
sp_cache.h BUG#12228: Post review fixes: Added test case, code cleanup. 2005-08-10 21:17:02 +00:00
sp_head.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sp_head.h WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sp_pcontext.cc Fixed BUG#13133: Local variables in stored procedures are not initialized correctly. 2005-09-13 12:50:21 +02:00
sp_pcontext.h Fixed BUG#13133: Local variables in stored procedures are not initialized correctly. 2005-09-13 12:50:21 +02:00
sp_rcontext.cc Fixed BUG#7049: Stored procedure CALL errors are ignored 2005-09-26 18:46:31 +02:00
sp_rcontext.h Additional fix for BUG#7049, after review. 2005-10-17 15:07:47 +02:00
spatial.cc Manually merged 2005-11-01 19:47:53 +03:00
spatial.h fix --ansi --pedantic compilation failure 2005-11-04 16:17:43 +03:00
sql_acl.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sql_acl.h WL#2787 (Add view definer/owner to the view definition (.frm) to check privileges on used tables and stored routines when using a VIEW.) 2005-09-20 21:20:38 +03:00
sql_analyse.cc Additional fix for bug #14445 (analyse.test fails) 2005-11-01 16:14:26 +04:00
sql_analyse.h Merge from 4.1 2005-05-26 21:01:55 +02:00
sql_array.h Fix for BUG#12335 (SP replication) : New binlogging strategy for stored PROCEDUREs/FUNCTIONs. 2005-08-25 17:34:34 +04:00
sql_base.cc Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-03 16:43:05 +02:00
sql_bitmap.h Bug#10932 - Building server with key limit of 128, makes test cases fail 2005-07-19 14:13:56 +02:00
sql_cache.cc Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 2005-10-28 00:24:13 +03:00
sql_cache.h Merge sanja.is.com.ua:/home/bell/mysql/bk/work-4.1 2005-09-06 20:51:15 +03:00
sql_class.cc Fix for BUG#13037: undefined variable in IF cause erroneous error-message. 2005-10-25 13:02:48 +04:00
sql_class.h Reorder struct elements to be more optimal for 64 bit computers 2005-11-04 15:12:22 +02: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 Add ifdefs to control when "#pragma implementation" should be used 2005-05-26 12:09:14 +02:00
sql_cursor.cc Fix a comment. 2005-11-10 17:05:19 +03:00
sql_cursor.h A fix and a test case for Bug#6513 "Test Suite: Values inserted by using 2005-09-22 02:11:21 +04:00
sql_db.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-09-30 16:51:35 +02:00
sql_delete.cc Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-03 16:43:05 +02:00
sql_derived.cc support of view underlying tables and SP functions security check added (BUG#9505) (WL#2787) 2005-10-28 00:18:23 +03:00
sql_do.cc Name resolution context added (BUG#6443) 2005-07-01 07:05:42 +03:00
sql_error.cc Additional fix for BUG#7049, after review. 2005-10-17 15:07:47 +02:00
sql_error.h
sql_handler.cc Fix for bug #12704 "Server crashes during trigger execution". 2005-09-15 03:56:09 +04:00
sql_help.cc fix for bug #12595 (ESCAPE must be exactly 1 character long) 2005-10-21 04:01:52 +03:00
sql_insert.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-12 00:59:52 +03:00
sql_lex.cc BUG#14026: When doing the end-of-prepare fix up for TABLE_LISTs used in the PS, do the fixup 2005-11-02 07:05:19 +03:00
sql_lex.h WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sql_list.cc a compiler must see '#pragma implementation' *before* 2005-06-05 19:38:52 +02:00
sql_list.h A fix and a test case for Bug#6513 "Test Suite: Values inserted by using 2005-09-22 02:11:21 +04:00
sql_load.cc Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 2005-10-27 23:43:20 +03:00
sql_manager.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-10-12 00:59:52 +03:00
sql_manager.h
sql_map.cc WL#2286 - Compile MySQL w/YASSL support 2005-06-22 14:08:28 +05:00
sql_map.h Add ifdefs to control when "#pragma implementation" should be used 2005-05-26 12:09:14 +02:00
sql_olap.cc Implementation of WL#2486 - 2005-08-12 17:57:19 +03:00
sql_parse.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sql_prepare.cc Merge mysql.com:/home/psergey/mysql-5.0-bug14026-r2 2005-11-03 16:21:21 +03:00
sql_rename.cc Changes in get_table_type() and mysql_frm_type(). The main problem was 2005-11-03 16:10:11 +02:00
sql_repl.cc Fixes bug #13377. Added code to close active log files in case 2005-10-03 20:34:42 +04:00
sql_repl.h
sql_select.cc Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-03 22:35:18 +03:00
sql_select.h Merge mysql.com:/home/psergey/mysql-5.0-bug14026-r2 2005-11-03 16:21:21 +03:00
sql_show.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
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 mysql.com:/home/psergey/mysql-4.1-nov08-push 2005-11-09 10:12:58 +03:00
sql_test.cc Merge mysql.com:/home/mydev/mysql-4.1-4100 2005-09-14 13:37:16 +02:00
sql_trigger.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sql_trigger.h WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sql_udf.cc Added option --valgrind-mysqltest to mysql-test-run 2005-09-14 01:41:44 +03:00
sql_udf.h Name resolution context added (BUG#6443) 2005-07-01 07:05:42 +03:00
sql_union.cc A fix and a test case for Bug#12736 "Server crash during a select". 2005-10-13 11:53:00 +04:00
sql_update.cc Fixed wrong merge 2005-11-02 14:43:25 +02:00
sql_view.cc WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
sql_view.h Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-03 16:43:05 +02:00
sql_yacc.yy WL#2818 (Add creator to the trigger definition for privilege 2005-11-10 22:25:03 +03:00
stacktrace.c
stacktrace.h
strfunc.cc
structs.h Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 2005-10-27 23:43:20 +03:00
table.cc Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-11-03 16:43:05 +02:00
table.h Merge mysql.com:/home/psergey/mysql-5.0-bug14026-r2 2005-11-03 16:21:21 +03:00
thr_malloc.cc
time.cc Fixes during review of new pushed code 2005-07-31 12:49:55 +03:00
tzfile.h
tztime.cc Added option --valgrind-mysqltest to mysql-test-run 2005-09-14 01:41:44 +03:00
tztime.h Fixes during review of new pushed code 2005-07-31 12:49:55 +03:00
udf_example.cc
uniques.cc Code cleanups during code reviews 2005-06-01 16:35:09 +03:00
unireg.cc A fix and a test case for Bug#14210 "Simple query with > operator on 2005-11-03 14:20:13 +03:00
unireg.h unireg.h: 2005-08-27 01:50:38 +02:00
watchdog_mysqld