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
fed0ba27
Commit
fed0ba27
authored
Apr 05, 2005
by
gluh@eagle.intranet.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code optimization(discussed with Monty)
parent
81977103
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 @
fed0ba27
...
...
@@ -59,6 +59,7 @@ gerberb@ou800.zenez.com
gluh@eagle.intranet.mysql.r18.ru
gluh@gluh.(none)
gluh@gluh.mysql.r18.ru
gluh@mysql.com
gordon@zero.local.lan
greg@gcw.ath.cx
greg@mysql.com
...
...
sql/sql_show.cc
View file @
fed0ba27
...
...
@@ -2334,25 +2334,13 @@ static int get_schema_column_record(THD *thd, struct st_table_list *tables,
"NO"
:
"YES"
);
table
->
field
[
6
]
->
store
((
const
char
*
)
pos
,
strlen
((
const
char
*
)
pos
),
cs
);
switch
(
field
->
type
())
{
case
FIELD_TYPE_TINY_BLOB
:
case
FIELD_TYPE_MEDIUM_BLOB
:
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
());
if
(
field
->
has_charset
())
{
table
->
field
[
8
]
->
store
((
longlong
)
field
->
representation_length
()
/
field
->
charset
()
->
mbmaxlen
);
table
->
field
[
8
]
->
set_notnull
();
table
->
field
[
9
]
->
store
((
longlong
)
field
->
representation_length
());
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