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
264bac2f
Commit
264bac2f
authored
Feb 09, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb_port_base is obsolete with WL#2278
parent
0c096d42
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
18 deletions
+3
-18
configure.in
configure.in
+0
-6
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+0
-3
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+1
-2
mysql-test/ndb/Makefile.am
mysql-test/ndb/Makefile.am
+0
-1
mysql-test/ndb/ndb_config_2_node.ini
mysql-test/ndb/ndb_config_2_node.ini
+1
-3
mysql-test/ndb/ndbcluster.sh
mysql-test/ndb/ndbcluster.sh
+1
-3
No files found.
configure.in
View file @
264bac2f
...
@@ -2701,12 +2701,6 @@ then
...
@@ -2701,12 +2701,6 @@ then
fi
fi
AC_SUBST
([
ndb_port]
)
AC_SUBST
([
ndb_port]
)
if
test
X
"
$ndb_port_base
"
=
Xdefault
then
ndb_port_base
=
"2202"
fi
AC_SUBST
([
ndb_port_base]
)
ndb_transporter_opt_objs
=
""
ndb_transporter_opt_objs
=
""
if
test
"
$ac_cv_func_shmget
"
=
"yes"
&&
if
test
"
$ac_cv_func_shmget
"
=
"yes"
&&
test
"
$ac_cv_func_shmat
"
=
"yes"
&&
test
"
$ac_cv_func_shmat
"
=
"yes"
&&
...
...
mysql-test/mysql-test-run.pl
View file @
264bac2f
...
@@ -1023,10 +1023,8 @@ sub ndbcluster_install () {
...
@@ -1023,10 +1023,8 @@ sub ndbcluster_install () {
}
}
mtr_report
("
Install ndbcluster
");
mtr_report
("
Install ndbcluster
");
my
$ndbcluster_opts
=
$opt_bench
?
""
:
"
--small
";
my
$ndbcluster_opts
=
$opt_bench
?
""
:
"
--small
";
my
$ndbcluster_port_base
=
$opt_ndbcluster_port
+
2
;
if
(
mtr_run
("
$glob_mysql_test_dir
/ndb/ndbcluster
",
if
(
mtr_run
("
$glob_mysql_test_dir
/ndb/ndbcluster
",
["
--port=
$opt_ndbcluster_port
",
["
--port=
$opt_ndbcluster_port
",
"
--port-base=
$ndbcluster_port_base
",
"
--data-dir=
$glob_mysql_test_dir
/var
",
"
--data-dir=
$glob_mysql_test_dir
/var
",
$ndbcluster_opts
,
$ndbcluster_opts
,
"
--initial
"],
"
--initial
"],
...
@@ -1067,7 +1065,6 @@ sub ndbcluster_stop () {
...
@@ -1067,7 +1065,6 @@ sub ndbcluster_stop () {
{
{
return
;
return
;
}
}
my
$ndbcluster_port_base
=
$opt_ndbcluster_port
+
2
;
# FIXME, we want to _append_ output to file $file_ndb_testrun_log instead of /dev/null
# FIXME, we want to _append_ output to file $file_ndb_testrun_log instead of /dev/null
mtr_run
("
$glob_mysql_test_dir
/ndb/ndbcluster
",
mtr_run
("
$glob_mysql_test_dir
/ndb/ndbcluster
",
["
--port=
$opt_ndbcluster_port
",
["
--port=
$opt_ndbcluster_port
",
...
...
mysql-test/mysql-test-run.sh
View file @
264bac2f
...
@@ -497,8 +497,7 @@ SMALL_SERVER="--key_buffer_size=1M --sort_buffer=256K --max_heap_table_size=1M"
...
@@ -497,8 +497,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_OPTS
=
"--port=
$NDBCLUSTER_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
"
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
"
NDB_BACKUP_DIR
=
$MYSQL_TEST_DIR
/var/ndbcluster-
$NDBCLUSTER_PORT
NDB_BACKUP_DIR
=
$MYSQL_TEST_DIR
/var/ndbcluster-
$NDBCLUSTER_PORT
NDB_TOOLS_OUTPUT
=
$MYSQL_TEST_DIR
/var/log/ndb_tools.log
NDB_TOOLS_OUTPUT
=
$MYSQL_TEST_DIR
/var/log/ndb_tools.log
...
...
mysql-test/ndb/Makefile.am
View file @
264bac2f
...
@@ -14,7 +14,6 @@ SUFFIXES = .sh
...
@@ -14,7 +14,6 @@ SUFFIXES = .sh
@
RM@
-f
$@
$@
-t
@
RM@
-f
$@
$@
-t
@
SED@
\
@
SED@
\
-e
's!@''ndb_port''@!
$(ndb_port)
!g'
\
-e
's!@''ndb_port''@!
$(ndb_port)
!g'
\
-e
's!@''ndb_port_base''@!
$(ndb_port_base)
!g'
\
-e
's!@''ndbbindir''@!
$(ndbbindir)
!g'
\
-e
's!@''ndbbindir''@!
$(ndbbindir)
!g'
\
-e
's!@''ndbtoolsdir''@!
$(ndbtoolsdir)
!g'
\
-e
's!@''ndbtoolsdir''@!
$(ndbtoolsdir)
!g'
\
$<
>
$@
-t
$<
>
$@
-t
...
...
mysql-test/ndb/ndb_config_2_node.ini
View file @
264bac2f
...
@@ -15,6 +15,7 @@ HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress
...
@@ -15,6 +15,7 @@ HostName= CHOOSE_HOSTNAME_1 # hostname is a valid network adress
HostName
=
CHOOSE_HOSTNAME_2 # hostname is a valid network adress
HostName
=
CHOOSE_HOSTNAME_2 # hostname is a valid network adress
[ndb_mgmd]
[ndb_mgmd]
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
DataDir
=
CHOOSE_FILESYSTEM #
DataDir
=
CHOOSE_FILESYSTEM #
PortNumber
=
CHOOSE_PORT_MGM
PortNumber
=
CHOOSE_PORT_MGM
...
@@ -25,6 +26,3 @@ PortNumber= CHOOSE_PORT_MGM
...
@@ -25,6 +26,3 @@ PortNumber= CHOOSE_PORT_MGM
[mysqld]
[mysqld]
[mysqld]
[mysqld]
[tcp default]
PortNumber
=
CHOOSE_PORT_TRANSPORTER
mysql-test/ndb/ndbcluster.sh
View file @
264bac2f
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
# configurable parameters, make sure to change in mysqlcluterd as well
# configurable parameters, make sure to change in mysqlcluterd as well
port
=
@ndb_port@
port
=
@ndb_port@
port_base
=
@ndb_port_base@
fsdir
=
`
pwd
`
fsdir
=
`
pwd
`
# end configurable parameters
# end configurable parameters
...
@@ -96,7 +95,7 @@ while test $# -gt 0; do
...
@@ -96,7 +95,7 @@ while test $# -gt 0; do
port
=
`
echo
"
$1
"
|
sed
-e
"s;--port=;;"
`
port
=
`
echo
"
$1
"
|
sed
-e
"s;--port=;;"
`
;;
;;
--port-base
=
*
)
--port-base
=
*
)
port_base
=
`
echo
"
$1
"
|
sed
-e
"s;--port-base=;;"
`
$ECHO
"--port-base option depricated. Ignored."
;;
;;
--ndb_mgm-extra-opts
=
*
)
--ndb_mgm-extra-opts
=
*
)
NDB_MGM_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndb_mgm-extra-opts=;;"
`
NDB_MGM_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndb_mgm-extra-opts=;;"
`
...
@@ -192,7 +191,6 @@ if [ $initial_ndb ] ; then
...
@@ -192,7 +191,6 @@ if [ $initial_ndb ] ; then
-e
s,
"CHOOSE_HOSTNAME_"
.
*
,
"
$ndb_host
"
,g
\
-e
s,
"CHOOSE_HOSTNAME_"
.
*
,
"
$ndb_host
"
,g
\
-e
s,
"CHOOSE_FILESYSTEM"
,
"
$fs_ndb
"
,g
\
-e
s,
"CHOOSE_FILESYSTEM"
,
"
$fs_ndb
"
,g
\
-e
s,
"CHOOSE_PORT_MGM"
,
"
$ndb_mgmd_port
"
,g
\
-e
s,
"CHOOSE_PORT_MGM"
,
"
$ndb_mgmd_port
"
,g
\
-e
s,
"CHOOSE_PORT_TRANSPORTER"
,
"
$port_base
"
,g
\
< ndb/ndb_config_2_node.ini
\
< ndb/ndb_config_2_node.ini
\
>
"
$fs_ndb
/config.ini"
>
"
$fs_ndb
/config.ini"
fi
fi
...
...
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