summaryrefslogtreecommitdiff
path: root/lib/LuaSQL.cc
diff options
context:
space:
mode:
authorpixel <pixel>2007-05-30 14:02:28 +0000
committerpixel <pixel>2007-05-30 14:02:28 +0000
commit21b13d53e892e0c147659ede4e69e47a30cd5079 (patch)
treeb13420035342d199edd1b539cb0ac0983b3cd1be /lib/LuaSQL.cc
parent7e703f0b3c2d376a62b2d3c52aa4b8d3fcdbf5f0 (diff)
Re-enabling errno.
Diffstat (limited to 'lib/LuaSQL.cc')
-rw-r--r--lib/LuaSQL.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/LuaSQL.cc b/lib/LuaSQL.cc
index 5d93a52..5a524e5 100644
--- a/lib/LuaSQL.cc
+++ b/lib/LuaSQL.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: LuaSQL.cc,v 1.9 2007-05-30 11:57:10 pixel Exp $ */
+/* $Id: LuaSQL.cc,v 1.10 2007-05-30 14:02:28 pixel Exp $ */
#ifdef _WIN32
#include <winsock.h>
@@ -127,9 +127,9 @@ int sLua_SQLConnection::SQLConnection_proceed(Lua * L, int n, SQLConnection * c,
case SQLCONNECTION_INSERTID:
L->push((lua_Number) c->insertid());
break;
-// case SQLCONNECTION_ERRNO:
-// L->push((lua_Number) c->errno());
-// break;
+ case SQLCONNECTION_ERRNO:
+ L->push((lua_Number) c->errno());
+ break;
case SQLCONNECTION_ERROR:
L->push(c->error());
break;