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
c7c54ce6
Commit
c7c54ce6
authored
May 13, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fts_doc_ids_free(): Define inline
parent
7f721107
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
48 deletions
+12
-48
storage/innobase/fts/fts0fts.cc
storage/innobase/fts/fts0fts.cc
+0
-16
storage/innobase/include/fts0fts.h
storage/innobase/include/fts0fts.h
+6
-8
storage/xtradb/fts/fts0fts.cc
storage/xtradb/fts/fts0fts.cc
+0
-16
storage/xtradb/include/fts0fts.h
storage/xtradb/include/fts0fts.h
+6
-8
No files found.
storage/innobase/fts/fts0fts.cc
View file @
c7c54ce6
...
...
@@ -2889,22 +2889,6 @@ fts_doc_ids_create(void)
return
(
fts_doc_ids
);
}
/*********************************************************************//**
Free a fts_doc_ids_t. */
void
fts_doc_ids_free
(
/*=============*/
fts_doc_ids_t
*
fts_doc_ids
)
{
mem_heap_t
*
heap
=
static_cast
<
mem_heap_t
*>
(
fts_doc_ids
->
self_heap
->
arg
);
memset
(
fts_doc_ids
,
0
,
sizeof
(
*
fts_doc_ids
));
mem_heap_free
(
heap
);
}
/*********************************************************************//**
Do commit-phase steps necessary for the insertion of a new row. */
void
...
...
storage/innobase/include/fts0fts.h
View file @
c7c54ce6
/*****************************************************************************
Copyright (c) 2011, 2018, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2016, 201
7
, MariaDB Corporation.
Copyright (c) 2016, 201
9
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -429,13 +429,11 @@ fts_doc_ids_t*
fts_doc_ids_create
(
void
);
/*=====================*/
/******************************************************************//**
Free a fts_doc_ids_t. */
UNIV_INTERN
void
fts_doc_ids_free
(
/*=============*/
fts_doc_ids_t
*
doc_ids
);
/*!< in: doc_ids to free */
/** Free fts_doc_ids_t */
inline
void
fts_doc_ids_free
(
fts_doc_ids_t
*
doc_ids
)
{
mem_heap_free
(
static_cast
<
mem_heap_t
*>
(
doc_ids
->
self_heap
->
arg
));
}
/******************************************************************//**
Notify the FTS system about an operation on an FTS-indexed table. */
...
...
storage/xtradb/fts/fts0fts.cc
View file @
c7c54ce6
...
...
@@ -2889,22 +2889,6 @@ fts_doc_ids_create(void)
return
(
fts_doc_ids
);
}
/*********************************************************************//**
Free a fts_doc_ids_t. */
void
fts_doc_ids_free
(
/*=============*/
fts_doc_ids_t
*
fts_doc_ids
)
{
mem_heap_t
*
heap
=
static_cast
<
mem_heap_t
*>
(
fts_doc_ids
->
self_heap
->
arg
);
memset
(
fts_doc_ids
,
0
,
sizeof
(
*
fts_doc_ids
));
mem_heap_free
(
heap
);
}
/*********************************************************************//**
Do commit-phase steps necessary for the insertion of a new row. */
void
...
...
storage/xtradb/include/fts0fts.h
View file @
c7c54ce6
/*****************************************************************************
Copyright (c) 2011, 2018, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2016, 201
7
, MariaDB Corporation.
Copyright (c) 2016, 201
9
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -429,13 +429,11 @@ fts_doc_ids_t*
fts_doc_ids_create
(
void
);
/*=====================*/
/******************************************************************//**
Free a fts_doc_ids_t. */
UNIV_INTERN
void
fts_doc_ids_free
(
/*=============*/
fts_doc_ids_t
*
doc_ids
);
/*!< in: doc_ids to free */
/** Free fts_doc_ids_t */
inline
void
fts_doc_ids_free
(
fts_doc_ids_t
*
doc_ids
)
{
mem_heap_free
(
static_cast
<
mem_heap_t
*>
(
doc_ids
->
self_heap
->
arg
));
}
/******************************************************************//**
Notify the FTS system about an operation on an FTS-indexed table. */
...
...
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