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
77251d22
Commit
77251d22
authored
Apr 11, 2007
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added warn_root as argument for push_back()
parent
3db7cdd5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_error.cc
sql/sql_error.cc
+1
-1
No files found.
sql/sql_error.cc
View file @
77251d22
...
...
@@ -149,7 +149,7 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
{
/* We have to use warn_root, as mem_root is freed after each query */
if
((
err
=
new
(
&
thd
->
warn_root
)
MYSQL_ERROR
(
thd
,
code
,
level
,
msg
)))
thd
->
warn_list
.
push_back
(
err
);
thd
->
warn_list
.
push_back
(
err
,
&
thd
->
warn_root
);
}
thd
->
warn_count
[(
uint
)
level
]
++
;
thd
->
total_warn_count
++
;
...
...
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