summaryrefslogtreecommitdiff
path: root/docs/misc
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-04 05:40:22 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-04 05:40:22 +0000
commitb57d86f226ca4fded1fc8bf6300450fb6a0566c1 (patch)
tree39b1105b78bc7dba69877a1ea5856a2aeabcdd37 /docs/misc
parentf1c908098440bdc427d3e97840842fe9555cc9d4 (diff)
[1.0.X] Changed the row count value returned from update queries in some cases.
If an update only affected an ancestor model (not the child), we were returning 0 for the number of rows updated. This could have been misleading if the value is used to detect an update occuring. So we now return the rowcount from the first non-trivial query that is executed (if any). Still a slight compromise, but better than what we had. Backport of r9966 from trunk (turns out this *is* a bugfix, since the returned rowcount is used in Model.save(force_update=True)). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/misc')
0 files changed, 0 insertions, 0 deletions