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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
97bdd97c
Commit
97bdd97c
authored
Jun 23, 2004
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log.cc:
rpl_charset failed on Linux/AMD64.
parent
60404d2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
sql/log.cc
sql/log.cc
+6
-6
No files found.
sql/log.cc
View file @
97bdd97c
...
...
@@ -1258,12 +1258,12 @@ bool MYSQL_LOG::write(Log_event* event_info)
{
char
buf
[
200
];
int
written
=
my_snprintf
(
buf
,
sizeof
(
buf
)
-
1
,
"SET ONE_SHOT CHARACTER_SET_CLIENT=%
l
u,\
COLLATION_CONNECTION=%
lu,COLLATION_DATABASE=%lu,COLLATION_SERVER=%l
u"
,
thd
->
variables
.
character_set_client
->
number
,
thd
->
variables
.
collation_connection
->
number
,
thd
->
variables
.
collation_database
->
number
,
thd
->
variables
.
collation_server
->
number
);
"SET ONE_SHOT CHARACTER_SET_CLIENT=%u,\
COLLATION_CONNECTION=%
u,COLLATION_DATABASE=%u,COLLATION_SERVER=%
u"
,
(
uint
)
thd
->
variables
.
character_set_client
->
number
,
(
uint
)
thd
->
variables
.
collation_connection
->
number
,
(
uint
)
thd
->
variables
.
collation_database
->
number
,
(
uint
)
thd
->
variables
.
collation_server
->
number
);
Query_log_event
e
(
thd
,
buf
,
written
,
0
);
e
.
set_log_pos
(
this
);
if
(
e
.
write
(
file
))
...
...
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