summaryrefslogtreecommitdiff
path: root/sql/protocol_cursor.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-10-20 04:04:37 +0300
committerbell@sanja.is.com.ua <>2004-10-20 04:04:37 +0300
commit4714a6e7448672b93313deddfa67ad83f2084d01 (patch)
tree55e6ec4a0a572c0be2ba69da166ea204bf96502e /sql/protocol_cursor.cc
parent09e9651accec3339555634cf4699cb08f1945510 (diff)
downloadmariadb-git-4714a6e7448672b93313deddfa67ad83f2084d01.tar.gz
errors without code removed
net_printf/send_error calls replaced by my_error family functions -1/1 (sent/unsent) error reporting removed (WL#2133)
Diffstat (limited to 'sql/protocol_cursor.cc')
-rw-r--r--sql/protocol_cursor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol_cursor.cc b/sql/protocol_cursor.cc
index 8904aba7b88..0954bb5466f 100644
--- a/sql/protocol_cursor.cc
+++ b/sql/protocol_cursor.cc
@@ -85,7 +85,7 @@ bool Protocol_cursor::send_fields(List<Item> *list, int flags)
DBUG_RETURN(FALSE);
err:
- send_error(thd, ER_OUT_OF_RESOURCES); /* purecov: inspected */
+ my_error(ER_OUT_OF_RESOURCES, MYF(0)); /* purecov: inspected */
DBUG_RETURN(TRUE); /* purecov: inspected */
}