SourceForge has been redesigned. Learn more.
Close

Diff of /SQLite.Interop/interop.c [e95225] .. [a5a9f1]  Maximize  Restore

Switch to side-by-side view

--- a/SQLite.Interop/interop.c
+++ b/SQLite.Interop/interop.c
@@ -441,9 +441,10 @@
     {
       *prowid = pC->lastRowid;
     }
-    else if(pC->pseudoTable)
-    {
-      *prowid = pC->iKey;
+    else if(pC->pseudoTableReg > 0)
+    {
+      ret = SQLITE_ERROR;
+      break;
     }
     else if(pC->nullRow || pC->pCursor==0)
     {