1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00
unknown a23d1792bc Fixed bug#21261: Wrong access rights was required for an insert into a view
SELECT right instead of INSERT right was required for an insert into to a view.
This wrong behaviour appeared after the fix for bug #20989. Its intention was
to ask only SELECT right for all tables except the very first for a complex
INSERT query. But that patch has done it in a wrong way and lead to asking 
a wrong access right for an insert into a view.

The setup_tables_and_check_access() function now accepts two want_access
parameters. One will be used for the first table and the second for other
tables.


mysql-test/t/view.test:
  Added a test case for bug#21261: Wrong access rights was required for an insert into a view
mysql-test/r/view.result:
  Added a test case for bug#21261: Wrong access rights was required for an insert into a view
sql/sql_update.cc:
  Fixed bug#21261: Wrong access rights was required for an insert into a view
  Modified to use updated setup_tables_and_check_access() function.
sql/sql_select.cc:
  Fixed bug#21261: Wrong access rights was required for an insert into a view
  Modified to use updated setup_tables_and_check_access() function.
sql/sql_load.cc:
  Fixed bug#21261: Wrong access rights was required for an insert into a view
  Modified to use updated setup_tables_and_check_access() function.
sql/sql_insert.cc:
  Fixed bug#21261: Wrong access rights was required for an insert into a view
  Modified to use updated setup_tables_and_check_access() function.
sql/sql_delete.cc:
  Fixed bug#21261: Wrong access rights was required for an insert into a view
  Modified to use updated setup_tables_and_check_access() function.
sql/sql_base.cc:
  Fixed bug#21261: Wrong access rights was required for an insert into a view
  The setup_tables_and_check_access() function now accepts two want_access
  parameters. One will be used for the first table and the second for other
  tables.
sql/mysql_priv.h:
  Fixed bug#21261: Wrong access rights was required for an insert into a view
  The setup_tables_and_check_access() function now accepts two want_access
  parameters.
2006-08-15 21:45:24 +04:00
..
2006-07-13 20:48:26 -07:00
2006-05-29 16:27:45 +02:00
2006-06-17 02:57:50 +04:00
2006-07-13 20:48:26 -07:00
2006-05-31 22:55:45 -07:00
2006-06-28 15:53:54 +03:00
2006-05-24 17:21:35 +03:00
2006-06-15 01:48:41 +04:00
2006-06-20 00:52:26 +04:00
2006-06-30 02:03:09 +04:00
2006-07-21 11:59:46 +03:00
2006-01-06 00:47:49 +02:00
2006-05-16 22:19:44 -07:00
2006-02-03 00:07:36 +03:00
2006-05-31 22:55:45 -07:00
2006-03-06 23:43:47 +01:00
2005-12-06 21:28:13 +01:00
2006-07-14 05:56:30 -07:00
2005-10-12 15:19:51 +02:00
2006-02-07 19:57:31 +01:00
2006-06-12 15:36:12 +02:00
2006-07-13 20:48:26 -07:00
2006-05-31 22:55:45 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-08-02 19:39:47 +04:00
2006-07-01 09:28:41 +04:00
2006-06-17 02:57:50 +04:00
2006-04-27 21:59:04 +09:30
2006-06-01 16:51:19 -07:00
2006-06-01 16:51:19 -07:00
2006-06-30 02:03:09 +04:00
2006-06-09 19:29:39 -07:00
2006-03-31 21:26:17 -08:00