diff options
| author | 2020-12-28 19:53:55 +0100 | |
|---|---|---|
| committer | 2020-12-28 19:53:55 +0100 | |
| commit | 0a2d9b3b54ee51a3965d79c68409ef045ad5834b (patch) | |
| tree | 12cbfd4d1f57a4ba445cc75637c95ba7c7720fb0 /lib/Minz/PdoMysql.php | |
| parent | c246e5d74b1fb88ada602764f247942f2eebc4ca (diff) | |
Revert "Add a file for each PDO class (#3297)"
This reverts commit e1ee58816ba76734e4115fc12898b13de665b220.
Diffstat (limited to 'lib/Minz/PdoMysql.php')
| -rw-r--r-- | lib/Minz/PdoMysql.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/Minz/PdoMysql.php b/lib/Minz/PdoMysql.php deleted file mode 100644 index 3c5aa057c..000000000 --- a/lib/Minz/PdoMysql.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -/** - * MINZ - Copyright 2011 Marien Fressinaud - * Sous licence AGPL3 <http://www.gnu.org/licenses/> - */ - -class Minz_PdoMysql extends MinzPdo { - public function __construct($dsn, $username = null, $passwd = null, $options = null) { - parent::__construct($dsn, $username, $passwd, $options); - $this->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false); - } - - public function dbType() { - return 'mysql'; - } - - public function lastInsertId($name = null) { - return parent::lastInsertId(); //We discard the name, only used by PostgreSQL - } -} |
