/ Check-in [f13682ea]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:In sqlite3ViewGetColumnNames(), return the number of errors, not an error code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f13682ea2350ba366026a4a58e59591af378c496b92da60803c4c642c3bfc8de
User & Date: drh 2017-08-17 18:23:46
Context
2017-08-17
18:54
Size optimization in the authorizer error message generation logic. check-in: 0367a4d5 user: drh tags: trunk
18:23
In sqlite3ViewGetColumnNames(), return the number of errors, not an error code. check-in: f13682ea user: drh tags: trunk
18:17
The RTREE extension should return SQLITE_CORRUPT_VTAB, not just SQLITE_CORRUPT when it encounters incorrectly formatted shadow tables. check-in: 0712f057 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/build.c.

  2164   2164     assert( pTable );
  2165   2165   
  2166   2166   #ifndef SQLITE_OMIT_VIRTUALTABLE
  2167   2167     db->nSchemaLock++;
  2168   2168     rc = sqlite3VtabCallConnect(pParse, pTable);
  2169   2169     db->nSchemaLock--;
  2170   2170     if( rc ){
  2171         -    return SQLITE_ERROR;
         2171  +    return 1;
  2172   2172     }
  2173   2173     if( IsVirtual(pTable) ) return 0;
  2174   2174   #endif
  2175   2175   
  2176   2176   #ifndef SQLITE_OMIT_VIEW
  2177   2177     /* A positive nCol means the columns names for this view are
  2178   2178     ** already known.