Commit c2fb0f2a authored by Andrew McDonnell's avatar Andrew McDonnell

Fix base segfault for order by. However, this shifts the problem elsewhere.

parent 6e97d93c
...@@ -947,7 +947,7 @@ namespace open_query ...@@ -947,7 +947,7 @@ namespace open_query
if (cursor) if (cursor)
cursor->current(ref); cursor->current(ref);
else else
ref= reference(); new (ref_ptr) reference(); // avoid assignment operator because the intrusive_ptr swaps for unknown reasons, which means if ref is uninitialised it segfaults
} }
int oqgraph::random(bool scan) throw() int oqgraph::random(bool scan) throw()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment