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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
606e269d
Commit
606e269d
authored
Nov 02, 2007
by
gluh@eagle.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt
parents
10dc8d30
4198c2bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+5
-0
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+5
-0
sql/sql_select.cc
sql/sql_select.cc
+4
-0
No files found.
mysql-test/r/information_schema.result
View file @
606e269d
...
...
@@ -1604,4 +1604,9 @@ select * from `information_schema`.`VIEWS` where `TABLE_SCHEMA` = NULL;
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME VIEW_DEFINITION CHECK_OPTION IS_UPDATABLE DEFINER SECURITY_TYPE CHARACTER_SET_CLIENT COLLATION_CONNECTION
select * from `information_schema`.`VIEWS` where `TABLE_NAME` = NULL;
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME VIEW_DEFINITION CHECK_OPTION IS_UPDATABLE DEFINER SECURITY_TYPE CHARACTER_SET_CLIENT COLLATION_CONNECTION
explain extended select 1 from information_schema.TABLES;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE TABLES ALL NULL NULL NULL NULL NULL NULL Skip_open_table; Scanned all databases
Warnings:
Note 1003 select 1 AS `1` from `information_schema`.`TABLES`
End of 5.1 tests.
mysql-test/t/information_schema.test
View file @
606e269d
...
...
@@ -1232,4 +1232,9 @@ select * from `information_schema`.`TRIGGERS` where `EVENT_OBJECT_TABLE` = NULL;
select
*
from
`information_schema`
.
`VIEWS`
where
`TABLE_SCHEMA`
=
NULL
;
select
*
from
`information_schema`
.
`VIEWS`
where
`TABLE_NAME`
=
NULL
;
#
# Bug#31630 debug assert with explain extended select ... from i_s
#
explain
extended
select
1
from
information_schema
.
TABLES
;
--
echo
End
of
5.1
tests
.
sql/sql_select.cc
View file @
606e269d
...
...
@@ -15827,6 +15827,10 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
/* Add "rows" field to item_list. */
if
(
table_list
->
schema_table
)
{
/* in_rows */
if
(
join
->
thd
->
lex
->
describe
&
DESCRIBE_EXTENDED
)
item_list
.
push_back
(
item_null
);
/* rows */
item_list
.
push_back
(
item_null
);
}
else
...
...
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