Project

General

Profile

Actions

Feature #16352

closed

Log number of return or affected rows

Added by Martin Kutschker over 18 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-07-17
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Log more infos (see subject) in the DBAL debug log.

(issue imported from #M3855)


Files

3855.diff (1.37 KB) 3855.diff Administrator Admin, 2010-06-19 14:49
Actions #1

Updated by Xavier Perseguers over 14 years ago

Documentation updated with new debug option "numberRows":

$TYPO3_CONF_VARS['EXTCONF']['dbal']['debugOptions']     = array(
        'enabled' => TRUE,        // Generally, enable debugging.
        'printErrors' => TRUE,    // Enable output of SQL errors after query executions.
        'EXPLAIN' => TRUE,        // EXPLAIN SELECT ...(Only on default handler)
        'parseQuery' => TRUE,     // Parsing queries, testing parsability (All queries)
        'joinTables' => TRUE,
        'numberRows' => TRUE,     // Number of affected/returned rows (INSERT, UPDATE, DELETE or SELECT)
    );

Committed to trunk (rev. 34572). Will be part of TYPO3 4.5.

Actions

Also available in: Atom PDF