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-01-17 00:28:00 +03:00
2006-07-13 20:48:26 -07:00
2006-05-29 16:27:45 +02:00
2006-05-04 18:35:58 +03:00
2005-10-26 13:55:08 -07:00
2006-06-17 02:57:50 +04:00
2006-06-27 21:28:32 +04:00
2006-01-24 08:30:54 +01:00
2005-10-26 13:55:08 -07:00
2006-06-27 14:56:24 +04:00
2006-07-13 20:48:26 -07:00
2006-03-02 20:49:10 -05:00
2006-02-24 18:34:15 +02:00
2006-07-10 20:46:05 +02:00
2006-05-04 11:55:09 +05:00
2006-05-13 13:13:05 +05:00
2006-07-12 13:22:38 -07:00
2006-05-31 22:55:45 -07:00
2005-11-07 22:30:44 +01:00
2006-06-04 21:27:41 +03:00
2006-01-26 17:54:34 +01:00
2006-07-22 02:15:36 +04:00
2005-11-17 22:52:31 +01:00
2005-12-12 21:42:09 +04:00
2006-03-21 14:35:49 +01:00
2006-02-24 18:34:15 +02:00
2006-02-24 18:34:15 +02:00
2005-10-25 14:49:04 +05:00
2005-10-13 19:16:19 +05:00
2006-03-23 14:03:39 +04:00
2005-12-09 16:37:58 +04:00
2005-12-09 16:37:58 +04:00
2005-12-12 21:42:09 +04:00
2006-04-06 10:51:23 +05:00
2006-04-18 18:10:47 +02:00
2005-10-13 19:16:19 +05:00
2006-01-26 17:54:34 +01:00
2006-05-24 00:55:53 +02:00
2005-10-06 14:40:18 +02:00
2005-12-23 14:20:00 +04:00
2006-06-23 18:00:49 +05:00
2006-02-09 16:23:09 +02:00
2006-06-22 16:18:54 -07:00
2006-03-23 14:03:39 +04:00
2006-06-22 20:48:49 -07:00
2006-07-23 13:43:44 +05:00
2006-06-13 18:18:32 +03:00
2006-07-23 15:25:30 +05:00
2006-07-19 22:33:19 +04:00
2006-06-28 15:53:54 +03:00
2006-05-09 23:01:31 +03:00
2006-05-31 18:10:02 -07:00
2006-08-01 20:24:30 +02:00
2006-05-24 17:21:35 +03:00
2006-01-23 17:15:33 +04:00
2006-07-18 16:04:18 -07:00
2006-06-16 09:49:18 +02:00
2006-07-18 16:04:18 -07:00
2006-03-22 14:57:24 +01:00
2006-07-18 12:41:41 +02:00
2006-06-15 01:48:41 +04:00
2005-10-06 16:15:53 -07:00
2005-12-01 12:07:25 -08:00
2006-07-25 11:45:10 +03:00
2006-08-03 09:32:58 +02:00
2006-02-14 16:22:37 +03:00
2006-06-20 00:52:26 +04:00
2006-06-27 21:28:32 +04:00
2006-05-06 19:45:24 +04:00
2006-04-13 15:07:50 +03:00
2006-06-30 02:03:09 +04:00
2006-07-21 13:04:40 +03:00
2006-06-27 21:28:32 +04:00
2006-08-01 20:24:30 +02:00
2006-06-22 20:50:38 +02:00
2006-07-18 16:04:18 -07:00
2006-07-18 16:04:18 -07:00
2006-04-18 18:10:47 +02:00
2006-05-29 15:06:37 +02:00
2006-07-21 20:44:35 +03:00
2006-07-21 11:59:46 +03:00
2006-01-06 00:47:49 +02:00
2005-12-09 16:37:58 +04:00
2005-12-09 16:37:58 +04:00
2006-03-20 16:28:25 +04:00
2006-04-24 13:25:50 +02:00
2006-07-24 18:05:00 +02:00
2006-04-27 16:32:40 +02:00
2006-04-12 15:13:16 +02:00
2006-05-16 22:19:44 -07:00
2006-05-11 21:15:37 +05:00
2006-02-03 00:07:36 +03:00
2006-05-10 21:50:04 +05:00
2006-07-20 13:24:12 +04:00
2006-07-20 13:24:12 +04:00
2006-07-20 13:24:12 +04:00
2006-07-20 13:24:12 +04:00
2006-07-20 13:24:12 +04:00
2006-04-13 16:05:32 +04:00
2006-02-11 21:51:43 +03:00
2006-05-04 17:47:25 +02:00
2006-05-30 10:45:23 +05:00
2005-10-06 17:54:43 +03:00
2006-07-24 19:05:46 -07:00
2006-07-04 23:46:15 +04:00
2006-07-04 23:46:15 +04:00
2005-10-26 13:55:08 -07:00
2006-07-14 11:20:52 +03:00
2006-02-24 18:34:15 +02:00
2006-01-16 14:32:43 +03:00
2006-07-22 02:08:00 +04:00
2006-07-19 11:49:07 +02:00
2006-06-16 20:21:25 +04:00
2005-11-18 16:30:27 +01:00
2006-03-29 16:45:29 -08:00
2006-07-18 16:04:18 -07:00
2006-06-08 13:34:03 +03:00
2006-05-31 22:55:45 -07:00
2006-06-30 19:37:11 +02:00
2006-03-06 23:43:47 +01:00
2006-03-29 10:56:11 -05:00
2006-06-26 19:14:35 +02:00
2006-02-06 15:15:44 +01:00
2006-05-04 11:55:09 +05:00
2006-06-06 11:25:31 +05:00
2006-07-18 10:25:04 -07:00
2006-05-13 13:13:05 +05:00
2006-05-09 23:01:31 +03:00
2005-10-06 17:54:43 +03:00
2006-05-30 23:05:34 +04:00
2006-07-10 16:22:42 +04:00
2005-12-06 21:28:13 +01:00
2006-08-01 11:05:54 +03:00
2006-08-02 08:46:58 +02:00
2006-02-09 16:23:09 +02:00
2006-05-31 12:51:21 +02:00
2006-07-24 13:31:20 -07:00
2006-07-14 05:56:30 -07:00
2006-08-03 16:47:24 +02:00
2006-07-21 20:29:25 -07:00
2006-07-26 14:02:24 +02:00
2006-01-10 11:35:21 +01:00
2006-05-08 15:19:17 +02:00
2006-05-15 17:16:21 +02:00
2006-07-31 13:11:21 +02:00
2006-04-20 12:06:22 +02:00
2006-05-21 11:04:57 +02:00
2006-02-27 10:29:55 +01:00
2005-11-16 13:26:26 +01:00
2006-06-14 00:38:34 +02:00
2005-10-12 15:19:51 +02:00
2006-07-06 18:50:44 +02:00
2005-10-26 13:55:08 -07:00
2006-02-07 19:57:31 +01:00
2006-03-28 10:01:23 +02:00
2006-02-14 17:15:24 +01:00
2006-06-14 20:16:32 +02:00
2006-06-12 15:36:12 +02:00
2005-12-14 16:29:56 +01:00
2006-03-28 14:38:16 +02:00
2006-05-05 17:18:47 +02:00
2006-07-02 01:51:10 +04:00
2006-07-06 18:50:44 +02:00
2006-07-02 01:51:10 +04:00
2006-06-02 07:26:45 +02:00
2005-10-13 19:16:19 +05:00
2006-04-24 10:21:09 +02:00
2006-05-01 09:46:00 -04:00
2006-07-10 16:44:05 +03:00
2006-07-13 20:48:26 -07:00
2006-05-03 14:06:34 +02:00
2006-07-18 16:04:18 -07:00
2006-05-12 12:31:22 +02:00
2006-08-01 11:29:10 +02:00
2006-05-31 22:55:45 -07:00
2006-08-02 16:48:17 +04: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-07-13 22:00:20 -07:00
2006-04-28 11:23:31 +02:00
2005-11-14 16:36:06 +04:00
2006-08-02 19:39:47 +04:00
2006-03-15 19:15:52 +02:00
2006-06-27 21:28:32 +04:00
2006-07-01 09:28:41 +04:00
2006-01-26 17:54:34 +01:00
2006-06-07 16:17:56 +04:00
2005-10-01 11:56:01 +04:00
2006-01-27 10:49:07 +01:00
2006-01-24 08:30:54 +01:00
2006-01-26 17:54:34 +01:00
2006-05-22 12:18:18 +09:30
2006-07-06 14:37:09 +02:00
2006-02-09 16:23:09 +02:00
2006-03-02 15:18:49 +03:00
2006-04-20 19:43:02 +02:00
2005-10-12 13:29:55 +02:00
2006-01-26 17:54:34 +01:00
2006-01-26 17:54:34 +01:00
2006-06-27 21:28:32 +04:00
2006-01-26 17:54:34 +01:00
2006-01-26 12:49:55 +02:00
2006-01-24 08:30:54 +01:00
2006-07-13 18:16:16 +04:00
2006-01-27 10:49:07 +01:00
2006-01-27 10:49:07 +01:00
2006-01-27 10:49:07 +01:00
2006-01-24 08:30:54 +01:00
2006-06-17 02:57:50 +04:00
2006-06-27 21:28:32 +04:00
2006-01-27 10:49:07 +01:00
2005-10-14 00:02:38 +03:00
2006-01-26 17:54:34 +01:00
2006-01-26 12:49:55 +02:00
2006-04-18 18:10:47 +02:00
2006-04-13 20:42:48 +02:00
2006-01-27 10:49:07 +01:00
2006-01-24 08:30:54 +01:00
2006-01-26 17:54:34 +01:00
2006-01-26 17:54:34 +01:00
2006-07-28 02:49:18 +04:00
2006-05-16 09:26:57 +02:00
2006-02-09 16:23:09 +02:00
2006-07-28 02:49:18 +04:00
2006-03-08 10:15:48 +01:00
2006-05-11 16:29:02 +02:00
2006-05-07 19:54:57 +03:00
2006-07-28 02:49:18 +04:00
2005-12-07 17:01:17 +03:00
2006-07-31 23:05:54 +04:00
2006-07-28 15:06:23 +04:00
2006-03-10 14:40:15 +03:00
2005-12-12 16:58:20 +01:00
2006-06-29 15:50:44 +05:00
2006-03-09 12:08:23 +01:00
2005-12-07 17:01:17 +03:00
2006-07-07 21:24:54 +04:00
2006-01-26 13:29:46 +01:00
2006-04-25 04:27:23 +04:00
2006-07-24 15:10:50 +04:00
2006-06-21 01:50:20 +04:00
2006-07-13 17:12:31 +04:00
2006-06-30 18:14:22 +04:00
2006-08-02 21:54:10 +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-04-12 17:37:57 +04:00
2006-07-12 11:38:11 +05:00
2006-07-26 19:23:44 +03:00
2006-01-26 17:54:34 +01:00
2006-02-24 18:34:15 +02:00
2006-07-26 01:21:35 +03:00
2005-12-07 17:01:17 +03:00
2006-06-30 02:03:09 +04:00
2006-06-09 19:29:39 -07:00
2005-10-13 19:16:19 +05:00
2005-10-06 17:54:43 +03:00
2006-04-24 18:57:00 +04:00
2006-04-22 11:54:25 +04:00
2006-01-27 10:49:07 +01:00
2006-05-12 13:55:21 +04:00
2006-03-24 14:58:18 +03:00
2006-06-28 23:54:18 +04:00
2005-12-06 14:16:34 -08:00
2006-04-04 17:54:58 -07:00
2006-04-04 17:54:58 -07:00
2006-07-18 16:04:18 -07:00
2006-07-12 11:38:11 +05:00
2006-03-03 15:29:39 +04:00
2006-05-13 13:13:05 +05:00
2005-12-07 17:01:17 +03:00
2006-06-15 16:24:02 +05:00
2006-08-01 20:24:30 +02:00
2006-01-10 19:22:47 +03:00
2006-06-22 20:50:38 +02:00
2006-01-20 15:59:22 +03:00
2006-08-02 21:54:10 +04:00
2006-08-03 15:48:28 +02:00
2006-02-02 18:17:18 +03:00
2006-02-09 16:23:09 +02:00
2006-06-09 19:35:54 +02:00
2006-03-31 21:26:17 -08:00
2006-06-29 15:25:03 +04:00
2006-07-04 23:55:52 +04:00
2005-12-01 12:01:38 +02:00
2006-08-15 21:45:24 +04:00
2006-07-06 23:49:09 +02:00
2006-07-21 09:53:12 +02:00
2005-10-05 19:58:16 +02:00