summaryrefslogtreecommitdiff
path: root/tests/regressiontests/initial_sql_regress/sql/simple.sql
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-04 05:33:23 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-04 05:33:23 +0000
commit14c8e5227af756a5dea207d8255bc3b3c941340c (patch)
treecb3b26a4d9d5f0a896f837cc9ec062671f2523eb /tests/regressiontests/initial_sql_regress/sql/simple.sql
parentc7a1a9f3807c07b42952293e8bd03275a6651442 (diff)
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/initial_sql_regress/sql/simple.sql')
0 files changed, 0 insertions, 0 deletions