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
1af17f8d
Commit
1af17f8d
authored
Feb 23, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_innobase.cc Fix autocommit in ha_innobase.cc
parent
2e182804
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/ha_innobase.cc
sql/ha_innobase.cc
+6
-0
No files found.
sql/ha_innobase.cc
View file @
1af17f8d
...
@@ -2031,6 +2031,12 @@ ha_innobase::external_lock(
...
@@ -2031,6 +2031,12 @@ ha_innobase::external_lock(
trx
->
n_mysql_tables_in_use
++
;
trx
->
n_mysql_tables_in_use
++
;
}
else
{
}
else
{
trx
->
n_mysql_tables_in_use
--
;
trx
->
n_mysql_tables_in_use
--
;
if
(
trx
->
n_mysql_tables_in_use
==
0
&&
!
(
thd
->
options
&
(
OPTION_NOT_AUTO_COMMIT
|
OPTION_BEGIN
)))
{
innobase_commit
(
thd
,
trx
);
}
}
}
DBUG_RETURN
(
error
);
DBUG_RETURN
(
error
);
...
...
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