Commit 887e51dc authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1022

forgot to close cursor

git-svn-id: file:///svn/mysql/tokudb-engine/src@5108 c7de825b-a66e-492c-adef-691d508d4ae1
parent e460e8c9
......@@ -1267,6 +1267,10 @@ int ha_tokudb::estimate_num_rows(DB* db, u_int64_t* num_rows) {
transaction->commit(transaction, 0);
transaction = NULL;
}
if (crsr != NULL) {
crsr->c_close(crsr);
crsr = NULL;
}
return error;
}
......
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