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
0c6ff122
Commit
0c6ff122
authored
Nov 28, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow-up fix to MDEV-14477: Use proper std::map allocator
parent
12c977ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
storage/innobase/include/trx0trx.h
storage/innobase/include/trx0trx.h
+6
-2
No files found.
storage/innobase/include/trx0trx.h
View file @
0c6ff122
...
...
@@ -779,15 +779,19 @@ struct trx_lock_t {
bool
start_stmt
;
};
/** The first modification time of a table in a transaction */
typedef
undo_no_t
trx_mod_table_time_t
;
/** Collection of persistent tables and their first modification
in a transaction.
We store pointers to the table objects in memory because
we know that a table object will not be destroyed while a transaction
that modified it is running. */
typedef
std
::
map
<
dict_table_t
*
,
undo_no
_t
,
dict_table_t
*
,
trx_mod_table_time
_t
,
std
::
less
<
dict_table_t
*>
,
ut_allocator
<
dict_table_t
*>
>
trx_mod_tables_t
;
ut_allocator
<
std
::
pair
<
dict_table_t
*
,
trx_mod_table_time_t
>
>
>
trx_mod_tables_t
;
/** The transaction handle
...
...
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