sqlparser/stats.cpp
// Collect statistics for the specified item
Collect statistics for the specified item
Collect statistics for the specified item
void Stats::Add(std::map<std::string, StatsItem> &map, Token *token, StatsItem *si, bool case_insense)
{
    if(token == NULL || token->str == NULL || token->len == 0)
        return;
    std::string source(token->str, token->len);
    Add(map, source, token->t_str, si, case_insense);
}
void Stats :: Add ( std :: map < std :: string , StatsItem > & map , Token * token , StatsItem * si , bool case_insense ) { if ( token == NULL || token -> str == NULL || token -> len == 0 ) return ; std :: string source ( token -> str , token -> len ) ; Add ( map , source , token -> t_str , si , case_insense ) ; }
Collect statistics for the specified item
Collect statistics for the specified item