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
3f28181b
Commit
3f28181b
authored
Oct 06, 2000
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
parents
16f11f94
49dd5909
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/log.cc
sql/log.cc
+19
-0
No files found.
BitKeeper/etc/logging_ok
View file @
3f28181b
monty@tramp.mysql.fi
monty@donna.mysql.com
sasha@mysql.sashanet.com
sql/log.cc
View file @
3f28181b
...
...
@@ -475,6 +475,25 @@ void MYSQL_LOG::write(Query_log_event* event_info)
goto
err
;
}
}
if
(
thd
->
convert_set
)
{
char
buf
[
1024
]
=
"SET CHARACTER SET "
;
char
*
p
=
strend
(
buf
);
p
=
strmov
(
p
,
thd
->
convert_set
->
name
);
int
save_query_length
=
thd
->
query_length
;
// just in case somebody wants it later
thd
->
query_length
=
(
uint
)(
p
-
buf
);
Query_log_event
e
(
thd
,
buf
);
if
(
e
.
write
(
file
))
{
sql_print_error
(
ER
(
ER_ERROR_ON_WRITE
),
name
,
errno
);
goto
err
;
}
thd
->
query_length
=
save_query_length
;
// clean up
}
if
(
event_info
->
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