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
c81bf339
Commit
c81bf339
authored
Mar 27, 2004
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some cleanup of last patch for BUG #2342
parent
1eff4744
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
mysql-test/t/bdb-crash.test
mysql-test/t/bdb-crash.test
+1
-1
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+9
-0
No files found.
mysql-test/t/bdb-crash.test
View file @
c81bf339
...
...
@@ -45,4 +45,4 @@ create table t1 (a int) engine=bdb;
set
autocommit
=
0
;
insert
into
t1
values
(
1
);
analyze
table
t1
;
drop
table
t1
;
\ No newline at end of file
drop
table
t1
;
sql/ha_berkeley.cc
View file @
c81bf339
...
...
@@ -2101,6 +2101,15 @@ int ha_berkeley::analyze(THD* thd, HA_CHECK_OPT* check_opt)
uint
i
;
DB_TXN_STAT
*
txn_stat_ptr
=
0
;
/*
Original bdb documentation says:
"The DB->stat method cannot be transaction-protected.
For this reason, it should be called in a thread of
control that has no open cursors or active transactions."
So, let's check if there are any changes have been done since
the beginning of the transaction..
*/
/*
If it's a merge conflict here (4.0->4.1), please ignore it!
...
...
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