Status SQLiteSQLPlugin::detach(const std::string& name) {
  // Detach requests occurring via the plugin/registry APIs must act on the
  // primary database. To allow this, getConnection can explicitly request the
  // primary instance and avoid the contention decisions.
  auto dbc = SQLiteDBManager::getConnection(true);
  return detachTableInternal(name, dbc);
}
Status SQLiteSQLPlugin::detach(const std::string& name) {
   
   
   
  auto dbc = SQLiteDBManager::getConnection(true);
  return detachTableInternal(name, dbc);
}