Changeset: 58ab1731b992 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=58ab1731b992
Modified Files:
        sql/storage/store.c
Branch: HTM
Log Message:

Return the correct result in sql_trans_persistcommit().
This fixes a an issue that can break, well, all transactions.


diffs (12 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -3365,7 +3365,7 @@ sql_trans_persistcommit(sql_trans *tr)
                   of failure, the log will be replayed. */
                result = rollforward_trans(tr, R_APPLY);
        }
-       return (result==LOG_OK)?SQL_OK:SQL_ERR;
+    return result;
 }
 
 static void
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to