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
0952c3ea
Commit
0952c3ea
authored
Aug 08, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
void handler::print_error(): cleanup
parent
8e5b5d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
sql/handler.cc
sql/handler.cc
+4
-6
No files found.
sql/handler.cc
View file @
0952c3ea
...
...
@@ -1660,7 +1660,7 @@ void handler::print_error(int error, myf errflag)
}
case
HA_ERR_NULL_IN_SPATIAL
:
textno
=
ER_UNKNOWN_ERROR
;
DBUG_VOID_RETURN
;
break
;
case
HA_ERR_FOUND_DUPP_UNIQUE
:
textno
=
ER_DUP_UNIQUE
;
break
;
...
...
@@ -1683,8 +1683,8 @@ void handler::print_error(int error, myf errflag)
textno
=
ER_CRASHED_ON_REPAIR
;
break
;
case
HA_ERR_OUT_OF_MEM
:
my_message
(
ER_OUT_OF_RESOURCES
,
ER
(
ER_OUT_OF_RESOURCES
),
errflag
)
;
DBUG_VOID_RETURN
;
textno
=
ER_OUT_OF_RESOURCES
;
break
;
case
HA_ERR_WRONG_COMMAND
:
textno
=
ER_ILLEGAL_HA
;
break
;
...
...
@@ -1695,10 +1695,8 @@ void handler::print_error(int error, myf errflag)
textno
=
ER_UNSUPPORTED_EXTENSION
;
break
;
case
HA_ERR_RECORD_FILE_FULL
:
textno
=
ER_RECORD_FILE_FULL
;
break
;
case
HA_ERR_INDEX_FILE_FULL
:
textno
=
errno
;
textno
=
ER_RECORD_FILE_FULL
;
break
;
case
HA_ERR_LOCK_WAIT_TIMEOUT
:
textno
=
ER_LOCK_WAIT_TIMEOUT
;
...
...
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