diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-01-06 20:32:47 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-01-06 20:32:47 +0000 |
commit | 1a5ba21076650f085b4583b0d9a862e611b69429 (patch) | |
tree | 92415ca7cd90da50b163eda775f4e8620842b1a1 /lib/sqlalchemy/databases/mssql.py | |
parent | 4add9d3a0d9b660c9a267827ad3dd4ceceb0bfb5 (diff) | |
download | sqlalchemy-1a5ba21076650f085b4583b0d9a862e611b69429.tar.gz |
- added a mutex to the mapper compilation step. ive been reluctant to add any kind
of threading anything to SA but this is one spot that its its really needed since mappers
are typically "global", and while their state does not change during normal operation, the
initial compilation step does modify internal state significantly, and this step usually
occurs not at module-level initialization time (unless you call compile()) but at first-request
time
- added "compile_mappers()" function as a shortcut to compiling all mappers
Diffstat (limited to 'lib/sqlalchemy/databases/mssql.py')
0 files changed, 0 insertions, 0 deletions