MCPcopy Create free account
hub / github.com/MariaDB/server / plugin_table_is_valid

Function plugin_table_is_valid

sql/sql_plugin.cc:1874–1884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1872
1873
1874static 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/*

Callers 3

plugin_loadFunction · 0.85
mysql_install_pluginFunction · 0.85
mysql_uninstall_pluginFunction · 0.85

Calls 1

my_errorFunction · 0.85

Tested by

no test coverage detected