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
c36fa576
Commit
c36fa576
authored
Mar 07, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional safety
parent
112471e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/protocol.cc
sql/protocol.cc
+3
-2
No files found.
sql/protocol.cc
View file @
c36fa576
...
...
@@ -252,8 +252,9 @@ net_printf(THD *thd, uint errcode, ...)
strmake
(
net
->
last_error
,
text_pos
,
length
);
strmake
(
net
->
sqlstate
,
mysql_errno_to_sqlstate
(
errcode
),
SQLSTATE_LENGTH
);
#endif
push_warning
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_ERROR
,
errcode
,
text_pos
?
text_pos
:
ER
(
errcode
));
if
(
!
thd
->
killed
)
push_warning
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_ERROR
,
errcode
,
text_pos
?
text_pos
:
ER
(
errcode
));
thd
->
is_fatal_error
=
0
;
// Error message is given
DBUG_VOID_RETURN
;
}
...
...
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