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
637b9799
Commit
637b9799
authored
Oct 30, 2002
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use item->set_charset() instead of item->str_value.set_charset()
parent
fef10d9b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/item.cc
sql/item.cc
+1
-1
sql/item_strfunc.h
sql/item_strfunc.h
+2
-2
No files found.
sql/item.cc
View file @
637b9799
...
...
@@ -132,7 +132,7 @@ void Item_field::set_field(Field *field_par)
table_name
=
field_par
->
table_name
;
field_name
=
field_par
->
field_name
;
unsigned_flag
=
test
(
field_par
->
flags
&
UNSIGNED_FLAG
);
s
tr_value
.
s
et_charset
(
field_par
->
charset
());
set_charset
(
field_par
->
charset
());
}
const
char
*
Item_ident
::
full_name
()
const
...
...
sql/item_strfunc.h
View file @
637b9799
...
...
@@ -469,7 +469,7 @@ public:
}
void
fix_length_and_dec
()
{
s
tr_value
.
s
et_charset
(
my_charset_bin
);
set_charset
(
my_charset_bin
);
max_length
=
args
[
0
]
->
max_length
;
}
void
print
(
String
*
str
)
{
print_op
(
str
);
}
...
...
@@ -485,7 +485,7 @@ public:
const
char
*
func_name
()
const
{
return
"load_file"
;
}
void
fix_length_and_dec
()
{
s
tr_value
.
s
et_charset
(
my_charset_bin
);
set_charset
(
my_charset_bin
);
maybe_null
=
1
;
max_length
=
MAX_BLOB_WIDTH
;
}
...
...
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