I'm trying to understand how optimizer works, and changed
static int opt_debug_flag=DEBUG_RELATIONSHIPS;
but, can't understand nothing. I thought that query source will
be thrown (with debug info) into opt_debug_file, but it isn't.
Simple queries does not show any debug information.
DEBUG_PUNT prevents to execute queries at all.
Will somebody give easy explanation of opt_debug_flag values
and how to interprete them?
#define DEBUG_PUNT 5
#define DEBUG_RELATIONSHIPS 4
#define DEBUG_ALL 3
#define DEBUG_CANDIDATE 2
#define DEBUG_BEST 1
#define DEBUG_NONE 0
Dmitry Kuzmenko, Epsylon Technologies.