Please sign in to comment.
Fixed #320 -- Changed save() code so that it doesn't rely on cursor.r…
…owcount. MySQLdb sets cursor.rowcount to 0 in an UPDATE statement even if the record already exists. Now save() does a SELECT query to find out whether a record with the primary key already exists. git-svn-id: http://code.djangoproject.com/svn/django/trunk@507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
- Loading branch information...