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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user