SSPCPP-656 - NameID insert logic appears wrong for ODBC Session store
[shibboleth/cpp-sp.git] / odbc-store / odbc-store.cpp
index 9fea872..de0cd31 100644 (file)
@@ -518,6 +518,7 @@ bool ODBCStorageService::createRow(const char* table, const char* context, const
             // Try and delete any expired record still hanging around until the final attempt.
             if (attempts > 0) {
                 reap(table, context);
+                logres.first = true;    // force it to treat as a retryable error
                 continue;
             }
             return false;