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
f0f3df1b
Commit
f0f3df1b
authored
Dec 14, 2007
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
closes #190
git-svn-id:
file:///svn/tokudb@1139
c7de825b-a66e-492c-adef-691d508d4ae1
parent
9d1694a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/tests/test_env_close_flags.c
src/tests/test_env_close_flags.c
+2
-2
No files found.
src/tests/test_env_close_flags.c
View file @
f0f3df1b
...
...
@@ -25,7 +25,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__u
r
=
db_env_create
(
&
env
,
0
);
assert
(
r
==
0
);
r
=
env
->
close
(
env
,
1
);
//BDB does not check this in some versions
#if defined(USE_TDB)
#if defined(USE_TDB)
|| (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3)
assert
(
r
==
EINVAL
);
#else
assert
(
r
==
0
);
...
...
@@ -44,7 +44,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__u
r
=
env
->
open
(
env
,
DIR
,
DB_INIT_LOCK
|
DB_INIT_LOG
|
DB_INIT_MPOOL
|
DB_INIT_TXN
|
DB_PRIVATE
|
DB_CREATE
,
0777
);
CKERR
(
r
);
r
=
env
->
close
(
env
,
1
);
//BDB does not check this.
#if
def USE_TDB
#if
defined(USE_TDB) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3)
assert
(
r
==
EINVAL
);
#else
assert
(
r
==
0
);
...
...
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