Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
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
certo
mariadb
Commits
f7c89ebe
Commit
f7c89ebe
authored
Nov 18, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed CWMP settings for binlog
parent
c74b883e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
mariadb
mariadb
+6
-6
No files found.
mariadb
View file @
f7c89ebe
...
...
@@ -145,13 +145,13 @@ mysql_set_gtid_domain_id() {
}
mysql_get_binlog_do_db
()
{
echo
`
$UCI_GET
mariadb.binlog.
binlog_
do_db
`
echo
`
$UCI_GET
mariadb.binlog.do_db
`
}
mysql_set_binlog_do_db
()
{
local
binlog_do_db
=
`
$UCI_GET
mariadb.binlog.
binlog_
do_db
`
local
binlog_do_db
=
`
$UCI_GET
mariadb.binlog.do_db
`
if
[
"
$binlog_do_db
"
!=
"
$1
"
]
;
then
$UCI_SET
mariadb.binlog.
binlog_
do_db
=
"
$1
"
$UCI_SET
mariadb.binlog.do_db
=
"
$1
"
$UCI_COMMIT
wsrep-init
systemctl restart mariadb
...
...
@@ -159,13 +159,13 @@ mysql_set_binlog_do_db() {
}
mysql_get_binlog_ignore_db
()
{
echo
`
$UCI_GET
mariadb.binlog.
binlog_
ignore_db
`
echo
`
$UCI_GET
mariadb.binlog.ignore_db
`
}
mysql_set_binlog_ignore_db
()
{
local
binlog_ignore_db
=
`
$UCI_GET
mariadb.binlog.
binlog_
ignore_db
`
local
binlog_ignore_db
=
`
$UCI_GET
mariadb.binlog.ignore_db
`
if
[
"
$binlog_ignore_db
"
!=
"
$1
"
]
;
then
$UCI_SET
mariadb.binlog.
binlog_
ignore_db
=
"
$1
"
$UCI_SET
mariadb.binlog.ignore_db
=
"
$1
"
$UCI_COMMIT
wsrep-init
systemctl restart mariadb
...
...
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