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.
Loading
Please register or sign in to comment