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


Ignore:
Timestamp:
Nov 26, 2011, 8:26:56 AM (13 years ago)
Author:
Aymeric Augustin

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