Changes between Initial Version and Version 1 of Ticket #17158, comment 1
- Timestamp:
- Nov 26, 2011, 8:26:56 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17158, comment 1
initial v1 6 6 7 7 - 1) give up on interpolation entirely, and return a string like "SQL = ..., PARAMS = ...". 8 - 2) catch e rrors 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 9 9 - 3) mangle the SQL to replace some % by %% before interpolation. 10 10