Commit acb39de8 authored by marko's avatar marko

branches/zip: Make dtuple_big_rec_free() an inline function.

parent b4715b5d
...@@ -652,15 +652,3 @@ dtuple_convert_back_big_rec( ...@@ -652,15 +652,3 @@ dtuple_convert_back_big_rec(
mem_heap_free(vector->heap); mem_heap_free(vector->heap);
} }
/******************************************************************
Frees the memory in a big rec vector. */
void
dtuple_big_rec_free(
/*================*/
big_rec_t* vector) /* in, own: big rec vector; it is
freed in this function */
{
mem_heap_free(vector->heap);
}
...@@ -373,7 +373,7 @@ dtuple_convert_back_big_rec( ...@@ -373,7 +373,7 @@ dtuple_convert_back_big_rec(
freed in this function */ freed in this function */
/****************************************************************** /******************************************************************
Frees the memory in a big rec vector. */ Frees the memory in a big rec vector. */
UNIV_INLINE
void void
dtuple_big_rec_free( dtuple_big_rec_free(
/*================*/ /*================*/
......
...@@ -438,3 +438,15 @@ dtuple_contains_null( ...@@ -438,3 +438,15 @@ dtuple_contains_null(
return(FALSE); return(FALSE);
} }
/******************************************************************
Frees the memory in a big rec vector. */
UNIV_INLINE
void
dtuple_big_rec_free(
/*================*/
big_rec_t* vector) /* in, own: big rec vector; it is
freed in this function */
{
mem_heap_free(vector->heap);
}
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