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
3b5a4693
Commit
3b5a4693
authored
Mar 11, 2004
by
jani@ua72d24.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes.
parent
20835428
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+3
-2
sql/set_var.cc
sql/set_var.cc
+2
-0
No files found.
client/mysqlbinlog.cc
View file @
3b5a4693
...
...
@@ -306,6 +306,7 @@ int process_event(ulonglong *rec_count, char *last_db, Log_event *ev,
my_off_t
pos
,
int
old_format
)
{
char
ll_buff
[
21
];
if
((
*
rec_count
)
>=
offset
)
{
if
(
!
short_form
)
...
...
@@ -566,8 +567,6 @@ static MYSQL* safe_connect()
if
(
!
local_mysql
)
die
(
"Failed on mysql_init"
);
mysql_options
(
local_mysql
,
MYSQL_INIT_COMMAND
,
"/*!32210 SET @@session.max_insert_delayed_threads=0*/"
);
if
(
!
mysql_real_connect
(
local_mysql
,
host
,
user
,
pass
,
0
,
port
,
sock
,
0
))
die
(
"failed on connect: %s"
,
mysql_error
(
local_mysql
));
...
...
@@ -952,6 +951,8 @@ int main(int argc, char** argv)
load_processor
.
init_by_cur_dir
();
exit_value
=
0
;
fprintf
(
result_file
,
"/*!40001 SET @@session.max_insert_delayed_threads=0*/;
\n
"
);
while
(
--
argc
>=
0
)
{
if
(
dump_log_entries
(
*
(
argv
++
)))
...
...
sql/set_var.cc
View file @
3b5a4693
...
...
@@ -550,6 +550,8 @@ struct show_var_st init_vars[]= {
{
sys_max_connections
.
name
,
(
char
*
)
&
sys_max_connections
,
SHOW_SYS
},
{
sys_max_connect_errors
.
name
,
(
char
*
)
&
sys_max_connect_errors
,
SHOW_SYS
},
{
sys_max_delayed_threads
.
name
,(
char
*
)
&
sys_max_delayed_threads
,
SHOW_SYS
},
{
sys_max_insert_delayed_threads
.
name
,
(
char
*
)
&
sys_max_insert_delayed_threads
,
SHOW_SYS
},
{
sys_max_heap_table_size
.
name
,(
char
*
)
&
sys_max_heap_table_size
,
SHOW_SYS
},
{
sys_max_join_size
.
name
,
(
char
*
)
&
sys_max_join_size
,
SHOW_SYS
},
{
sys_max_relay_log_size
.
name
,
(
char
*
)
&
sys_max_relay_log_size
,
SHOW_SYS
},
...
...
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