Ignore:
Timestamp:
Sep 8, 2010 1:40:41 PM (3 years ago)
Author:
alec
Message:
  • Add semicolon at the end of SQL queries in log (#1486957)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_mdb2.php

    r3581 r3947  
    726726{ 
    727727    if ($scope != 'prepare') { 
    728         $debug_output = $scope . '('.$db->db_index.'): ' . $message; 
     728        $debug_output = sprintf('%s(%d): %s;', 
     729            $scope, $db->db_index, rtrim($message, ';')); 
    729730        write_log('sql', $debug_output); 
    730731    } 
Note: See TracChangeset for help on using the changeset viewer.