﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13817	Error message when cache.set has trouble.	ezimir	nobody	"I am using low-level cache in my app, there were some cases when the `cache.set` method reported the `TransactionManagementError: This code isn't under transaction management` error, because (I guessed) that there is some underlying DB execution error.

I managed to find out what that original error was (with PDB) (and solve the problem):
`OperationalError: (1153, ""Got a packet bigger than 'max_allowed_packet' bytes"")`

Now, is there a way to retrieve the original error from code? Is there a way to tell Django not to try to rollback that unsuccessful query? Is it a bug (i.e. Django shouldn't try to rollback code that is not under transaction management)? Is it a version specific problem?

django.VERSION is:
`(1, 1, 1, 'final', 0)`
django.get_version() says:
1.1.1 SVN-865

Thank you for your time."		closed	Database layer (models, ORM)	1.1-beta		wontfix			Unreviewed	0	0	0	0	0	0
