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
3bae6a2b
Commit
3bae6a2b
authored
Apr 11, 2018
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove not needed calls to print_error
parent
ddc57643
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
16 deletions
+5
-16
sql/rpl_rli.cc
sql/rpl_rli.cc
+2
-4
sql/sql_acl.cc
sql/sql_acl.cc
+2
-8
sql/sql_partition.cc
sql/sql_partition.cc
+1
-4
No files found.
sql/rpl_rli.cc
View file @
3bae6a2b
...
...
@@ -1537,11 +1537,9 @@ scan_one_gtid_slave_pos_table(THD *thd, HASH *hash, DYNAMIC_ARRAY *array,
goto
end
;
bitmap_set_all
(
table
->
read_set
);
if
((
err
=
table
->
file
->
ha_rnd_init_with_error
(
1
)))
{
table
->
file
->
print_error
(
err
,
MYF
(
0
));
if
(
unlikely
(
err
=
table
->
file
->
ha_rnd_init_with_error
(
1
)))
goto
end
;
}
table_scanned
=
true
;
for
(;;)
{
...
...
sql/sql_acl.cc
View file @
3bae6a2b
...
...
@@ -9286,11 +9286,8 @@ static int handle_roles_mappings_table(TABLE *table, bool drop,
DBUG_PRINT
(
"info"
,
(
"Rewriting entry in roles_mapping table: %s@%s"
,
user_from
->
user
.
str
,
user_from
->
host
.
str
));
table
->
use_all_columns
();
if
((
error
=
table
->
file
->
ha_rnd_init
(
1
)))
{
table
->
file
->
print_error
(
error
,
MYF
(
0
));
if
(
unlikely
(
error
=
table
->
file
->
ha_rnd_init_with_error
(
1
)))
result
=
-
1
;
}
else
{
while
((
error
=
table
->
file
->
ha_rnd_next
(
table
->
record
[
0
]))
!=
...
...
@@ -9451,11 +9448,8 @@ static int handle_grant_table(THD *thd, const Grant_table_base& grant_table,
And their host- and user fields are not consecutive.
Thus, we need to do a table scan to find all matching records.
*/
if
((
error
=
table
->
file
->
ha_rnd_init
(
1
)))
{
table
->
file
->
print_error
(
error
,
MYF
(
0
));
if
(
unlikely
(
error
=
table
->
file
->
ha_rnd_init_with_error
(
1
)))
result
=
-
1
;
}
else
{
#ifdef EXTRA_DEBUG
...
...
sql/sql_partition.cc
View file @
3bae6a2b
...
...
@@ -4107,11 +4107,8 @@ bool verify_data_with_partition(TABLE *table, TABLE *part_table,
old_rec
=
part_table
->
record
[
0
];
part_table
->
record
[
0
]
=
table
->
record
[
0
];
part_info
->
table
->
move_fields
(
part_info
->
full_part_field_array
,
table
->
record
[
0
],
old_rec
);
if
((
error
=
file
->
ha_rnd_init
(
TRUE
)))
{
file
->
print_error
(
error
,
MYF
(
0
));
if
(
unlikely
(
error
=
file
->
ha_rnd_init_with_error
(
TRUE
)))
goto
err
;
}
do
{
...
...
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