| 4221 | |
| 4222 | |
| 4223 | static int make_table_list(THD *thd, SELECT_LEX *sel, |
| 4224 | LEX_CSTRING *db_name, LEX_CSTRING *table_name) |
| 4225 | { |
| 4226 | Table_ident *table_ident; |
| 4227 | table_ident= new Table_ident(thd, db_name, table_name, 1); |
| 4228 | if (!sel->add_table_to_list(thd, table_ident, 0, 0, TL_READ, MDL_SHARED_READ)) |
| 4229 | return 1; |
| 4230 | return 0; |
| 4231 | } |
| 4232 | |
| 4233 | |
| 4234 | /** |
no test coverage detected