Skip to content
Snippets Groups Projects
Commit 8378e4b9 authored by Nikita Pettik's avatar Nikita Pettik
Browse files

sql: optimize compilation of SELECT COUNT(*)

Originally, SQLite chooses the best index to perform COUNT operation.
In Tarantool there is no any considerable difference between them,
since this simple operation on B+tree has O(1) complexity,
so lets don't spend time on this routine and choose always primary index,
in case of simple query 'SELECT COUNT(*) FROM <tab>'.
Also, patch contains codestyle fixes.
parent 7b37db3e
No related branches found
No related tags found
No related merge requests found
Loading
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