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
eaec73c3
Commit
eaec73c3
authored
Jan 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabled adding option to ndb_mgm in mysql test run
parent
4c0a0c3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+4
-1
mysql-test/ndb/ndbcluster.sh
mysql-test/ndb/ndbcluster.sh
+7
-3
No files found.
mysql-test/mysql-test-run.sh
View file @
eaec73c3
...
@@ -241,6 +241,7 @@ USE_EMBEDDED_SERVER=""
...
@@ -241,6 +241,7 @@ USE_EMBEDDED_SERVER=""
RESULT_EXT
=
""
RESULT_EXT
=
""
TEST_MODE
=
"default"
TEST_MODE
=
"default"
NDB_MGM_EXTRA_OPTS
=
NDB_MGMD_EXTRA_OPTS
=
NDB_MGMD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
...
@@ -264,6 +265,8 @@ while test $# -gt 0; do
...
@@ -264,6 +265,8 @@ while test $# -gt 0; do
--ndb-connectstring
=
*
)
--ndb-connectstring
=
*
)
USE_NDBCLUSTER
=
"--ndbcluster"
;
USE_NDBCLUSTER
=
"--ndbcluster"
;
USE_RUNNING_NDBCLUSTER
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndb-connectstring=;;"
`
;;
USE_RUNNING_NDBCLUSTER
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndb-connectstring=;;"
`
;;
--ndb_mgm-extra-opts
=
*
)
NDB_MGM_EXTRA_OPTS
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndb_mgm-extra-opts=;;"
`
;;
--ndb_mgmd-extra-opts
=
*
)
--ndb_mgmd-extra-opts
=
*
)
NDB_MGMD_EXTRA_OPTS
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndb_mgmd-extra-opts=;;"
`
;;
NDB_MGMD_EXTRA_OPTS
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndb_mgmd-extra-opts=;;"
`
;;
--ndbd-extra-opts
=
*
)
--ndbd-extra-opts
=
*
)
...
@@ -470,7 +473,7 @@ SMALL_SERVER="--key_buffer_size=1M --sort_buffer=256K --max_heap_table_size=1M"
...
@@ -470,7 +473,7 @@ SMALL_SERVER="--key_buffer_size=1M --sort_buffer=256K --max_heap_table_size=1M"
export
MASTER_MYPORT MASTER_MYPORT1 SLAVE_MYPORT MYSQL_TCP_PORT MASTER_MYSOCK MASTER_MYSOCK1
export
MASTER_MYPORT MASTER_MYPORT1 SLAVE_MYPORT MYSQL_TCP_PORT MASTER_MYSOCK MASTER_MYSOCK1
NDBCLUSTER_BASE_PORT
=
`
expr
$NDBCLUSTER_PORT
+ 2
`
NDBCLUSTER_BASE_PORT
=
`
expr
$NDBCLUSTER_PORT
+ 2
`
NDBCLUSTER_OPTS
=
"--port=
$NDBCLUSTER_PORT
--port-base=
$NDBCLUSTER_BASE_PORT
--data-dir=
$MYSQL_TEST_DIR
/var --ndb_mgm
d-extra-opts=
\"
$NDB_MGMD_EXTRA_OPTS
\"
--ndbd-extra-opts=
\"
$NDBD_EXTRA_OPTS
\"
"
NDBCLUSTER_OPTS
=
"--port=
$NDBCLUSTER_PORT
--port-base=
$NDBCLUSTER_BASE_PORT
--data-dir=
$MYSQL_TEST_DIR
/var --ndb_mgm
-extra-opts=
$NDB_MGM_EXTRA_OPTS
--ndb_mgmd-extra-opts=
$NDB_MGMD_EXTRA_OPTS
--ndbd-extra-opts=
$NDBD_EXTRA_OPTS
"
if
[
x
$SOURCE_DIST
=
x1
]
;
then
if
[
x
$SOURCE_DIST
=
x1
]
;
then
MY_BASEDIR
=
$MYSQL_TEST_DIR
MY_BASEDIR
=
$MYSQL_TEST_DIR
...
...
mysql-test/ndb/ndbcluster.sh
View file @
eaec73c3
...
@@ -58,6 +58,7 @@ ndb_con_op=105000
...
@@ -58,6 +58,7 @@ ndb_con_op=105000
ndb_dmem
=
80M
ndb_dmem
=
80M
ndb_imem
=
24M
ndb_imem
=
24M
NDB_MGM_EXTRA_OPTS
=
NDB_MGMD_EXTRA_OPTS
=
NDB_MGMD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
...
@@ -97,6 +98,9 @@ while test $# -gt 0; do
...
@@ -97,6 +98,9 @@ while test $# -gt 0; do
--port-base
=
*
)
--port-base
=
*
)
port_base
=
`
echo
"
$1
"
|
sed
-e
"s;--port-base=;;"
`
port_base
=
`
echo
"
$1
"
|
sed
-e
"s;--port-base=;;"
`
;;
;;
--ndb_mgm-extra-opts
=
*
)
NDB_MGM_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndb_mgm-extra-opts=;;"
`
;;
--ndb_mgmd-extra-opts
=
*
)
--ndb_mgmd-extra-opts
=
*
)
NDB_MGMD_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndb_mgmd-extra-opts=;;"
`
NDB_MGMD_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndb_mgmd-extra-opts=;;"
`
;;
;;
...
@@ -130,7 +134,7 @@ if [ ! -x "$exec_waiter" ]; then
...
@@ -130,7 +134,7 @@ if [ ! -x "$exec_waiter" ]; then
exit
1
exit
1
fi
fi
exec_mgmtclient
=
"
$exec_mgmtclient
--no-defaults"
exec_mgmtclient
=
"
$exec_mgmtclient
--no-defaults
$NDB_MGM_EXTRA_OPTS
"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults
$NDB_MGMD_EXTRA_OPTS
"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults
$NDB_MGMD_EXTRA_OPTS
"
exec_ndb
=
"
$exec_ndb
--no-defaults
$NDBD_EXTRA_OPTS
"
exec_ndb
=
"
$exec_ndb
--no-defaults
$NDBD_EXTRA_OPTS
"
exec_waiter
=
"
$exec_waiter
--no-defaults"
exec_waiter
=
"
$exec_waiter
--no-defaults"
...
@@ -178,8 +182,8 @@ fi
...
@@ -178,8 +182,8 @@ fi
# Edit file system path and ports in config file
# Edit file system path and ports in config file
if
[
$initial_ndb
]
;
then
if
[
$initial_ndb
]
;
then
rm
-f
$fs_ndb
/ndb_
*
rm
-f
$fs_ndb
/ndb_
*
2>&1 |
cat
>
/dev/null
sed
\
sed
\
-e
s,
"CHOOSE_MaxNoOfOrderedIndexes"
,
"
$ndb_no_ord
"
,g
\
-e
s,
"CHOOSE_MaxNoOfOrderedIndexes"
,
"
$ndb_no_ord
"
,g
\
-e
s,
"CHOOSE_MaxNoOfConcurrentOperations"
,
"
$ndb_con_op
"
,g
\
-e
s,
"CHOOSE_MaxNoOfConcurrentOperations"
,
"
$ndb_con_op
"
,g
\
-e
s,
"CHOOSE_DataMemory"
,
"
$ndb_dmem
"
,g
\
-e
s,
"CHOOSE_DataMemory"
,
"
$ndb_dmem
"
,g
\
...
...
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