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
7377d4c7
Commit
7377d4c7
authored
Nov 30, 2012
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #5700, fix test
git-svn-id:
file:///svn/toku/tokudb@50576
c7de825b-a66e-492c-adef-691d508d4ae1
parent
0842f9ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/tests/stat64-root-changes.cc
src/tests/stat64-root-changes.cc
+3
-3
No files found.
src/tests/stat64-root-changes.cc
View file @
7377d4c7
...
...
@@ -137,7 +137,7 @@ run_test (void) {
r
=
txn
->
commit
(
txn
,
0
);
CKERR
(
r
);
r
=
db
->
stat64
(
db
,
NULL
,
&
s
);
CKERR
(
r
);
assert
(
s
.
bt_nkeys
==
2
&&
s
.
bt_dsize
==
sizeof
key
+
sizeof
val
);
assert
(
s
.
bt_nkeys
==
1
&&
s
.
bt_dsize
==
sizeof
key
+
sizeof
val
);
}
// verify update callback overwrites the row
...
...
@@ -151,7 +151,7 @@ run_test (void) {
DB_BTREE_STAT64
s
;
r
=
db
->
stat64
(
db
,
NULL
,
&
s
);
CKERR
(
r
);
assert
(
s
.
bt_nkeys
==
2
&&
s
.
bt_dsize
==
sizeof
key
+
sizeof
val
);
assert
(
s
.
bt_nkeys
==
1
&&
s
.
bt_dsize
==
sizeof
key
+
sizeof
val
);
r
=
db
->
close
(
db
,
0
);
CKERR
(
r
);
...
...
@@ -161,7 +161,7 @@ run_test (void) {
r
=
txn
->
commit
(
txn
,
0
);
CKERR
(
r
);
r
=
db
->
stat64
(
db
,
NULL
,
&
s
);
CKERR
(
r
);
assert
(
s
.
bt_nkeys
==
2
&&
s
.
bt_dsize
==
sizeof
key
+
sizeof
val
);
assert
(
s
.
bt_nkeys
==
1
&&
s
.
bt_dsize
==
sizeof
key
+
sizeof
val
);
}
// verify update callback deletes the row
...
...
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