summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
diff options
context:
space:
mode:
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