mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
Added serverDatabase library
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// ======================================================================
|
||||
//
|
||||
// DatabaseProcessQuery.cpp
|
||||
// copyright (c) 2001 Sony Online Entertainment
|
||||
//
|
||||
// ======================================================================
|
||||
|
||||
#include "serverDatabase/FirstServerDatabase.h"
|
||||
#include "serverDatabase/DatabaseProcessQuery.h"
|
||||
|
||||
// ======================================================================
|
||||
|
||||
DatabaseProcessQuery::DatabaseProcessQuery(DB::Row *derivedRow) :
|
||||
DB::ModeQuery(derivedRow)
|
||||
{
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
DB::Query::QueryMode DatabaseProcessQuery::getExecutionMode() const
|
||||
{
|
||||
if ((mode==mode_SELECT) && (getProtocol()==DB::PROTOCOL_OCI))
|
||||
return (MODE_PLSQL_REFCURSOR);
|
||||
else
|
||||
return (MODE_SQL);
|
||||
}
|
||||
|
||||
// ======================================================================
|
||||
Reference in New Issue
Block a user