diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2007-05-16 21:04:46 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2007-05-16 21:04:46 +0000 |
| commit | 2b46d621e66030d83797d7634796379ac71c1efb (patch) | |
| tree | 505d06618909dceba9f79ff1120287848bdf673c /ext/pdo_sqlite/sqlite/src/expr.c | |
| parent | 67032ecdf0cb7a03c9802e7e84c345a9e2aa1cb8 (diff) | |
| download | php-git-2b46d621e66030d83797d7634796379ac71c1efb.tar.gz | |
Upgraded libsqlite3 to SQLite 3.3
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src/expr.c')
| -rw-r--r-- | ext/pdo_sqlite/sqlite/src/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/expr.c b/ext/pdo_sqlite/sqlite/src/expr.c index 4ba63d54b7..3cfac3e2ed 100644 --- a/ext/pdo_sqlite/sqlite/src/expr.c +++ b/ext/pdo_sqlite/sqlite/src/expr.c @@ -237,12 +237,12 @@ Expr *sqlite3Expr(int op, Expr *pLeft, Expr *pRight, const Token *pToken){ }else if( pLeft ){ if( pRight ){ sqlite3ExprSpan(pNew, &pLeft->span, &pRight->span); - if( pRight->flags && EP_ExpCollate ){ + if( pRight->flags & EP_ExpCollate ){ pNew->flags |= EP_ExpCollate; pNew->pColl = pRight->pColl; } } - if( pLeft->flags && EP_ExpCollate ){ + if( pLeft->flags & EP_ExpCollate ){ pNew->flags |= EP_ExpCollate; pNew->pColl = pLeft->pColl; } |
