Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
452516c4
Commit
452516c4
authored
Oct 26, 2007
by
tnurnberg@mysql.com/white.intern.koehntopp.de
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/scratch/tnurnberg/31662/50-31662
into mysql.com:/scratch/tnurnberg/31662/51-31662
parents
9e6091fc
66047f1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
mysql-test/r/information_schema_db.result
mysql-test/r/information_schema_db.result
+3
-3
sql/sql_base.cc
sql/sql_base.cc
+3
-1
No files found.
mysql-test/r/information_schema_db.result
View file @
452516c4
...
@@ -141,7 +141,7 @@ Warnings:
...
@@ -141,7 +141,7 @@ Warnings:
Warning 1356 View 'testdb_1.v7' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
Warning 1356 View 'testdb_1.v7' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
show fields from testdb_1.v7;
show fields from testdb_1.v7;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
f1
null
YES NULL
f1
char(4)
YES NULL
Warnings:
Warnings:
Note 1449 There is no 'no_such_user'@'no_such_host' registered
Note 1449 There is no 'no_such_user'@'no_such_host' registered
create table t3 (f1 char(4), f2 char(4));
create table t3 (f1 char(4), f2 char(4));
...
@@ -161,7 +161,7 @@ View Create View character_set_client collation_connection
...
@@ -161,7 +161,7 @@ View Create View character_set_client collation_connection
v6 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `testdb_1`.`v6` AS select `testdb_1`.`t1`.`f1` AS `f1` from `testdb_1`.`t1` latin1 latin1_swedish_ci
v6 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `testdb_1`.`v6` AS select `testdb_1`.`t1`.`f1` AS `f1` from `testdb_1`.`t1` latin1 latin1_swedish_ci
show fields from testdb_1.v7;
show fields from testdb_1.v7;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
f1
null
YES NULL
f1
char(4)
YES NULL
Warnings:
Warnings:
Note 1449 There is no 'no_such_user'@'no_such_host' registered
Note 1449 There is no 'no_such_user'@'no_such_host' registered
show create view testdb_1.v7;
show create view testdb_1.v7;
...
@@ -189,7 +189,7 @@ show create view v4;
...
@@ -189,7 +189,7 @@ show create view v4;
ERROR HY000: EXPLAIN/SHOW can not be issued; lacking privileges for underlying table
ERROR HY000: EXPLAIN/SHOW can not be issued; lacking privileges for underlying table
show fields from v4;
show fields from v4;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
f1
null
YES NULL
f1
char(4)
YES NULL
f2 char(4) YES NULL
f2 char(4) YES NULL
show fields from v2;
show fields from v2;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
...
...
sql/sql_base.cc
View file @
452516c4
...
@@ -5112,7 +5112,9 @@ find_field_in_tables(THD *thd, Item_ident *item,
...
@@ -5112,7 +5112,9 @@ find_field_in_tables(THD *thd, Item_ident *item,
{
{
Field
*
cur_field
=
find_field_in_table_ref
(
thd
,
cur_table
,
name
,
length
,
Field
*
cur_field
=
find_field_in_table_ref
(
thd
,
cur_table
,
name
,
length
,
item
->
name
,
db
,
table_name
,
ref
,
item
->
name
,
db
,
table_name
,
ref
,
check_privileges
,
(
thd
->
lex
->
sql_command
==
SQLCOM_SHOW_FIELDS
)
?
false
:
check_privileges
,
allow_rowid
,
allow_rowid
,
&
(
item
->
cached_field_index
),
&
(
item
->
cached_field_index
),
register_tree_change
,
register_tree_change
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment