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

Function join_read_next_same

sql/sql_select.cc:25584–25601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25582
25583
25584static int
25585join_read_next_same(READ_RECORD *info)
25586{
25587 int error;
25588 TABLE *table= info->table;
25589 JOIN_TAB *tab=table->reginfo.join_tab;
25590
25591 if (unlikely((error= table->file->ha_index_next_same(table->record[0],
25592 tab->ref.key_buff,
25593 tab->ref.key_length))))
25594 {
25595 if (error != HA_ERR_END_OF_FILE)
25596 return report_error(table, error);
25597 table->status= STATUS_GARBAGE;
25598 return -1;
25599 }
25600 return 0;
25601}
25602
25603
25604static int

Callers 1

Calls 2

report_errorFunction · 0.85
ha_index_next_sameMethod · 0.80

Tested by

no test coverage detected