Remove mysql and oracle resources for anna-ericsson project
[anna.git] / source / dbms / OutputBind.cpp
diff --git a/source/dbms/OutputBind.cpp b/source/dbms/OutputBind.cpp
deleted file mode 100644 (file)
index 53e6b23..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// ANNA - Anna is Not Nothingness Anymore                                                         //
-//                                                                                                //
-// (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
-//                                                                                                //
-// See project site at http://redmine.teslayout.com/projects/anna-suite                           //
-// See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
-
-
-#include <anna/core/functions.hpp>
-#include <anna/core/tracing/Logger.hpp>
-
-#include <anna/dbms/LongBlock.hpp>
-#include <anna/dbms/OutputBind.hpp>
-
-using namespace anna;
-using namespace std;
-
-void dbms::OutputBind::write() const
-throw(RuntimeException, dbms::DatabaseException) {
-  const dbms::Data& data = Bind::getData();
-
-  if(data.getType() != Data::Type::LongBlock) {
-    string msg("anna::dbms::OutputBind::write | ");
-    msg += data.asString();
-    msg += " | This method only can be called for anna::dbms::LongBlock types";
-    throw RuntimeException(msg, ANNA_FILE_LOCATION);
-  }
-
-  LOGDEBUG(
-    string msg("anna::dbms::OutputBind::write | ");
-    msg += data.asString();
-    Logger::debug(msg, ANNA_FILE_LOCATION);
-  );
-  do_write(reinterpret_cast <const dbms::LongBlock&>(data));
-}
-
-