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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ed880ad2
Commit
ed880ad2
authored
Aug 01, 2007
by
tsmith@ramayana.hindu.god
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some redundant or unused code from InnoDB (feedback from
Marko after applying latest snapshot).
parent
fa9c26f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+0
-2
storage/innobase/include/trx0trx.h
storage/innobase/include/trx0trx.h
+0
-8
No files found.
storage/innobase/handler/ha_innodb.cc
View file @
ed880ad2
...
@@ -947,8 +947,6 @@ check_trx_exists(
...
@@ -947,8 +947,6 @@ check_trx_exists(
/* Update the info whether we should skip XA steps that eat
/* Update the info whether we should skip XA steps that eat
CPU time */
CPU time */
trx
->
support_xa
=
THDVAR
(
thd
,
support_xa
);
trx
->
support_xa
=
THDVAR
(
thd
,
support_xa
);
thd_to_trx
(
thd
)
=
trx
;
}
else
{
}
else
{
if
(
trx
->
magic_n
!=
TRX_MAGIC_N
)
{
if
(
trx
->
magic_n
!=
TRX_MAGIC_N
)
{
mem_analyze_corruption
(
trx
);
mem_analyze_corruption
(
trx
);
...
...
storage/innobase/include/trx0trx.h
View file @
ed880ad2
...
@@ -512,14 +512,6 @@ struct trx_struct{
...
@@ -512,14 +512,6 @@ struct trx_struct{
ulint
mysql_process_no
;
/* since in Linux, 'top' reports
ulint
mysql_process_no
;
/* since in Linux, 'top' reports
process id's and not thread id's, we
process id's and not thread id's, we
store the process number too */
store the process number too */
ibool
allow_duplicates
;
/* normally FALSE, but if the user
wants to update duplicate rows,
(in table inserts, for example) we
set this TRUE */
ibool
replace_duplicates
;
/* normally FALSE, but if the user
wants to replace duplicate rows,
(in table inserts, for example) we
set this TRUE */
/*------------------------------*/
/*------------------------------*/
ulint
n_mysql_tables_in_use
;
/* number of Innobase tables
ulint
n_mysql_tables_in_use
;
/* number of Innobase tables
used in the processing of the current
used in the processing of the current
...
...
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