diff options
| author | Stan Hu <stanhu@gmail.com> | 2016-12-01 16:24:17 +0000 |
|---|---|---|
| committer | Stan Hu <stanhu@gmail.com> | 2016-12-01 16:24:17 +0000 |
| commit | 14545f46afb2372da248274ad11232c6e42a3c74 (patch) | |
| tree | 8ac3f3f936bf453d2343ed806615cb0b0dd1fe79 /app/assets/javascripts/vue_common_component/commit.js.es6 | |
| parent | 8b25392f368ce56af1470c35465d016a79b12307 (diff) | |
| parent | 7839aa55f57e5eb22141ed068cf43a29aac847f6 (diff) | |
| download | gitlab-ce-14545f46afb2372da248274ad11232c6e42a3c74.tar.gz | |
Merge branch 'fix-optimistic-locking-for-destroy' into 'master'
Make deleting with optimistic locking respect NULL
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
See merge request !7867
Diffstat (limited to 'app/assets/javascripts/vue_common_component/commit.js.es6')
0 files changed, 0 insertions, 0 deletions
