| 1872 | |
| 1873 | |
| 1874 | static bool plugin_table_is_valid(TABLE *table) |
| 1875 | { |
| 1876 | if (table->s->fields < PLUGIN_FIELDS_COUNT || |
| 1877 | table->s->primary_key == MAX_KEY) |
| 1878 | { |
| 1879 | my_error(ER_CANNOT_LOAD_FROM_TABLE_V2, MYF(0), |
| 1880 | table->s->db.str, table->s->table_name.str); |
| 1881 | return false; |
| 1882 | } |
| 1883 | return true; |
| 1884 | } |
| 1885 | |
| 1886 | |
| 1887 | /* |
no test coverage detected