|
@@ -15,8 +15,7 @@ |
|
|
block discarded – undo |
|
15
|
15
|
{ |
|
16
|
16
|
return preg_match('~^INTO~', $query) || |
|
17
|
17
|
$this->driver->result("SELECT sqlite_compileoption_used('ENABLE_UPDATE_DELETE_LIMIT')") ? |
|
18
|
|
- $this->driver->limit($query, $where, 1, 0) : |
|
19
|
|
- //! use primary key in tables with WITHOUT rowid |
|
|
18
|
+ $this->driver->limit($query, $where, 1, 0) : //! use primary key in tables with WITHOUT rowid |
|
20
|
19
|
" $query WHERE rowid = (SELECT rowid FROM " . $this->driver->table($table) . $where . ' LIMIT 1)'; |
|
21
|
20
|
} |
|
22
|
21
|
|
Please login to merge, or discard this patch.