Hi,
How can I place some initialization code for each connection in the pool?
Currently I do something like this:
engine.execute("SET collation_connection=utf8_general_ci")
engine.execute("SET names utf8")
engine.execute("SET character_set_client=utf8")
engine.execute("SET character_set_results=utf8")
before processing each http-request. But it needs to be done
only once per connection.
--
Paul.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---