You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
upsert return wrong value when insert a row which db has #6310
dialect: mysqlFor issues and PRs. Things that involve MySQL (and do not involve all dialects).good first issueFor issues. An issue that is a good choice for first-time contributors.type: bugDEPRECATED: replace with the "bug" issue type
dialect: mysqlFor issues and PRs. Things that involve MySQL (and do not involve all dialects).good first issueFor issues. An issue that is a good choice for first-time contributors.type: bugDEPRECATED: replace with the "bug" issue type
Activity
janmeier commentedon Aug 1, 2016
The flag is set by default by node-mysql, which means affected rows is 1 when the rows is matched, but nothing is updated.
Can be fixed by setting
flags: '-FOUND_ROWS'atcreateConnection. This would probably be a good idea to set by default in 4.0