Project

General

Profile

Bug #14113 » 0000019-class.t3lib_db.php.diff

Administrator Admin, 2004-04-27 15:36

View differences:

class.t3lib_db.php 2004-04-27 15:21:33.000000000 +0200
* @return pointer Returns a positive MySQL persistent link identifier on success, or FALSE on error.
*/
function sql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password) {
$this->link = mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password);
$this->link = @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password);
return $this->link;
}
......
*/
function admin_get_tables() {
$whichTables = array();
$tables_result = mysql_list_tables(TYPO3_db, $this->link);
$tables_result = @mysql_list_tables(TYPO3_db, $this->link);
if (!mysql_error()) {
while ($theTable = mysql_fetch_assoc($tables_result)) {
$whichTables[current($theTable)] = current($theTable);
(2-2/2)