Skip to content
Snippets Groups Projects
Commit fff7b0d9 authored by Stephen R. van den Berg's avatar Stephen R. van den Berg
Browse files

pgsql: Do not throw errors inside the callback-backend, they get lost.

parent 41bd2c7b
No related branches found
No related tags found
No related merge requests found
...@@ -1346,7 +1346,6 @@ class sql_result { ...@@ -1346,7 +1346,6 @@ class sql_result {
break; break;
callout(callback, 0, this, datarow, @args); callout(callback, 0, this, datarow, @args);
} }
trydelayederror();
eoffound = 1; eoffound = 1;
callout(callback, 0, this, 0, @args); callout(callback, 0, this, 0, @args);
} }
...@@ -1376,7 +1375,6 @@ class sql_result { ...@@ -1376,7 +1375,6 @@ class sql_result {
break; break;
callout(callback, 0, this, datarow, @args); callout(callback, 0, this, datarow, @args);
} }
trydelayederror();
eoffound = 1; eoffound = 1;
if (sizeof(datarow)>1) if (sizeof(datarow)>1)
callout(callback, 0, this, datarow = datarow[..<1], @args); callout(callback, 0, this, datarow = datarow[..<1], @args);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment