MCPcopy Create free account
hub / github.com/MariaDB/server / join_init_quick_read_record

Function join_init_quick_read_record

sql/sql_select.cc:25623–25639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25621
25622
25623static int
25624join_init_quick_read_record(JOIN_TAB *tab)
25625{
25626 quick_select_return res= test_if_quick_select(tab);
25627
25628 if (res == SQL_SELECT::ERROR)
25629 return 1; /* Fatal error */
25630
25631 if (res == SQL_SELECT::IMPOSSIBLE_RANGE)
25632 return -1; /* No possible records */
25633
25634 /*
25635 Proceed to read rows. If we've created a quick select, use it, otherwise
25636 do a full scan.
25637 */
25638 return join_init_read_record(tab);
25639}
25640
25641
25642int read_first_record_seq(JOIN_TAB *tab)

Callers

nothing calls this directly

Calls 2

test_if_quick_selectFunction · 0.85
join_init_read_recordFunction · 0.85

Tested by

no test coverage detected