Added serverDatabase library

This commit is contained in:
Anonymous
2014-01-17 08:02:53 -07:00
parent 5783bdd0e2
commit ebad6e01af
206 changed files with 14638 additions and 0 deletions
@@ -0,0 +1,44 @@
// ======================================================================
//
// GetUniverseQuery.cpp
// copyright (c) 2001 Sony Online Entertainment
//
// ======================================================================
#include "serverDatabase/FirstServerDatabase.h"
#include "serverDatabase/GetUniverseQuery.h"
#include "serverDatabase/DatabaseProcess.h"
using namespace DBQuery;
// ======================================================================
GetUniverseQuery::GetUniverseQuery(const std::string &schema) :
Query(),
m_schema(schema)
{
}
// ----------------------------------------------------------------------
void GetUniverseQuery::getSQL(std::string &sql)
{
sql=std::string("begin ") + m_schema + "loader.locate_universe; end;";
}
// ----------------------------------------------------------------------
bool GetUniverseQuery::bindParameters()
{
return true;
}
// ----------------------------------------------------------------------
bool GetUniverseQuery::bindColumns()
{
return true;
}
// ======================================================================