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
77ca2cab
Commit
77ca2cab
authored
Dec 20, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a comment. Addreses #180.
git-svn-id:
file:///svn/tokudb@1293
c7de825b-a66e-492c-adef-691d508d4ae1
parent
6801852a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/ydb.c
src/ydb.c
+1
-1
No files found.
src/ydb.c
View file @
77ca2cab
...
...
@@ -1016,7 +1016,7 @@ static int toku_c_put(DBC *dbc, DBT *key, DBT *data, u_int32_t flags) {
else
return
EINVAL
;
finish:
//Insert new data with the key we got from c_get.
r
=
db
->
put
(
db
,
dbc
->
i
->
txn
,
put_key
,
put_data
,
DB_YESOVERWRITE
);
r
=
db
->
put
(
db
,
dbc
->
i
->
txn
,
put_key
,
put_data
,
DB_YESOVERWRITE
);
// when doing the put, it should do an overwrite.
if
(
r
!=
0
)
goto
cleanup
;
r
=
toku_c_get
(
dbc
,
get_key
,
get_data
,
DB_GET_BOTH
);
goto
cleanup
;
...
...
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