Commit 07a00536 authored by claes's avatar claes

affected rows is zero if nothing is changed

parent 71a7dfa0
/*
* Proview $Id: wb_dbms.h,v 1.3 2008-02-05 14:53:12 claes Exp $
* Proview $Id: wb_dbms.h,v 1.4 2008-02-22 09:27:29 claes Exp $
* Copyright (C) 2007 SSAB Oxelösund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -865,7 +865,7 @@ public:
rc = mysql_stmt_execute(m_stmt);
if (rc) error(rc, method, "mysql_stmt_execute");
if (mysql_stmt_affected_rows(m_stmt) == 1)
if (mysql_stmt_affected_rows(m_stmt) <= 1)
return 0;
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment