test suite aborts with mysql 4.1
|Reported by:||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||master|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
With the test fixtures, the test suite aborts (not a regular failure!) with these messages:
Doctest: modeltests.transactions.models.__test__.API_TESTS ... ok Doctest: modeltests.validation.models.__test__.API_TESTS ... ok Error: Database django_test_db couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin.py sqlflush'. That's the SQL this command wasn't able to run. The full error: (1192, "Can't execute the given command because you have active locked tables or an active transaction")
If I go to the commit before the test fixtures, only the json tests fail (because of the forward reference problem).
I use mysql 4.1.11a-4sarge7 from debian with InnoDB storage.