Skip to content
Snippets Groups Projects
Commit 18f87391 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

Fix gh-456: sophia: index size() is unsupported.

parent 6d454185
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,8 @@ SophiaIndex::endBuild()
size_t
SophiaIndex::size() const
{
tnt_raise(ClientError, ER_UNSUPPORTED,
"SophiaIndex", "size operation");
return 0;
}
......
......@@ -72,4 +72,15 @@ box.rollback()
s:select{10000}
s:drop()
---
--- gh-456: Sophia: index size() is unsupported
---
box.cfg{}
s = box.schema.create_space('tester',{engine='sophia'})
s:create_index('sophia_index', {})
s.index[0]:len() -- exception
box.error()
s:drop()
os.execute("rm -rf sophia")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment