diff options
Diffstat (limited to 'src/vtab.c')
-rw-r--r-- | src/vtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vtab.c b/src/vtab.c index fa1954819..ad8caef3b 100644 --- a/src/vtab.c +++ b/src/vtab.c @@ -564,10 +564,10 @@ static int vtabCallConstructor( pTab->pVTable = pVTable; for(iCol=0; iCol<pTab->nCol; iCol++){ - char *zType = pTab->aCol[iCol].zType; + char *zType = (char*)sqlite3StrNext(pTab->aCol[iCol].zName); int nType; int i = 0; - if( !zType ){ + if( !zType[0] ){ pTab->tabFlags |= oooHidden; continue; } |