mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 14:18:46 +02:00
BUGFIX Added stub PDODatabase implementations to avoid errors when batch-instanciating singletons
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@68166 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
05aa3503ec
commit
0a017da580
@ -646,6 +646,14 @@ class PDODatabase extends Database {
|
||||
}
|
||||
return isset($tables) ? $tables : null;
|
||||
}
|
||||
|
||||
public function hasTable($tableName) {
|
||||
user_error("PDODatabase::hasTable() - Not implemented", E_USER_ERROR);
|
||||
}
|
||||
|
||||
public function enumValuesForField($tableName, $fieldName) {
|
||||
user_error("PDODatabase::enumValuesForField() - Not implemented", E_USER_ERROR);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the number of rows affected (DELETE, INSERT, or UPDATE) by the previous operation.
|
||||
|
Loading…
Reference in New Issue
Block a user