In sqlite3ViewGetColumnNames(), return the number of errors, not an error code.

FossilOrigin-Name: f13682ea2350ba366026a4a58e59591af378c496b92da60803c4c642c3bfc8de
This commit is contained in:
drh
2017-08-17 18:23:46 +00:00
parent 6362bbe68d
commit efaffb64fd
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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