summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-11-12 15:17:18 +0100
committerSergei Golubchik <serg@mariadb.org>2016-12-12 20:27:28 +0100
commit590d473760433afde9f52cae43850898970805a8 (patch)
tree96d997466ddf335fe82f36d452a0e6f50292d282 /mysys
parent605cf619ba6dd025d0f6b100f40f0cd152ee3e3c (diff)
downloadmariadb-git-590d473760433afde9f52cae43850898970805a8.tar.gz
cleanup: my_printf_error(ER_xxx, ER(ER_xxx), ... )
only use my_print_error when the error message is not ER(error_code)
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_error.c b/mysys/my_error.c
index c0698b19a20..f9614e07c6a 100644
--- a/mysys/my_error.c
+++ b/mysys/my_error.c
@@ -131,7 +131,7 @@ void my_error(uint nr, myf MyFlags, ...)
Print an error message.
@note
- Goes through the (sole) function registered in error_handler_hook
+ Just like my_error, but for cases when the error message is not ER(error)
@param error error number
@param format format string