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
48e890be
Commit
48e890be
authored
Apr 02, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix atrt mysql_install_db, make sure no extra my.cnf is read
parent
998c6826
Changes
1
Hide 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 @
48e890be
...
...
@@ -155,12 +155,13 @@ setup_files(atrt_config& config, int setup, int sshx)
const
char
*
val
;
require
(
proc
.
m_options
.
m_loaded
.
get
(
"--datadir="
,
&
val
));
BaseString
tmp
;
tmp
.
assfmt
(
"%s/bin/mysql_install_db --datadir=%s > /dev/null 2>&1"
,
g_prefix
,
val
);
tmp
.
assfmt
(
"%s/bin/mysql_install_db --d
efaults-file=%s/my.cnf --d
atadir=%s > /dev/null 2>&1"
,
g_prefix
,
g_basedir
,
val
);
if
(
system
(
tmp
.
c_str
())
!=
0
)
{
g_logger
.
error
(
"Failed to mysql_install_db for %s"
,
proc
.
m_proc
.
m_cwd
.
c_str
());
g_logger
.
error
(
"Failed to mysql_install_db for %s, cmd: >%s<"
,
proc
.
m_proc
.
m_cwd
.
c_str
(),
tmp
.
c_str
());
}
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