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
0bd7011e
Commit
0bd7011e
authored
Aug 08, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
void handler::print_error(): cleanup
parent
a851142b
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 @
0bd7011e
...
@@ -1660,7 +1660,7 @@ void handler::print_error(int error, myf errflag)
...
@@ -1660,7 +1660,7 @@ void handler::print_error(int error, myf errflag)
}
}
case
HA_ERR_NULL_IN_SPATIAL
:
case
HA_ERR_NULL_IN_SPATIAL
:
textno
=
ER_UNKNOWN_ERROR
;
textno
=
ER_UNKNOWN_ERROR
;
DBUG_VOID_RETURN
;
break
;
case
HA_ERR_FOUND_DUPP_UNIQUE
:
case
HA_ERR_FOUND_DUPP_UNIQUE
:
textno
=
ER_DUP_UNIQUE
;
textno
=
ER_DUP_UNIQUE
;
break
;
break
;
...
@@ -1683,8 +1683,8 @@ void handler::print_error(int error, myf errflag)
...
@@ -1683,8 +1683,8 @@ void handler::print_error(int error, myf errflag)
textno
=
ER_CRASHED_ON_REPAIR
;
textno
=
ER_CRASHED_ON_REPAIR
;
break
;
break
;
case
HA_ERR_OUT_OF_MEM
:
case
HA_ERR_OUT_OF_MEM
:
my_message
(
ER_OUT_OF_RESOURCES
,
ER
(
ER_OUT_OF_RESOURCES
),
errflag
)
;
textno
=
ER_OUT_OF_RESOURCES
;
DBUG_VOID_RETURN
;
break
;
case
HA_ERR_WRONG_COMMAND
:
case
HA_ERR_WRONG_COMMAND
:
textno
=
ER_ILLEGAL_HA
;
textno
=
ER_ILLEGAL_HA
;
break
;
break
;
...
@@ -1695,10 +1695,8 @@ void handler::print_error(int error, myf errflag)
...
@@ -1695,10 +1695,8 @@ void handler::print_error(int error, myf errflag)
textno
=
ER_UNSUPPORTED_EXTENSION
;
textno
=
ER_UNSUPPORTED_EXTENSION
;
break
;
break
;
case
HA_ERR_RECORD_FILE_FULL
:
case
HA_ERR_RECORD_FILE_FULL
:
textno
=
ER_RECORD_FILE_FULL
;
break
;
case
HA_ERR_INDEX_FILE_FULL
:
case
HA_ERR_INDEX_FILE_FULL
:
textno
=
errno
;
textno
=
ER_RECORD_FILE_FULL
;
break
;
break
;
case
HA_ERR_LOCK_WAIT_TIMEOUT
:
case
HA_ERR_LOCK_WAIT_TIMEOUT
:
textno
=
ER_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