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
b6e20e35
Commit
b6e20e35
authored
Feb 21, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - fix problems introduced/discovered by XA
parent
9f1f8d32
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+12
-2
sql/handler.cc
sql/handler.cc
+2
-1
No files found.
sql/ha_ndbcluster.cc
View file @
b6e20e35
...
...
@@ -3400,7 +3400,12 @@ int ndbcluster_commit(THD *thd, bool all)
ndbcluster_print_error
(
res
,
error_op
);
}
ndb
->
closeTransaction
(
trans
);
thd_ndb
->
all
=
thd_ndb
->
stmt
=
NULL
;
if
(
all
)
thd_ndb
->
all
=
NULL
;
else
thd_ndb
->
stmt
=
NULL
;
DBUG_RETURN
(
res
);
}
...
...
@@ -3432,7 +3437,12 @@ int ndbcluster_rollback(THD *thd, bool all)
ndbcluster_print_error
(
res
,
error_op
);
}
ndb
->
closeTransaction
(
trans
);
thd_ndb
->
all
=
thd_ndb
->
stmt
=
NULL
;
if
(
all
)
thd_ndb
->
all
=
NULL
;
else
thd_ndb
->
stmt
=
NULL
;
DBUG_RETURN
(
res
);
}
...
...
sql/handler.cc
View file @
b6e20e35
...
...
@@ -860,6 +860,7 @@ bool mysql_xa_recover(THD *thd)
int
ha_release_temporary_latches
(
THD
*
thd
)
{
#ifdef HAVE_INNOBASE_DB
if
(
opt_innodb
)
innobase_release_temporary_latches
(
thd
);
#endif
return
0
;
...
...
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