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
a128c50a
Commit
a128c50a
authored
Jan 08, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-3883 Show global status not in order
parent
8aaacc91
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
27 deletions
+24
-27
client/mysqldump.c
client/mysqldump.c
+3
-3
mysql-test/suite/innodb/r/binlog_consistent.result
mysql-test/suite/innodb/r/binlog_consistent.result
+8
-8
mysql-test/suite/sphinx/sphinx.result
mysql-test/suite/sphinx/sphinx.result
+5
-8
sql/log.cc
sql/log.cc
+2
-2
storage/sphinx/ha_sphinx.cc
storage/sphinx/ha_sphinx.cc
+6
-6
No files found.
client/mysqldump.c
View file @
a128c50a
/*
Copyright (c) 2000, 2012, Oracle and/or its affiliates.
Copyright (c) 2010, 201
2
, Monty Program Ab.
Copyright (c) 2010, 201
3
, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -1182,13 +1182,13 @@ check_consistent_binlog_pos(char *binlog_pos_file, char *binlog_pos_offset)
found
=
0
;
while
((
row
=
mysql_fetch_row
(
res
)))
{
if
(
0
==
strcmp
(
row
[
0
],
"
b
inlog_snapshot_file"
))
if
(
0
==
strcmp
(
row
[
0
],
"
B
inlog_snapshot_file"
))
{
if
(
binlog_pos_file
)
strmake
(
binlog_pos_file
,
row
[
1
],
FN_REFLEN
-
1
);
found
++
;
}
else
if
(
0
==
strcmp
(
row
[
0
],
"
b
inlog_snapshot_position"
))
else
if
(
0
==
strcmp
(
row
[
0
],
"
B
inlog_snapshot_position"
))
{
if
(
binlog_pos_offset
)
strmake
(
binlog_pos_offset
,
row
[
1
],
LONGLONG_LEN
);
...
...
mysql-test/suite/innodb/r/binlog_consistent.result
View file @
a128c50a
...
...
@@ -6,8 +6,8 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 380
SHOW STATUS LIKE 'binlog_snapshot_%';
Variable_name Value
b
inlog_snapshot_file master-bin.000001
b
inlog_snapshot_position 380
B
inlog_snapshot_file master-bin.000001
B
inlog_snapshot_position 380
BEGIN;
INSERT INTO t1 VALUES (0, "");
# Connection con1
...
...
@@ -37,8 +37,8 @@ a b
0
SHOW STATUS LIKE 'binlog_snapshot_%';
Variable_name Value
b
inlog_snapshot_file master-bin.000001
b
inlog_snapshot_position 904
B
inlog_snapshot_file master-bin.000001
B
inlog_snapshot_position 904
SHOW MASTER STATUS;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 1316
...
...
@@ -59,16 +59,16 @@ a b
0
SHOW STATUS LIKE 'binlog_snapshot_%';
Variable_name Value
b
inlog_snapshot_file master-bin.000001
b
inlog_snapshot_position 904
B
inlog_snapshot_file master-bin.000001
B
inlog_snapshot_position 904
SHOW MASTER STATUS;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000002 245
COMMIT;
SHOW STATUS LIKE 'binlog_snapshot_%';
Variable_name Value
b
inlog_snapshot_file master-bin.000002
b
inlog_snapshot_position 245
B
inlog_snapshot_file master-bin.000002
B
inlog_snapshot_position 245
SHOW MASTER STATUS;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000002 245
...
...
mysql-test/suite/sphinx/sphinx.result
View file @
a128c50a
...
...
@@ -48,15 +48,12 @@ SET optimizer_switch=@save_optimizer_switch;
drop table ts;
show status like "sphinx_error%";
Variable_name Value
sphinx_error_commits 0
sphinx_error_group_commits 0
sphinx_error_snapshot_file
sphinx_error_snapshot_position 0
Sphinx_error OFF
show status like "sphinx_total%";
Variable_name Value
s
phinx_total 2
s
phinx_total_found 2
S
phinx_total 2
S
phinx_total_found 2
show status like "sphinx_word%";
Variable_name Value
s
phinx_word_count 0
s
phinx_words
S
phinx_word_count 0
S
phinx_words
sql/log.cc
View file @
a128c50a
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
Copyright (c) 2010
-2011
Monty Program Ab
Copyright (c) 2010
, 2013
Monty Program Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -7665,7 +7665,7 @@ static int show_binlog_vars(THD *thd, SHOW_VAR *var, char *buff)
}
static
SHOW_VAR
binlog_status_vars_top
[]
=
{
{
"
b
inlog"
,
(
char
*
)
&
show_binlog_vars
,
SHOW_FUNC
},
{
"
B
inlog"
,
(
char
*
)
&
show_binlog_vars
,
SHOW_FUNC
},
{
NullS
,
NullS
,
SHOW_LONG
}
};
...
...
storage/sphinx/ha_sphinx.cc
View file @
a128c50a
...
...
@@ -3591,12 +3591,12 @@ struct st_mysql_storage_engine sphinx_storage_engine =
struct
st_mysql_show_var
sphinx_status_vars
[]
=
{
{
"
s
phinx_total"
,
(
char
*
)
sphinx_showfunc_total
,
SHOW_FUNC
},
{
"
s
phinx_total_found"
,
(
char
*
)
sphinx_showfunc_total_found
,
SHOW_FUNC
},
{
"
s
phinx_time"
,
(
char
*
)
sphinx_showfunc_time
,
SHOW_FUNC
},
{
"
s
phinx_word_count"
,
(
char
*
)
sphinx_showfunc_word_count
,
SHOW_FUNC
},
{
"
s
phinx_words"
,
(
char
*
)
sphinx_showfunc_words
,
SHOW_FUNC
},
{
"
s
phinx_error"
,
(
char
*
)
sphinx_showfunc_error
,
SHOW_FUNC
},
{
"
S
phinx_total"
,
(
char
*
)
sphinx_showfunc_total
,
SHOW_FUNC
},
{
"
S
phinx_total_found"
,
(
char
*
)
sphinx_showfunc_total_found
,
SHOW_FUNC
},
{
"
S
phinx_time"
,
(
char
*
)
sphinx_showfunc_time
,
SHOW_FUNC
},
{
"
S
phinx_word_count"
,
(
char
*
)
sphinx_showfunc_word_count
,
SHOW_FUNC
},
{
"
S
phinx_words"
,
(
char
*
)
sphinx_showfunc_words
,
SHOW_FUNC
},
{
"
S
phinx_error"
,
(
char
*
)
sphinx_showfunc_error
,
SHOW_FUNC
},
{
0
,
0
,
(
enum_mysql_show_type
)
0
}
};
...
...
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