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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0b7ccfa8
Commit
0b7ccfa8
authored
21 years ago
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make error message more detailed
parent
e51d0ced
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_handler.cc
sql/sql_handler.cc
+2
-2
No files found.
sql/sql_handler.cc
View file @
0b7ccfa8
...
@@ -232,8 +232,8 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
...
@@ -232,8 +232,8 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
{
{
if
(
err
!=
HA_ERR_KEY_NOT_FOUND
&&
err
!=
HA_ERR_END_OF_FILE
)
if
(
err
!=
HA_ERR_KEY_NOT_FOUND
&&
err
!=
HA_ERR_END_OF_FILE
)
{
{
sql_print_error
(
"mysql_ha_read: Got error %d when reading table"
,
sql_print_error
(
"mysql_ha_read: Got error %d when reading table
'%s'
"
,
err
);
err
,
tables
->
real_name
);
table
->
file
->
print_error
(
err
,
MYF
(
0
));
table
->
file
->
print_error
(
err
,
MYF
(
0
));
goto
err
;
goto
err
;
}
}
...
...
This diff is collapsed.
Click to expand 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