diff options
Diffstat (limited to 'includes/database/sqlite/schema.inc')
-rw-r--r-- | includes/database/sqlite/schema.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/database/sqlite/schema.inc b/includes/database/sqlite/schema.inc index 3014aeb7d..137592bbf 100644 --- a/includes/database/sqlite/schema.inc +++ b/includes/database/sqlite/schema.inc @@ -66,7 +66,7 @@ class DatabaseSchema_sqlite extends DatabaseSchema { // Add the SQL statement for each field. foreach ($schema['fields'] as $name => $field) { if ($field['type'] == 'serial') { - if (isset($schema['primary key']) && ($key = array_search($name, $schema['primary key'])) !== false) { + if (isset($schema['primary key']) && ($key = array_search($name, $schema['primary key'])) !== FALSE) { unset($schema['primary key'][$key]); } } @@ -294,7 +294,8 @@ class DatabaseSchema_sqlite extends DatabaseSchema { * @param $table * Name of the table. * @return - * An array representing the schema, @see drupal_get_schema. + * An array representing the schema, from drupal_get_schema(). + * @see drupal_get_schema() */ protected function introspectSchema($table) { $mapped_fields = array_flip($this->getFieldTypeMap()); |