Pluf Framework

Pluf Framework Commit Details


Date:2009-04-02 10:46:52 (16 years 1 month ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:fc18955b62b883b690385f178509cb9c85286e12
Parents: b3f5684117c700fc7231a632cd7177aca2fa06e8
Message:Fixed to display connection errors with MySQL.

Changes:

File differences

src/Pluf/DB/MySQL.php
3939
4040
4141
42
42
4343
4444
4545
......
5151
5252
5353
54
54
5555
5656
5757
        Pluf::loadFunction('Pluf_DB_defaultTypecast');
        $this->type_cast = Pluf_DB_defaultTypecast();
        $this->debug('* MYSQL CONNECT');
        $this->con_id = @mysql_connect($server, $user, $pwd);
        $this->con_id = mysql_connect($server, $user, $pwd);
        $this->debug = $debug;
        $this->pfx = $pfx;
        if (!$this->con_id) {
    function database($dbname)
    {
        $db = @mysql_select_db($dbname);
        $db = mysql_select_db($dbname);
        $this->debug('* USE DATABASE '.$dbname);
        if (!$db) {
            throw new Exception($this->getError());

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.14749s using 13 queries.