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
c75036ed
Commit
c75036ed
authored
Mar 01, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row0sel.c:
row_sel_store_mysql_rec(): Do not try to space-pad BLOB fields. (Bug #8771)
parent
af2999b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
innobase/row/row0sel.c
innobase/row/row0sel.c
+3
-2
No files found.
innobase/row/row0sel.c
View file @
c75036ed
...
@@ -2407,10 +2407,11 @@ row_sel_store_mysql_rec(
...
@@ -2407,10 +2407,11 @@ row_sel_store_mysql_rec(
collations will be introduced in 4.1,
collations will be introduced in 4.1,
we hardcode the charset-collation codes here.
we hardcode the charset-collation codes here.
5.0 will use a different approach. */
5.0 will use a different approach. */
if
(
templ
->
charset
==
35
if
(
pad_char
!=
'\0'
&&
(
templ
->
charset
==
35
||
templ
->
charset
==
90
||
templ
->
charset
==
90
||
(
templ
->
charset
>=
128
||
(
templ
->
charset
>=
128
&&
templ
->
charset
<=
144
))
{
&&
templ
->
charset
<=
144
))
)
{
/* There are two bytes per char, so the length
/* There are two bytes per char, so the length
has to be an even number. */
has to be an even number. */
ut_a
(
!
(
templ
->
mysql_col_len
&
1
));
ut_a
(
!
(
templ
->
mysql_col_len
&
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