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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
22edf825
Commit
22edf825
authored
Apr 02, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix atrt mysql_install_db, make sure no extra my.cnf is read
parent
6751cb25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
storage/ndb/test/run-test/files.cpp
storage/ndb/test/run-test/files.cpp
+5
-4
No files found.
storage/ndb/test/run-test/files.cpp
View file @
22edf825
...
@@ -155,12 +155,13 @@ setup_files(atrt_config& config, int setup, int sshx)
...
@@ -155,12 +155,13 @@ setup_files(atrt_config& config, int setup, int sshx)
const
char
*
val
;
const
char
*
val
;
require
(
proc
.
m_options
.
m_loaded
.
get
(
"--datadir="
,
&
val
));
require
(
proc
.
m_options
.
m_loaded
.
get
(
"--datadir="
,
&
val
));
BaseString
tmp
;
BaseString
tmp
;
tmp
.
assfmt
(
"%s/bin/mysql_install_db --datadir=%s > /dev/null 2>&1"
,
tmp
.
assfmt
(
"%s/bin/mysql_install_db --d
efaults-file=%s/my.cnf --d
atadir=%s > /dev/null 2>&1"
,
g_prefix
,
val
);
g_prefix
,
g_basedir
,
val
);
if
(
system
(
tmp
.
c_str
())
!=
0
)
if
(
system
(
tmp
.
c_str
())
!=
0
)
{
{
g_logger
.
error
(
"Failed to mysql_install_db for %s"
,
g_logger
.
error
(
"Failed to mysql_install_db for %s, cmd: >%s<"
,
proc
.
m_proc
.
m_cwd
.
c_str
());
proc
.
m_proc
.
m_cwd
.
c_str
(),
tmp
.
c_str
());
}
}
else
else
{
{
...
...
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