Commit e7d13a1a authored by Yoni Fogel's avatar Yoni Fogel

Added a comment to c_put

git-svn-id: file:///svn/tokudb@1180 c7de825b-a66e-492c-adef-691d508d4ae1
parent 89e92ad3
...@@ -1003,6 +1003,7 @@ static int toku_c_put(DBC *dbc, DBT *key, DBT *data, u_int32_t flags) { ...@@ -1003,6 +1003,7 @@ static int toku_c_put(DBC *dbc, DBT *key, DBT *data, u_int32_t flags) {
if (r!=DB_NOTFOUND) return r; if (r!=DB_NOTFOUND) return r;
goto finish; goto finish;
} }
//Flags must NOT be 0.
else return EINVAL; else return EINVAL;
finish: finish:
//Insert new data with the key we got from c_get. //Insert new data with the key we got from c_get.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment