fix some sqlite2 upgrade issues
This commit is contained in:
parent
5c179e6255
commit
469a80ac09
|
@ -682,8 +682,10 @@ class MDB2_Driver_Manager_sqlite extends MDB2_Driver_Manager_Common
|
|||
}
|
||||
|
||||
foreach ($constraints as $constraint => $definition) {
|
||||
if(empty($definition['primary']) and empty($definition['foreign'])){
|
||||
$this->createConstraint($name_new, $constraint, $definition);
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($select_fields) && !empty($data)) {
|
||||
$query = 'INSERT INTO '.$db->quoteIdentifier($name_new, true);
|
||||
|
|
Loading…
Reference in New Issue