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
7ad05630
Commit
7ad05630
authored
Jul 07, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
53816be2
d9e7c4ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
libmysql/libmysql.c
libmysql/libmysql.c
+1
-0
sql/sql_show.cc
sql/sql_show.cc
+5
-1
No files found.
libmysql/libmysql.c
View file @
7ad05630
...
@@ -4042,6 +4042,7 @@ static my_bool setup_one_fetch_function(MYSQL_BIND *param, MYSQL_FIELD *field)
...
@@ -4042,6 +4042,7 @@ static my_bool setup_one_fetch_function(MYSQL_BIND *param, MYSQL_FIELD *field)
case
MYSQL_TYPE_TIME
:
case
MYSQL_TYPE_TIME
:
field
->
max_length
=
15
;
/* 19:23:48.123456 */
field
->
max_length
=
15
;
/* 19:23:48.123456 */
param
->
skip_result
=
skip_result_with_length
;
param
->
skip_result
=
skip_result_with_length
;
break
;
case
MYSQL_TYPE_DATE
:
case
MYSQL_TYPE_DATE
:
field
->
max_length
=
10
;
/* 2003-11-11 */
field
->
max_length
=
10
;
/* 2003-11-11 */
param
->
skip_result
=
skip_result_with_length
;
param
->
skip_result
=
skip_result_with_length
;
...
...
sql/sql_show.cc
View file @
7ad05630
...
@@ -2875,11 +2875,15 @@ make_table_name_list(THD *thd, List<LEX_STRING> *table_names, LEX *lex,
...
@@ -2875,11 +2875,15 @@ make_table_name_list(THD *thd, List<LEX_STRING> *table_names, LEX *lex,
{
{
if
(
with_i_schema
)
if
(
with_i_schema
)
{
{
LEX_STRING
*
name
;
ST_SCHEMA_TABLE
*
schema_table
=
ST_SCHEMA_TABLE
*
schema_table
=
find_schema_table
(
thd
,
lookup_field_vals
->
table_value
.
str
);
find_schema_table
(
thd
,
lookup_field_vals
->
table_value
.
str
);
if
(
schema_table
&&
!
schema_table
->
hidden
)
if
(
schema_table
&&
!
schema_table
->
hidden
)
{
{
if
(
table_names
->
push_back
(
&
lookup_field_vals
->
table_value
))
if
(
!
(
name
=
thd
->
make_lex_string
(
NULL
,
schema_table
->
table_name
,
strlen
(
schema_table
->
table_name
),
TRUE
))
||
table_names
->
push_back
(
name
))
return
1
;
return
1
;
}
}
}
}
...
...
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