2007/9/5, Oleg Broytmann <[EMAIL PROTECTED]>:
>    Please add "?debug=1" to your DB URI and show the output. What version
> of SQLObject are you using?

I used SQLObject-0.9.1-py2.5.egg which I downloaded on 2007-07-26.  If
I compare this version with a recently downloaded version of the same
file, I can see a change in converters.py.  My version reads

    if db == 'postgres':
        for orig, repl in sqlStringReplace:
            value = value.replace(orig, repl)
    elif db in ('sqlite', 'mysql', 'firebird', 'sybase', 'maxdb', 'mssql'):
        value = value.replace("'", "''")

whereas the current version reads

    if db in ('mysql', 'postgres'):
        for orig, repl in sqlStringReplace:
            value = value.replace(orig, repl)
    elif db in ('sqlite', 'firebird', 'sybase', 'maxdb', 'mssql'):
        value = value.replace("'", "''")

The current version fixes the reported problem.  However making
changes in already released versions without increasing the version
number is not optimal.

Kind regards,
Markus

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to