Changes between Initial Version and Version 1 of Ticket #17158, comment 1


Ignore:
Timestamp:
11/26/2011 08:26:56 AM (3 years ago)
Author:
aaugustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17158, comment 1

    initial v1  
    66
    77- 1) give up on interpolation entirely, and return a string like "SQL = ..., PARAMS = ...".
    8 - 2) catch errors in the interpolation and return only smart_unicode(sql)
     8- 2) catch exceptions in the interpolation and return `smart_unicode(sql)` if an exception occurs
    99- 3) mangle the SQL to replace some % by %% before interpolation.
    1010
Back to Top