diff options
author | Andrew McDonnell <bugs@andrewmcdonnell.net> | 2013-08-15 23:28:44 +0930 |
---|---|---|
committer | Andrew McDonnell <bugs@andrewmcdonnell.net> | 2013-08-15 23:28:44 +0930 |
commit | c2fb0f2ab88cf911f81dc1359bc90e566a884bca (patch) | |
tree | 2e63b3dee7347e7e936e58d902b21fde1cce5bfa /storage/oqgraph/graphcore.cc | |
parent | 6e97d93c13c160d6d69313d362ac57bd2e7c16f9 (diff) | |
download | mariadb-git-c2fb0f2ab88cf911f81dc1359bc90e566a884bca.tar.gz |
Fix base segfault for order by. However, this shifts the problem elsewhere.
Diffstat (limited to 'storage/oqgraph/graphcore.cc')
-rw-r--r-- | storage/oqgraph/graphcore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/oqgraph/graphcore.cc b/storage/oqgraph/graphcore.cc index 28af0c10eb2..b5407baa534 100644 --- a/storage/oqgraph/graphcore.cc +++ b/storage/oqgraph/graphcore.cc @@ -947,7 +947,7 @@ namespace open_query if (cursor) cursor->current(ref); 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() |