From effe0f97e4b869dd2b333fe7f213d55f3363cb82 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 13 Nov 2014 13:54:29 +0200 Subject: Bulk update implementation --- odb/mssql/error.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'odb/mssql/error.cxx') diff --git a/odb/mssql/error.cxx b/odb/mssql/error.cxx index acc48dc..23d5be9 100644 --- a/odb/mssql/error.cxx +++ b/odb/mssql/error.cxx @@ -191,7 +191,7 @@ namespace odb break; else if (SQL_SUCCEEDED (r) && n != SQL_NO_ROW_NUMBER && - n == SQL_ROW_NUMBER_UNKNOWN && + n != SQL_ROW_NUMBER_UNKNOWN && n != static_cast (pos + 1)) // 1-based continue; } @@ -237,6 +237,8 @@ namespace odb 0, 0); + cerr << i << " "; + // check error if (n == SQL_NO_ROW_NUMBER) cerr << "not associated with any row" << endl; -- cgit v1.1