Overview
Comment:Debug des arguments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: dd669f5faaf29774dc5957e803632a7058b3b566
User & Date: bohwaz on 2014-02-12 14:14:40
Other Links: manifest | tags
Context
2014-02-12
14:45
Renommage des constantes GARRADIN_* en Garradin\* + support du login local par id ou email check-in: 0f6cbac68b user: bohwaz tags: trunk
14:14
Debug des arguments check-in: dd669f5faa user: bohwaz tags: trunk
14:09
bon positionnement des reports à nouveau selon actif/passif check-in: 544747b542 user: bohwaz tags: trunk
Changes

Modified src/include/class.db.php from [b671e9bb0e] to [55b4328232].

190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
        }

        try {
            return $statement->execute();
        }
        catch (\Exception $e)
        {
            throw new \Exception($e->getMessage() . "\n" . $query);
        }
    }

    public function simpleStatementFetch($query, $mode = SQLITE3_BOTH)
    {
        if ($mode != SQLITE3_BOTH && $mode != SQLITE3_ASSOC && $mode != SQLITE3_NUM)
        {







|







190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
        }

        try {
            return $statement->execute();
        }
        catch (\Exception $e)
        {
            throw new \Exception($e->getMessage() . "\n" . $query . "\n" . json_encode($args, true));
        }
    }

    public function simpleStatementFetch($query, $mode = SQLITE3_BOTH)
    {
        if ($mode != SQLITE3_BOTH && $mode != SQLITE3_ASSOC && $mode != SQLITE3_NUM)
        {