From: Max Semenik Date: Fri, 19 Nov 2010 20:34:44 +0000 (+0000) Subject: SQLite types can be non-nullable X-Git-Tag: 1.31.0-rc.0~33808 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=46209df2b87e35d336de1ad03cca70728efc0238;p=lhc%2Fweb%2Fwiklou.git SQLite types can be non-nullable --- diff --git a/includes/db/DatabaseSqlite.php b/includes/db/DatabaseSqlite.php index af00b04117..1ebf1fdb8a 100644 --- a/includes/db/DatabaseSqlite.php +++ b/includes/db/DatabaseSqlite.php @@ -656,8 +656,7 @@ class SQLiteField { } function nullable() { - // SQLite dynamic types are always nullable - return true; + return !$this->info->notnull; } # isKey(), isMultipleKey() not implemented, MySQL-specific concept.