diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-04-28 06:02:43 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-04-28 06:02:43 -0400 |
commit | 9888e8884e7142509d28575c8c97854f6357d6bd (patch) | |
tree | 82c173731a94b4b47473e1900309a20e1f3345b6 /includes | |
parent | 2ffe162f0079a000ae5811c01fac959eaff703da (diff) | |
download | brdo-9888e8884e7142509d28575c8c97854f6357d6bd.tar.gz brdo-9888e8884e7142509d28575c8c97854f6357d6bd.tar.bz2 |
- Patch #1139638 by DamZ: the SQLite driver cannot update a column to NULL.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/database/sqlite/query.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/sqlite/query.inc b/includes/database/sqlite/query.inc index d456afaaf..a176ed649 100644 --- a/includes/database/sqlite/query.inc +++ b/includes/database/sqlite/query.inc @@ -101,7 +101,7 @@ class UpdateQuery_sqlite extends UpdateQuery { } elseif (!isset($data)) { // The field will be set to NULL. - $condition->isNull($field); + $condition->isNotNull($field); } else { $condition->condition($field, $data, '<>'); |