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
15e09556
Commit
15e09556
authored
Jan 30, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added --core option in mysql-test-run for ndb
parent
0db3ac53
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
21 deletions
+18
-21
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-4
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+2
-2
mysql-test/ndb/ndbcluster.sh
mysql-test/ndb/ndbcluster.sh
+8
-4
mysql-test/r/ndb_restore.result
mysql-test/r/ndb_restore.result
+0
-8
mysql-test/t/ndb_restore.test
mysql-test/t/ndb_restore.test
+0
-3
No files found.
mysql-test/mysql-test-run.pl
View file @
15e09556
...
...
@@ -1374,7 +1374,8 @@ sub ndbcluster_install () {
"
--verbose=2
",
$ndbcluster_opts
,
"
--initial
",
"
--relative-config-data-dir
"],
"
--relative-config-data-dir
",
"
--core
"],
"",
"",
"",
"")
)
{
mtr_error
("
Error ndbcluster_install
");
...
...
@@ -1410,7 +1411,8 @@ sub ndbcluster_start ($) {
if
(
mtr_run
("
$glob_mysql_test_dir
/ndb/ndbcluster
",
["
--port=
$opt_ndbcluster_port
",
"
--data-dir=
$opt_vardir
",
"
--verbose=2
"],
"
--verbose=2
",
"
--core
"],
"",
"
/dev/null
",
"",
"")
)
{
mtr_error
("
Error ndbcluster_start
");
...
...
@@ -1467,7 +1469,8 @@ sub ndbcluster_install_slave () {
"
--small
",
"
--ndbd-nodes=1
",
"
--initial
",
"
--relative-config-data-dir
"],
"
--relative-config-data-dir
",
"
--core
"],
"",
"",
"",
"")
)
{
mtr_error
("
Error ndbcluster_install_slave
");
...
...
@@ -1501,7 +1504,8 @@ sub ndbcluster_start_slave ($) {
["
--port=
$opt_ndbcluster_port_slave
",
"
--data-dir=
$opt_vardir
",
"
--verbose=2
",
"
--ndbd-nodes=1
"],
"
--ndbd-nodes=1
",
"
--core
"],
"",
"
/dev/null
",
"",
"")
)
{
mtr_error
("
Error ndbcluster_start_slave
");
...
...
mysql-test/mysql-test-run.sh
View file @
15e09556
...
...
@@ -1278,7 +1278,7 @@ start_ndbcluster()
then
NDBCLUSTER_EXTRA_OPTS
=
"--small"
fi
OPTS
=
"
$NDBCLUSTER_OPTS
$NDBCLUSTER_EXTRA_OPTS
--verbose=
$NDB_VERBOSE
--initial --relative-config-data-dir"
OPTS
=
"
$NDBCLUSTER_OPTS
$NDBCLUSTER_EXTRA_OPTS
--verbose=
$NDB_VERBOSE
--initial --relative-config-data-dir
--core
"
if
[
"x
$NDB_VERBOSE
"
!=
"x0"
]
;
then
echo
"Starting master ndbcluster "
$OPTS
fi
...
...
@@ -1511,7 +1511,7 @@ start_slave()
NDBCLUSTER_EXTRA_OPTS
=
"--small"
fi
OPTS
=
"
$NDBCLUSTER_OPTS_SLAVE
--initial
$NDBCLUSTER_EXTRA_OPTS
--ndbd-nodes=1 --verbose=
$NDB_VERBOSE
--relative-config-data-dir"
OPTS
=
"
$NDBCLUSTER_OPTS_SLAVE
--initial
$NDBCLUSTER_EXTRA_OPTS
--ndbd-nodes=1 --verbose=
$NDB_VERBOSE
--relative-config-data-dir
--core
"
if
[
"x
$NDB_VERBOSE
"
!=
"x0"
]
;
then
echo
"Starting slave ndbcluster "
$OPTS
fi
...
...
mysql-test/ndb/ndbcluster.sh
View file @
15e09556
...
...
@@ -53,6 +53,7 @@ status_ndb=
ndb_diskless
=
0
ndbd_nodes
=
2
relative_config_data_dir
=
opt_core
=
ndb_no_ord
=
512
ndb_no_attr
=
2048
...
...
@@ -118,6 +119,9 @@ while test $# -gt 0; do
--ndbd-extra-opts
=
*
)
NDBD_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndbd-extra-opts=;;"
`
;;
--core
)
opt_core
=
"--core"
;;
--verbose
=
*
)
VERBOSE
=
`
echo
"
$1
"
|
sed
-e
"s;--verbose=;;"
`
;;
...
...
@@ -153,10 +157,10 @@ if [ ! -f "$config_ini" ]; then
exit
1
fi
exec_mgmtclient
=
"
$exec_mgmtclient
--no-defaults
$NDB_MGM_EXTRA_OPTS
"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults
$NDB_MGMD_EXTRA_OPTS
"
exec_ndb
=
"
$exec_ndb
--no-defaults
$NDBD_EXTRA_OPTS
"
exec_waiter
=
"
$exec_waiter
--no-defaults"
exec_mgmtclient
=
"
$exec_mgmtclient
--no-defaults
$
opt_core
$
NDB_MGM_EXTRA_OPTS
"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults
$
opt_core
$
NDB_MGMD_EXTRA_OPTS
"
exec_ndb
=
"
$exec_ndb
--no-defaults
$
opt_core
$
NDBD_EXTRA_OPTS
"
exec_waiter
=
"
$exec_waiter
--no-defaults
$opt_core
"
ndb_host
=
"localhost"
ndb_mgmd_port
=
$port
...
...
mysql-test/r/ndb_restore.result
View file @
15e09556
use test;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1_c,t2_c,t3_c,t4_c,t5_c,t6_c,t7_c,t8_c,t9_c;
id type state logging database schema name
2 UserTable Online Yes cluster_replication def apply_status
1 SystemTable Online Yes sys def NDB$EVENTS_0
3 UserTable Online Yes cluster_replication def schema
0 SystemTable Online Yes sys def SYSTAB_0
NDBT_ProgramExit: 0 - OK
CREATE TABLE `t1_c` (
`capgoaledatta` smallint(5) unsigned NOT NULL auto_increment,
`goaledatta` char(2) NOT NULL default '',
...
...
mysql-test/t/ndb_restore.test
View file @
15e09556
...
...
@@ -8,9 +8,6 @@ drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop
table
if
exists
t1_c
,
t2_c
,
t3_c
,
t4_c
,
t5_c
,
t6_c
,
t7_c
,
t8_c
,
t9_c
;
--
enable_warnings
--
exec
$NDB_TOOLS_DIR
/
ndb_show_tables
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all dump 1000"
>>
$NDB_TOOLS_OUTPUT
CREATE
TABLE
`t1_c`
(
`capgoaledatta`
smallint
(
5
)
unsigned
NOT
NULL
auto_increment
,
`goaledatta`
char
(
2
)
NOT
NULL
default
''
,
...
...
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