summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2009-04-21 12:24:51 +0200
committerunknown <knielsen@knielsen-hq.org>2009-04-21 12:24:51 +0200
commit928c506ed93fc8f81efea8d2e8771176c8313730 (patch)
treec14db326e407aa97a5f4c586039493c4b04a4029 /libmysql
parent83290da1e6b553d69711d7eb4e302aaeb608f362 (diff)
downloadmariadb-git-928c506ed93fc8f81efea8d2e8771176c8313730.tar.gz
Fix two missing DBUG_RETURN.
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index c01f34b422c..67636b60502 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -4634,7 +4634,7 @@ int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *my_bind,
if ((int) stmt->state < (int) MYSQL_STMT_FETCH_DONE)
{
set_stmt_error(stmt, CR_NO_DATA, unknown_sqlstate, NULL);
- return 1;
+ DBUG_RETURN(1);
}
if (column >= stmt->field_count)
{