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
b5764141
Commit
b5764141
authored
Mar 25, 2015
by
Rik Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DB-829 ignore read uncommitted errors when querying tokudb_fractal_tree_info
parent
51b68e43
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
mysql-test/suite/tokudb.bugs/r/tokudb718.result
mysql-test/suite/tokudb.bugs/r/tokudb718.result
+3
-2
mysql-test/suite/tokudb.bugs/t/tokudb718.test
mysql-test/suite/tokudb.bugs/t/tokudb718.test
+1
-2
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+2
-0
No files found.
mysql-test/suite/tokudb.bugs/r/tokudb718.result
View file @
b5764141
...
...
@@ -3,7 +3,8 @@ drop table if exists t;
create table t (id int primary key);
begin;
insert into t values (1),(2);
select * from information_schema.tokudb_fractal_tree_info;
ERROR HY000: Got error -30994 from storage engine
select dictionary_name from information_schema.tokudb_fractal_tree_info;
dictionary_name
./test/t-status
commit;
drop table t;
mysql-test/suite/tokudb.bugs/t/tokudb718.test
View file @
b5764141
...
...
@@ -7,7 +7,6 @@ enable_warnings;
create
table
t
(
id
int
primary
key
);
begin
;
insert
into
t
values
(
1
),(
2
);
--
error
1030
select
*
from
information_schema
.
tokudb_fractal_tree_info
;
select
dictionary_name
from
information_schema
.
tokudb_fractal_tree_info
;
commit
;
drop
table
t
;
storage/tokudb/hatoku_hton.cc
View file @
b5764141
...
...
@@ -1711,6 +1711,8 @@ static int tokudb_fractal_tree_info(TABLE *table, THD *thd) {
error
=
tmp_cursor
->
c_get
(
tmp_cursor
,
&
curr_key
,
&
curr_val
,
DB_NEXT
);
if
(
!
error
)
{
error
=
tokudb_report_fractal_tree_info_for_db
(
&
curr_key
,
&
curr_val
,
table
,
thd
);
if
(
error
)
error
=
0
;
// ignore read uncommitted errors
}
if
(
!
error
&&
thd_killed
(
thd
))
error
=
ER_QUERY_INTERRUPTED
;
...
...
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