| 17373 | |
| 17374 | |
| 17375 | static 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 | |
| 17396 | void QUICK_RANGE_SELECT::dbug_dump(int indent, bool verbose) |
| 17397 | { |