Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e4d8b192
Commit
e4d8b192
authored
Mar 28, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Make dtuple_big_rec_free() an inline function.
parent
1cd52812
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
data/data0data.c
data/data0data.c
+0
-12
include/data0data.h
include/data0data.h
+1
-1
include/data0data.ic
include/data0data.ic
+12
-0
No files found.
data/data0data.c
View file @
e4d8b192
...
@@ -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
);
}
include/data0data.h
View file @
e4d8b192
...
@@ -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
(
/*================*/
/*================*/
...
...
include/data0data.ic
View file @
e4d8b192
...
@@ -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);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment