Commit 07be7879 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1428

remove bad flag for cursor->c_del

git-svn-id: file:///svn/mysql/tokudb-engine/src@9221 c7de825b-a66e-492c-adef-691d508d4ae1
parent c7becea6
...@@ -2298,7 +2298,7 @@ int ha_tokudb::remove_key(DB_TXN * trans, uint keynr, const uchar * record, DBT ...@@ -2298,7 +2298,7 @@ int ha_tokudb::remove_key(DB_TXN * trans, uint keynr, const uchar * record, DBT
DBUG_DUMP("prim_key", (uchar *) prim_key->data, prim_key->size); DBUG_DUMP("prim_key", (uchar *) prim_key->data, prim_key->size);
if (keynr == active_index && cursor) { if (keynr == active_index && cursor) {
error = cursor->c_del(cursor, DB_DELETE_ANY); error = cursor->c_del(cursor, 0);
} }
else if (keynr == primary_key) { // Unique key else if (keynr == primary_key) { // Unique key
DBUG_PRINT("Unique key", ("index: %d", keynr)); DBUG_PRINT("Unique key", ("index: %d", keynr));
......
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