File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
-
2
-
3
1
/*
4
- Copyright (c) 2000, 2015 , Oracle and/or its affiliates. All rights reserved.
2
+ Copyright (c) 2000, 2016 , Oracle and/or its affiliates. All rights reserved.
5
3
6
4
This program is free software; you can redistribute it and/or modify
7
5
it under the terms of the GNU General Public License as published by
@@ -1101,7 +1099,7 @@ bool Item_field::check_column_privileges(uchar *arg)
1101
1099
Internal_error_handler_holder<View_error_handler, TABLE_LIST>
1102
1100
view_handler (thd, context->view_error_handler ,
1103
1101
context->view_error_handler_arg );
1104
- if (check_column_grant_in_table_ref (thd, cached_table ,
1102
+ if (check_column_grant_in_table_ref (thd, table_ref ,
1105
1103
field_name, strlen (field_name),
1106
1104
thd->want_privilege ))
1107
1105
{
You can’t perform that action at this time.
0 commit comments