From 0d86651fae05c30aaa414e8dde0a57793237815a Mon Sep 17 00:00:00 2001 From: Patrick LeBlanc Date: Mon, 4 Feb 2019 10:44:17 -0600 Subject: [PATCH] Added a missing file. --- utils/cloudio/cloud_plugin.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 utils/cloudio/cloud_plugin.cpp diff --git a/utils/cloudio/cloud_plugin.cpp b/utils/cloudio/cloud_plugin.cpp new file mode 100644 index 000000000..16cb1e209 --- /dev/null +++ b/utils/cloudio/cloud_plugin.cpp @@ -0,0 +1,30 @@ +/* Copyright (C) 2019 MariaDB Corporaton + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; version 2 of + the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. */ + +#include "IDBFactory.h" +#include "SMFileFactory.h" +#include "SMFileSystem.h" + +using namespace idbdatafile; + +extern "C" +{ + FileFactoryEnt plugin_instance() + { + return FileFactoryEnt(IDBDataFile::CLOUD, "cloud", new SMFileFactory(), new SMFileSystem()); + } +}