From: Scott Cantor Date: Thu, 16 Jul 2015 17:12:20 +0000 (+0000) Subject: SSPCPP-656 - NameID insert logic appears wrong for ODBC Session store X-Git-Tag: 2.5.5~5 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=85dbbbe22d425c1fe0c3e4eaa4ad226af734de74 SSPCPP-656 - NameID insert logic appears wrong for ODBC Session store https://issues.shibboleth.net/jira/browse/SSPCPP-656 Make sure the reattempt to insert happens. --- diff --git a/odbc-store/odbc-store.cpp b/odbc-store/odbc-store.cpp index 9fea872..de0cd31 100644 --- a/odbc-store/odbc-store.cpp +++ b/odbc-store/odbc-store.cpp @@ -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;