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
2c8de426
Commit
2c8de426
authored
Apr 05, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code optimization(discussed with Monty)
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
parent
2cb2374b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
16 deletions
+5
-16
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/sql_show.cc
sql/sql_show.cc
+4
-16
No files found.
BitKeeper/etc/logging_ok
View file @
2c8de426
...
@@ -59,6 +59,7 @@ gerberb@ou800.zenez.com
...
@@ -59,6 +59,7 @@ gerberb@ou800.zenez.com
gluh@eagle.intranet.mysql.r18.ru
gluh@eagle.intranet.mysql.r18.ru
gluh@gluh.(none)
gluh@gluh.(none)
gluh@gluh.mysql.r18.ru
gluh@gluh.mysql.r18.ru
gluh@mysql.com
gordon@zero.local.lan
gordon@zero.local.lan
greg@gcw.ath.cx
greg@gcw.ath.cx
greg@mysql.com
greg@mysql.com
...
...
sql/sql_show.cc
View file @
2c8de426
...
@@ -2334,25 +2334,13 @@ static int get_schema_column_record(THD *thd, struct st_table_list *tables,
...
@@ -2334,25 +2334,13 @@ static int get_schema_column_record(THD *thd, struct st_table_list *tables,
"NO"
:
"YES"
);
"NO"
:
"YES"
);
table
->
field
[
6
]
->
store
((
const
char
*
)
pos
,
table
->
field
[
6
]
->
store
((
const
char
*
)
pos
,
strlen
((
const
char
*
)
pos
),
cs
);
strlen
((
const
char
*
)
pos
),
cs
);
if
(
field
->
has_charset
())
switch
(
field
->
type
())
{
{
case
FIELD_TYPE_TINY_BLOB
:
table
->
field
[
8
]
->
store
((
longlong
)
field
->
representation_length
()
/
case
FIELD_TYPE_MEDIUM_BLOB
:
field
->
charset
()
->
mbmaxlen
);
case
FIELD_TYPE_LONG_BLOB
:
case
FIELD_TYPE_BLOB
:
case
FIELD_TYPE_VAR_STRING
:
case
FIELD_TYPE_STRING
:
if
(
field
->
has_charset
())
table
->
field
[
8
]
->
store
((
longlong
)
field
->
representation_length
()
/
field
->
charset
()
->
mbmaxlen
);
else
table
->
field
[
8
]
->
store
((
longlong
)
field
->
representation_length
());
table
->
field
[
8
]
->
set_notnull
();
table
->
field
[
8
]
->
set_notnull
();
table
->
field
[
9
]
->
store
((
longlong
)
field
->
representation_length
());
table
->
field
[
9
]
->
store
((
longlong
)
field
->
representation_length
());
table
->
field
[
9
]
->
set_notnull
();
table
->
field
[
9
]
->
set_notnull
();
break
;
default:
break
;
}
}
{
{
...
...
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