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
78f014f0
Commit
78f014f0
authored
Feb 27, 2006
by
SergeyV@selena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Postfix for #15943. Explicit call of thd->clear_error() is added.
parent
da94b166
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
sql/sql_show.cc
sql/sql_show.cc
+2
-6
No files found.
sql/sql_show.cc
View file @
78f014f0
...
...
@@ -366,18 +366,14 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
if
(
!
table_list
->
view
||
thd
->
net
.
last_errno
!=
ER_VIEW_INVALID
)
DBUG_RETURN
(
TRUE
);
/*
Need this for proper processing of multiple sql statements
sent as single command
*/
thd
->
net
.
report_error
=
0
;
/*
Clear all messages with 'error' level status and
issue a warning with 'warning' level status in
case of invalid view and last error is ER_VIEW_INVALID
*/
mysql_reset_errors
(
thd
,
true
);
thd
->
clear_error
();
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
ER_VIEW_INVALID
,
ER
(
ER_VIEW_INVALID
),
...
...
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