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
ba963bb6
Commit
ba963bb6
authored
May 20, 2002
by
bar@gw.udmsearch.izhnet.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix: charset was not initialized
parent
65eb2e9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
sql/sql_string.cc
sql/sql_string.cc
+1
-0
sql/sql_string.h
sql/sql_string.h
+1
-0
No files found.
sql/sql_string.cc
View file @
ba963bb6
...
...
@@ -203,6 +203,7 @@ bool String::copy(const String &str)
str_length
=
str
.
str_length
;
bmove
(
Ptr
,
str
.
Ptr
,
str_length
);
// May be overlapping
Ptr
[
str_length
]
=
0
;
str_charset
=
str
.
str_charset
;
return
FALSE
;
}
...
...
sql/sql_string.h
View file @
ba963bb6
...
...
@@ -46,6 +46,7 @@ public:
String
(
uint32
length_arg
)
{
alloced
=
0
;
Alloced_length
=
0
;
(
void
)
real_alloc
(
length_arg
);
str_charset
=
default_charset_info
;
}
String
(
const
char
*
str
,
CHARSET_INFO
*
cs
)
{
...
...
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