aboutsummaryrefslogtreecommitdiff
path: root/src/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/table.c')
-rw-r--r--src/table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table.c b/src/table.c
index e35ca345c..d4ef2c8a7 100644
--- a/src/table.c
+++ b/src/table.c
@@ -154,6 +154,7 @@ int sqlite3_get_table(
}
sqliteFree(res.zErrMsg);
}
+ db->errCode = res.rc;
return res.rc;
}
sqliteFree(res.zErrMsg);