Please send me the patch. I doubt I would be able to look into this until tomorrow night. When I will, if I cannot come up with a better solution, I will take the patch. The provided analysis of the problem will help a lot in fixing it.
On Oct 14, 10:32 am, Dmitri Zagidulin <dzagidu...@gmail.com> wrote: > This same issue happens to me, too -- when reading in a field in the > database that contains an empty string, the Linux/pyodbc/MSSQL stack > reads it as a single space. > > I suspect it's a similar issue to that which is mentioned > inhttp://pymssql.sourceforge.net/limitations.php(Search for SELECT ''" > statement returns a string containing one space instead of an empty > string.). > > So I've similarly had to put in a hack in tools.py to strip() the > registration key being read in. > > Aside from the issue of does this affect other areas of the framework, > my question to Massimo is -- would you accept a patch to tools.py that > calls strip() on the registration key, to work around this issue? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---