Révision 5587145e
Ajouté par Assos Assos il y a presque 7 ans
drupal7/includes/database/sqlite/schema.inc | ||
---|---|---|
244 | 244 |
// database. So the syntax '...RENAME TO database.table' would fail. |
245 | 245 |
// So we must determine the full table name here rather than surrounding |
246 | 246 |
// the table with curly braces incase the db_prefix contains a reference |
247 |
// to a database outside of our existsing database.
|
|
247 |
// to a database outside of our existing database. |
|
248 | 248 |
$info = $this->getPrefixInfo($new_name); |
249 | 249 |
$this->connection->query('ALTER TABLE {' . $table . '} RENAME TO ' . $info['table']); |
250 | 250 |
|
Formats disponibles : Unified diff
Update to 7.56