diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/whereexpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/whereexpr.c b/src/whereexpr.c index 3492769db..9b5d2cce9 100644 --- a/src/whereexpr.c +++ b/src/whereexpr.c @@ -263,7 +263,7 @@ static int isLikeOrGlob( */ if( pLeft->op!=TK_COLUMN || sqlite3ExprAffinity(pLeft)!=SQLITE_AFF_TEXT - || IsVirtual(pLeft->y.pTab) /* Value might be numeric */ + || (pLeft->y.pTab && IsVirtual(pLeft->y.pTab)) /* Might be numeric */ ){ int isNum; double rDummy; |