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
d8d80bd5
Commit
d8d80bd5
authored
Sep 22, 2024
by
ParadoxV5
Committed by
Andrew Hutchings
Oct 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple of `my_snprintf` arg mismatches
This commit backports two fixes from #3360’s vast discovery.
parent
35c732cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
client/mysqldump.cc
client/mysqldump.cc
+1
-1
sql/log.cc
sql/log.cc
+2
-1
No files found.
client/mysqldump.cc
View file @
d8d80bd5
...
...
@@ -7285,7 +7285,7 @@ int main(int argc, char **argv)
goto
err
;
connection_pool
.
for_each_connection
([](
MYSQL
*
c
)
{
if
(
start_transaction
(
c
))
maybe_die
(
EX_MYSQLERR
,
"Failed to start transaction on connection ID %u"
,
mysql
->
thread_id
);
maybe_die
(
EX_MYSQLERR
,
"Failed to start transaction on connection ID %
l
u"
,
mysql
->
thread_id
);
});
}
...
...
sql/log.cc
View file @
d8d80bd5
...
...
@@ -3901,7 +3901,8 @@ bool MYSQL_BIN_LOG::open(const char *log_name,
if
(
!
gtid_index
)
sql_print_information
(
"Could not create GTID index for binlog "
"file '%s'. Accesses to this binlog file will "
"fallback to slower sequential scan."
);
"fallback to slower sequential scan."
,
log_file_name
);
}
else
gtid_index
=
nullptr
;
...
...
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