mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
use TAGMALLOC again
git-svn-id: file:///svn/tokudb@92 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
0344ea4ae8
commit
17fc9acfa8
1 changed files with 1 additions and 3 deletions
|
@ -304,10 +304,8 @@ int pmainternal_count_region (struct kv_pair *pairs[], int lo, int hi) {
|
|||
}
|
||||
|
||||
int pma_create (PMA *pma, int (*compare_fun)(DB*,const DBT*,const DBT*)) {
|
||||
struct pma *result;
|
||||
int error;
|
||||
|
||||
result = toku_malloc(sizeof (struct pma));
|
||||
TAGMALLOC(PMA, result);
|
||||
if (result==0) return -1;
|
||||
result->n_pairs_present = 0;
|
||||
result->pairs = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue