1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Don't spam database server with connections

- MOD: Silently ignore failures to e_db_mysql::close(); if it's failing, it's probably already closed
- FIX: Close the PDO or mysqli connection after each e_db_abstractTest test
- MOD: Changed class2.php's $sql variable to be hinted as an e_db instead of e_db_mysql
This commit is contained in:
Nick Liu
2020-01-19 14:33:11 +01:00
parent 1fd0a171a0
commit 8b354adf44
6 changed files with 22 additions and 16 deletions

View File

@@ -1,8 +1,12 @@
<?php
/**
* Created by PhpStorm.
* Date: 2/8/2019
* Time: 11:46 AM
* e107 website system
*
* Copyright (C) 2008-2020 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* PDO MySQL Handler
*/
// Legacy Fix.