This commit is contained in:
Qunxin Liu authored and Behdad Esfahbod committed 2021-04-09 11:07:28 -06:00
1 parent 430a67ceab
commit 9dc9f0385d
2 files changed
+4

No files matched your search

+4
View File
@@ -492,9 +492,13 @@ struct Anchor
{
TRACE_SUBSET (this);
if (c->plan->drop_hints)
{
// AnchorFormat 2 and 3 just containing extra hinting information, so
// if hints are being dropped convert to format 1.
if (u.format != 1 && u.format != 2 && u.format != 3)
return_trace (false);
return_trace (bool (reinterpret_cast<Anchor *> (u.format1.copy (c->serializer))));
}
switch (u.format) {
case 1: return_trace (bool (reinterpret_cast<Anchor *> (u.format1.copy (c->serializer))));