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
514e5a2c
Commit
514e5a2c
authored
Dec 21, 2004
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.clean
parents
19f3570b
72dd42be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+6
-6
No files found.
libmysqld/lib_sql.cc
View file @
514e5a2c
...
...
@@ -604,7 +604,7 @@ static char *dup_str_aux(MEM_ROOT *root, const char *from, uint length,
uint
new_len
=
(
tocs
->
mbmaxlen
*
length
)
/
fromcs
->
mbminlen
+
1
;
result
=
(
char
*
)
alloc_root
(
root
,
new_len
);
length
=
copy_and_convert
(
result
,
new_len
,
tocs
,
from
,
length
,
fromcs
,
&
dummy_err
);
tocs
,
from
,
length
,
fromcs
,
&
dummy_err
);
}
else
{
...
...
@@ -645,15 +645,15 @@ bool Protocol::send_fields(List<Item> *list, uint flag)
item
->
make_field
(
&
server_field
);
client_field
->
db
=
dup_str_aux
(
field_alloc
,
server_field
.
db_name
,
strlen
(
server_field
.
db_name
),
cs
,
thd_cs
);
strlen
(
server_field
.
db_name
),
cs
,
thd_cs
);
client_field
->
table
=
dup_str_aux
(
field_alloc
,
server_field
.
table_name
,
strlen
(
server_field
.
table_name
),
cs
,
thd_cs
);
strlen
(
server_field
.
table_name
),
cs
,
thd_cs
);
client_field
->
name
=
dup_str_aux
(
field_alloc
,
server_field
.
col_name
,
strlen
(
server_field
.
col_name
),
cs
,
thd_cs
);
strlen
(
server_field
.
col_name
),
cs
,
thd_cs
);
client_field
->
org_table
=
dup_str_aux
(
field_alloc
,
server_field
.
org_table_name
,
strlen
(
server_field
.
org_table_name
),
cs
,
thd_cs
);
strlen
(
server_field
.
org_table_name
),
cs
,
thd_cs
);
client_field
->
org_name
=
dup_str_aux
(
field_alloc
,
server_field
.
org_col_name
,
strlen
(
server_field
.
org_col_name
),
cs
,
thd_cs
);
strlen
(
server_field
.
org_col_name
),
cs
,
thd_cs
);
if
(
item
->
collation
.
collation
==
&
my_charset_bin
||
thd_cs
==
NULL
)
{
/* No conversion */
...
...
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