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
1b64c34e
Commit
1b64c34e
authored
Feb 16, 2008
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup the test case address #408
git-svn-id:
file:///svn/tokudb@2317
c7de825b-a66e-492c-adef-691d508d4ae1
parent
f29b1fa5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
cxx/tests/db_create.cpp
cxx/tests/db_create.cpp
+6
-1
No files found.
cxx/tests/db_create.cpp
View file @
1b64c34e
...
...
@@ -17,7 +17,12 @@ int dbcreate(char *dbfile, char *dbname, int dbflags, int argc, char *argv[]) {
Db
*
db
=
new
Db
(
env
,
DB_CXX_NO_EXCEPTIONS
);
r
=
db
->
set_flags
(
dbflags
);
assert
(
r
==
0
);
r
=
db
->
open
(
0
,
dbfile
,
dbname
,
DB_BTREE
,
DB_CREATE
,
0777
);
assert
(
r
==
0
);
r
=
db
->
open
(
0
,
dbfile
,
dbname
,
DB_BTREE
,
DB_CREATE
,
0777
);
if
(
r
!=
0
)
{
printf
(
"db->open %s(%s) %d %s
\n
"
,
dbfile
,
dbname
,
r
,
db_strerror
(
r
));
env
->
close
(
0
);
delete
env
;
return
1
;
}
int
i
=
0
;
while
(
i
<
argc
)
{
...
...
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