mirror of https://gitee.com/bigwinds/arangodb
potential fix for unique index constraint violation with array indexes
This commit is contained in:
parent
025e470e3b
commit
50d5176adf
|
@ -895,6 +895,10 @@ namespace std {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (a[i]._data.data == nullptr || b[i]._data.data == nullptr) {
|
if (a[i]._data.data == nullptr || b[i]._data.data == nullptr) {
|
||||||
|
if (a[i]._sid == b[i]._sid) {
|
||||||
|
// this should be a TRI_SHAPE_SID_NULL value
|
||||||
|
return true;
|
||||||
|
}
|
||||||
// TODO FIXME
|
// TODO FIXME
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -911,9 +915,6 @@ namespace std {
|
||||||
|
|
||||||
} //closes namespace std
|
} //closes namespace std
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief shaped json sub-object
|
/// @brief shaped json sub-object
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue