1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Merged e_db_mysql and e_db_pdo tests into e_db_abstractTest

- FIX: e_db::copyTable() is now an interface
- FIX: e_db_mysql now implements e_db
- FIX: Implemented missing e_db_mysql::copyTable() public method
- FIX: Implemented missing e_db_mysql::setLanguage() method
- FIX: Implemented missing e_db_mysql::getLanguage() method
- FIX: Implemented missing e_db_mysql::dropTable() method
- MOD: Merged e_db_mysqlTest and e_db_pdoTest into e_db_abstractTest
This commit is contained in:
Nick Liu
2019-12-23 16:37:48 +01:00
parent 2330f8a152
commit 71e7f8778c
5 changed files with 1359 additions and 2359 deletions

View File

@@ -386,6 +386,18 @@
/**
* XXX: e_db_pdo and e_db_mysql have differing implementations of this method.
* @param string $oldtable
* @param string $newtable
* @param bool $drop
* @param bool $data
* @return bool|int|PDOStatement|resource
*/
public function copyTable($oldtable, $newtable, $drop = false, $data = false);
/**
* Drop/delete table and all it's data
* @param string $table name without the prefix