summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_common_component/commit.js.es6
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-12-01 16:17:20 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-12-01 16:17:20 +0800
commit5747b0d3ed2a658a5a452e29aefba1aea5debc04 (patch)
treeb1180aa8cea5b327d9ce4176fabd6c285b8c4527 /app/assets/javascripts/vue_common_component/commit.js.es6
parentbbcce5f7dcbc498bb82851f07be6d9a41578ea28 (diff)
downloadgitlab-ce-5747b0d3ed2a658a5a452e29aefba1aea5debc04.tar.gz
Make deleting with optimistic locking respect NULL
For now deleting with optimistic locking is broken when lock_version is still NULL, because Rails would try to delete with `lock_version = 0` while in the database the column is still `NULL`. The monkey patches would force Rails just pass whatever in the column, and stop Rails from casting `NULL` into `0` when the value is read from database. Closes #24766
Diffstat (limited to 'app/assets/javascripts/vue_common_component/commit.js.es6')
0 files changed, 0 insertions, 0 deletions