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
c270064c
Commit
c270064c
authored
Nov 15, 2000
by
tim@work.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_berkeley.cc fixed misleading comment
sql_parse.cc typo when checking for autocommit
parent
49a245f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+3
-2
sql/sql_parse.cc
sql/sql_parse.cc
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
c270064c
...
@@ -6,3 +6,4 @@ sasha@work.mysql.com
...
@@ -6,3 +6,4 @@ sasha@work.mysql.com
serg@serg.mysql.com
serg@serg.mysql.com
yfaktoro@nslinuxw2.bedford.progress.com
yfaktoro@nslinuxw2.bedford.progress.com
mwagner@evoq.home.mwagner.org
mwagner@evoq.home.mwagner.org
tim@work.mysql.com
sql/ha_berkeley.cc
View file @
c270064c
...
@@ -1374,8 +1374,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type)
...
@@ -1374,8 +1374,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type)
&&
!
(
thd
->
options
&
OPTION_BEGIN
))
&&
!
(
thd
->
options
&
OPTION_BEGIN
))
{
{
/*
/*
F_UNLOCK is done without a transaction commit / rollback. This
F_UNLOCK is done without a transaction commit / rollback.
means that something went wrong.
This happens if the thread didn't update any rows or if
something went wrong during an update.
We can in this case silenty abort the transaction.
We can in this case silenty abort the transaction.
*/
*/
DBUG_PRINT
(
"trans"
,(
"aborting transaction"
));
DBUG_PRINT
(
"trans"
,(
"aborting transaction"
));
...
...
sql/sql_parse.cc
View file @
c270064c
...
@@ -1539,7 +1539,7 @@ mysql_execute_command(void)
...
@@ -1539,7 +1539,7 @@ mysql_execute_command(void)
/* Check if auto_commit mode changed */
/* Check if auto_commit mode changed */
if
((
org_options
^
lex
->
options
)
&
OPTION_AUTO_COMMIT
)
if
((
org_options
^
lex
->
options
)
&
OPTION_AUTO_COMMIT
)
{
{
if
(
!
org_options
&
OPTION_AUTO_COMMIT
)
if
(
!
(
org_options
&
OPTION_AUTO_COMMIT
)
)
{
{
/* We changed to auto_commit mode */
/* We changed to auto_commit mode */
thd
->
options
&=
~
OPTION_BEGIN
;
thd
->
options
&=
~
OPTION_BEGIN
;
...
...
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