~ubuntu-branches/ubuntu/saucy/geary/saucy-updates

« back to all changes in this revision

Viewing changes to src/engine/db/db-context.vala

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-04-10 10:57:25 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130410105725-f532n2cfre2sq6mf
Tags: 0.3.1-0ubuntu1
* New upstream bugfix version:
  - Reduced CPU and memory footprint
  - Account dialog bugs fixed
  - Stability improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        Statement? stmt = get_statement();
43
43
        
44
44
        if (stmt != null) {
45
 
            Logging.debug(Logging.Flag.SQL, "%s %s\n\t<%s>".printf(
 
45
            Logging.debug(Logging.Flag.SQL, "%s %s\n\t<%s>",
46
46
                (cx != null) ? cx.to_string() : "[no cx]",
47
47
                fmt.vprintf(va_list()),
48
 
                (stmt != null) ? "%.100s".printf(stmt.sql) : "no sql"));
 
48
                (stmt != null) ? "%.100s".printf(stmt.sql) : "no sql");
49
49
        } else {
50
 
            Logging.debug(Logging.Flag.SQL, "%s %s".printf(
 
50
            Logging.debug(Logging.Flag.SQL, "%s %s",
51
51
                (cx != null) ? cx.to_string() : "[no cx]",
52
 
                fmt.vprintf(va_list())));
 
52
                fmt.vprintf(va_list()));
53
53
        }
54
54
    }
55
55
}