luban-mysql 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d7d86319f6258ece397574e242b280418b08ad8
|
4
|
+
data.tar.gz: 0caa9c361236e3bbdf6c49a33f1e703bd4efecd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19a355ad86c19814fb4de98f09e414982ba5ded2ecff4952c36fc7f96813db641d9f54caeaf3a66a6386cc834d774629b332adb3ecbf73c1ec99a575a04d86c9
|
7
|
+
data.tar.gz: f5b4fd44a20cf713036658ab9f273bb7e9d101c8203ec9a754c0abb2cdedc4100bc3e88b83c6d3a4f588a4b381535f2981189937eb76e1cf04e79af7ba46db66
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,7 @@ module Luban
|
|
7
7
|
def self.included(base)
|
8
8
|
base.define_executable 'mysqld_safe'
|
9
9
|
base.define_executable 'mysqladmin'
|
10
|
+
base.define_executable 'mysqld'
|
10
11
|
end
|
11
12
|
|
12
13
|
def mysqld_safe_command
|
@@ -17,8 +18,11 @@ module Luban
|
|
17
18
|
@mysqldadmin_command ||= "#{mysqladmin_executable} --defaults-file=#{admin_control_file_path}"
|
18
19
|
end
|
19
20
|
|
21
|
+
def process_pattern
|
22
|
+
@process_pattern ||= "^#{mysqld_executable} --defaults-file=#{control_file_path}"
|
23
|
+
end
|
24
|
+
|
20
25
|
alias_method :start_command, :mysqld_safe_command
|
21
|
-
alias_method :process_pattern, :mysqld_safe_command
|
22
26
|
|
23
27
|
def start_command
|
24
28
|
@start_command ||= "#{mysqld_safe_command}"
|