Fixed missing return.

Wed, 26 Nov 2008 10:46:42 +0000

author
nrich@ii.net
date
Wed, 26 Nov 2008 10:46:42 +0000
changeset 5
e66b88e013ca
parent 4
c50b0e6f25d6
child 6
22046b996150

Fixed missing return.

dbd/sqlite3/statement.c file | annotate | diff | comparison | revisions
--- a/dbd/sqlite3/statement.c	Wed Nov 26 10:43:45 2008 +0000
+++ b/dbd/sqlite3/statement.c	Wed Nov 26 10:46:42 2008 +0000
@@ -119,6 +119,7 @@
     if (!step(statement)) {
 	lua_pushboolean(L, 0);
 	lua_pushfstring(L, DBI_ERR_EXECUTE_FAILED, sqlite3_errmsg(statement->sqlite));
+	return 2;
     }
 
     lua_pushboolean(L, 1);

mercurial