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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6f557367
Commit
6f557367
authored
Dec 16, 2004
by
magnus@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved test for multi ndb to have_ndb_multi
parent
e127fc34
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
29 deletions
+31
-29
mysql-test/include/have_multi_ndb.inc
mysql-test/include/have_multi_ndb.inc
+28
-0
mysql-test/include/have_ndb.inc
mysql-test/include/have_ndb.inc
+0
-29
mysql-test/t/ndb_cache_multi.test
mysql-test/t/ndb_cache_multi.test
+1
-0
mysql-test/t/ndb_multi.test
mysql-test/t/ndb_multi.test
+2
-0
No files found.
mysql-test/include/have_multi_ndb.inc
0 → 100644
View file @
6f557367
# Setup connections to both MySQL Servers connected to the cluster
connect
(
server1
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
,);
connect
(
server2
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT1
,);
# Check that server1 has NDB support
connection
server1
;
disable_query_log
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
flush
tables
;
@
r
/
have_ndb
.
require
show
variables
like
"have_ndbcluster"
;
@
r
/
server_id
.
require
show
variables
like
"server_id"
;
enable_query_log
;
# Check that server2 has NDB support
connection
server2
;
disable_query_log
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
flush
tables
;
@
r
/
have_ndb
.
require
show
variables
like
"have_ndbcluster"
;
@
r
/
server_id1
.
require
show
variables
like
"server_id"
;
enable_query_log
;
# Set the default connection to 'server1'
connection
server1
;
mysql-test/include/have_ndb.inc
View file @
6f557367
...
...
@@ -3,32 +3,3 @@ disable_query_log;
show
variables
like
"have_ndbcluster"
;
enable_query_log
;
# Setup connections to both MySQL Servers connected to the cluster
connect
(
server1
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
,);
connect
(
server2
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT1
,);
# Check that server1 has NDB support
connection
server1
;
disable_query_log
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
flush
tables
;
@
r
/
have_ndb
.
require
show
variables
like
"have_ndbcluster"
;
@
r
/
server_id
.
require
show
variables
like
"server_id"
;
enable_query_log
;
# Check that server2 has NDB support
connection
server2
;
disable_query_log
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
flush
tables
;
@
r
/
have_ndb
.
require
show
variables
like
"have_ndbcluster"
;
@
r
/
server_id1
.
require
show
variables
like
"server_id"
;
enable_query_log
;
# Set the default connection to 'server1'
connection
server1
;
mysql-test/t/ndb_cache_multi.test
View file @
6f557367
--
source
include
/
have_query_cache
.
inc
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
...
...
mysql-test/t/ndb_multi.test
View file @
6f557367
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_multi_ndb
.
inc
--
disable_warnings
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
...
...
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