diff options
author | drh <drh@noemail.net> | 2017-08-17 18:23:46 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-08-17 18:23:46 +0000 |
commit | efaffb64fdbc2e00701ac73d3e5481e8f6d04724 (patch) | |
tree | fab727ff2948fc7ef515944c24a9d9575b592986 /src/build.c | |
parent | 6362bbe68d26560660e017c0ed0c420f99fdb052 (diff) | |
download | sqlite-efaffb64fdbc2e00701ac73d3e5481e8f6d04724.tar.gz sqlite-efaffb64fdbc2e00701ac73d3e5481e8f6d04724.zip |
In sqlite3ViewGetColumnNames(), return the number of errors, not an error code.
FossilOrigin-Name: f13682ea2350ba366026a4a58e59591af378c496b92da60803c4c642c3bfc8de
Diffstat (limited to 'src/build.c')
-rw-r--r-- | src/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c index d64eac009..55407e77d 100644 --- a/src/build.c +++ b/src/build.c @@ -2168,7 +2168,7 @@ int sqlite3ViewGetColumnNames(Parse *pParse, Table *pTable){ rc = sqlite3VtabCallConnect(pParse, pTable); db->nSchemaLock--; if( rc ){ - return SQLITE_ERROR; + return 1; } if( IsVirtual(pTable) ) return 0; #endif |