summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-07-02 16:44:53 +0300
committerunknown <sanja@askmonty.org>2013-07-02 16:44:53 +0300
commitb7b2a7ce81bf9d1bbcac9e0b3b0b19e271f2c276 (patch)
treed4a70b1087e35a4d2599bb8d2dda403a7cd54294 /sql/sql_error.cc
parent2fac162f391a4e3cac3f63767a01b7ec882592cb (diff)
downloadmariadb-git-b7b2a7ce81bf9d1bbcac9e0b3b0b19e271f2c276.tar.gz
Pull of revision 3313 (Pre-requisite patch for Bug#11763162 (55843 - Handled condition
appears as not handled) fixed.
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r--sql/sql_error.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc
index e1c4fa5ee40..a52b9bf5a14 100644
--- a/sql/sql_error.cc
+++ b/sql/sql_error.cc
@@ -452,6 +452,9 @@ Diagnostics_area::set_error_status(uint sql_errno)
@param message SQL-condition message
@param sqlstate SQL-condition state
@param error_condition SQL-condition object representing the error state
+
+ @note Note, that error_condition may be NULL. It happens if a) OOM error is
+ being reported; or b) when Warning_info is full.
*/
void