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
5c55bb72
Commit
5c55bb72
authored
Dec 31, 2007
by
skozlov/ksm@mysql.com/virtop.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#4077 added support old versions of mysqld binaries
parent
04ee08b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
mysql-test/include/have_multi_ndb.inc
mysql-test/include/have_multi_ndb.inc
+10
-2
No files found.
mysql-test/include/have_multi_ndb.inc
View file @
5c55bb72
...
...
@@ -4,26 +4,34 @@ connect (server2,127.0.0.1,root,,test,$MASTER_MYPORT1,);
# Check that server1 has NDB support
connection
server1
;
let
$engines_table
=
query_get_value
(
SHOW
TABLES
FROM
information_schema
LIKE
'engines'
,
Tables_in_information_schema
(
engines
),
1
);
disable_query_log
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
flush
tables
;
if
(
`SELECT 1 FROM dual WHERE '$engines_table' = 'engines'`
)
{
--
require
r
/
true
.
require
select
(
support
=
'YES'
or
support
=
'DEFAULT'
or
support
=
'ENABLED'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
SELECT
(
support
=
'YES'
or
support
=
'DEFAULT'
or
support
=
'ENABLED'
)
as
`TRUE`
FROM
information_schema
.
engines
WHERE
engine
=
'ndbcluster'
;
--
source
include
/
ndb_not_readonly
.
inc
}
enable_query_log
;
# Check that server2 has NDB support
connection
server2
;
let
$engines_table
=
query_get_value
(
SHOW
TABLES
FROM
information_schema
LIKE
'engines'
,
Tables_in_information_schema
(
engines
),
1
);
disable_query_log
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
flush
tables
;
if
(
`SELECT 1 FROM dual WHERE '$engines_table' = 'engines'`
)
{
--
require
r
/
true
.
require
select
(
support
=
'YES'
or
support
=
'DEFAULT'
or
support
=
'ENABLED'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
SELECT
(
support
=
'YES'
or
support
=
'DEFAULT'
or
support
=
'ENABLED'
)
as
`TRUE`
FROM
information_schema
.
engines
WHERE
engine
=
'ndbcluster'
;
--
source
include
/
ndb_not_readonly
.
inc
}
enable_query_log
;
# Set the default connection to 'server1'
...
...
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