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
99457164
Commit
99457164
authored
Jan 17, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some options to ndb tools that seem to be disturbing some shells
parent
e77bd2be
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/t/rpl_ndb_bank.test
mysql-test/t/rpl_ndb_bank.test
+2
-2
mysql-test/t/rpl_ndb_sync.test
mysql-test/t/rpl_ndb_sync.test
+2
-2
No files found.
mysql-test/t/rpl_ndb_bank.test
View file @
99457164
...
...
@@ -114,10 +114,10 @@ CREATE DATABASE BANK;
# start by taking a backup on master
--
connection
master
RESET
MASTER
;
--
exec
$NDB_MGM
--
no
-
defaults
--
ndb
-
connectstring
=
localhost
:
$NDBCLUSTER_PORT
-
e
"start backup"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_MGM
--
no
-
defaults
--
ndb
-
connectstring
=
"localhost:
$NDBCLUSTER_PORT
"
-
e
"start backup"
>>
$NDB_TOOLS_OUTPUT
# there is no neat way to find the backupid, this is a hack to find it...
--
exec
$NDB_TOOLS_DIR
/
ndb_select_all
--
ndb
-
connectstring
=
localhost
:
$NDBCLUSTER_PORT
-
d
sys
-
D
,
SYSTAB_0
|
grep
520093696
>
var
/
tmp
.
dat
--
exec
$NDB_TOOLS_DIR
/
ndb_select_all
--
ndb
-
connectstring
=
"localhost:
$NDBCLUSTER_PORT
"
-
d
sys
--
delimiter
=
','
SYSTAB_0
|
grep
520093696
>
var
/
tmp
.
dat
CREATE
TABLE
IF
NOT
EXISTS
cluster_replication
.
backup_info
(
id
INT
,
backup_id
INT
)
ENGINE
=
HEAP
;
DELETE
FROM
cluster_replication
.
backup_info
;
LOAD
DATA
INFILE
'../../var/tmp.dat'
INTO
TABLE
cluster_replication
.
backup_info
FIELDS
TERMINATED
BY
','
;
...
...
mysql-test/t/rpl_ndb_sync.test
View file @
99457164
...
...
@@ -25,8 +25,8 @@ SELECT hex(c1),hex(c2),c3 FROM t1 ORDER BY c3;
SELECT
hex
(
c2
),
hex
(
c3
),
c1
FROM
t2
ORDER
BY
c1
;
# take a backup on master
--
exec
$NDB_MGM
--
no
-
defaults
--
ndb
-
connectstring
=
localhost
:
$NDBCLUSTER_PORT
-
e
"start backup"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_select_all
--
no
-
defaults
--
ndb
-
connectstring
=
localhost
:
$NDBCLUSTER_PORT
-
d
sys
-
D
,
SYSTAB_0
|
grep
520093696
>
var
/
tmp
.
dat
--
exec
$NDB_MGM
--
no
-
defaults
--
ndb
-
connectstring
=
"localhost:
$NDBCLUSTER_PORT
"
-
e
"start backup"
>>
$NDB_TOOLS_OUTPUT
--
exec
$NDB_TOOLS_DIR
/
ndb_select_all
--
no
-
defaults
--
ndb
-
connectstring
=
"localhost:
$NDBCLUSTER_PORT
"
-
d
sys
--
delimiter
=
','
SYSTAB_0
|
grep
520093696
>
var
/
tmp
.
dat
CREATE
TABLE
IF
NOT
EXISTS
cluster_replication
.
backup_info
(
id
INT
,
backup_id
INT
);
DELETE
FROM
cluster_replication
.
backup_info
;
LOAD
DATA
INFILE
'../../var/tmp.dat'
INTO
TABLE
cluster_replication
.
backup_info
FIELDS
TERMINATED
BY
','
;
...
...
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