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

Function print_quick

sql/opt_range.cc:17375–17394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17373
17374
17375static void print_quick(QUICK_SELECT_I *quick, const key_map *needed_reg)
17376{
17377 char buf[MAX_KEY/8+1];
17378 TABLE *table;
17379 MY_BITMAP *old_sets[2];
17380 DBUG_ENTER("print_quick");
17381 if (!quick)
17382 DBUG_VOID_RETURN;
17383 DBUG_LOCK_FILE;
17384
17385 table= quick->head;
17386 dbug_tmp_use_all_columns(table, old_sets, &table->read_set, &table->write_set);
17387 quick->dbug_dump(0, TRUE);
17388 dbug_tmp_restore_column_maps(&table->read_set, &table->write_set, old_sets);
17389
17390 fprintf(DBUG_FILE,"other_keys: 0x%s:\n", needed_reg->print(buf));
17391
17392 DBUG_UNLOCK_FILE;
17393 DBUG_VOID_RETURN;
17394}
17395
17396void QUICK_RANGE_SELECT::dbug_dump(int indent, bool verbose)
17397{

Callers 1

test_quick_selectMethod · 0.85

Calls 4

dbug_tmp_use_all_columnsFunction · 0.85
dbug_dumpMethod · 0.80
printMethod · 0.45

Tested by 1

test_quick_selectMethod · 0.68