#2358: [patch] MS-SQL server fixes
-----------------------------------------------------+----------------------
Reporter: Dan Hristodorescu [EMAIL PROTECTED] | Owner:
adrian
Status: new | Component:
Database wrapper
Version: SVN | Resolution:
Keywords: | Stage:
Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 1
-----------------------------------------------------+----------------------
Changes (by [EMAIL PROTECTED]):
* cc: [EMAIL PROTECTED] (added)
Comment:
OK, so far I haven't managed to run the test suite, but I offer my
improvements on the patch that get it a few steps further into running it.
Specifically, I've got AutoField insertion working OK, and got the flush
command sort of working. I've also updated it to run with the latest svn
HEAD - #4757
'''This Patch does not fully work'''
I have come into a problem whereby the standard test suite tries to create
a database and fails. I attach test_output.txt run at --verbose=3 so
people can see what I mean, I can't create test databases. Specifically,
for some reason the application is attempting to create
comments_karmascore before comments_comment, which sounds like a race
condition to me, possibly at the driver level or database level, as the
output shows that the tables creation command is issued. Inspecting the
database after the run shows that none of the comment tables are created.
I don't know enough about Django internals to know quite how threading is
handled in this matter, or transactions. I'll try asking on the mailing
list, but I attach this patch in case anyone else wishes to give it a try.
For the record, I'm using SQL Server 2005 Express Edition.
--
Ticket URL: <http://code.djangoproject.com/ticket/2358#comment:11>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---