MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / is_not_tmp_table

Function is_not_tmp_table

sqladvisor/main.cc:1134–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1132}
1133
1134bool is_not_tmp_table(TABLE_LIST * table){
1135 if (strcasecmp(table->db,"") == 0 && strcasecmp(table->table_name,"*") == 0){
1136 if (options.verbose){
1137 sql_print_information("第%d步:表%s 是临时表,不进行处理 \n", STEP_CNT++, table->table_name);
1138 }
1139 return false;
1140 }
1141 else
1142 return true;
1143}
1144
1145void mysql_sql_parse(Item *item_where) {
1146 const Item::Type item_where_type = item_where->type();

Callers 4

find_join_elements_newFunction · 0.85
find_tableFunction · 0.85
print_indexFunction · 0.85
mysql_sql_parse_adminFunction · 0.85

Calls 1

sql_print_informationFunction · 0.85

Tested by

no test coverage detected