diff --git a/src/auth/AuthDbg.h b/src/auth/AuthDbg.h index 5089079d9b..a6e00eda9a 100644 --- a/src/auth/AuthDbg.h +++ b/src/auth/AuthDbg.h @@ -46,7 +46,8 @@ namespace Auth { // The idea of debug plugin is to send some data from server to client, // modify them on client and return result (which becomes login name) to the server -class DebugServer FB_FINAL : public Firebird::StdPlugin > +class DebugServer FB_FINAL : + public Firebird::StdPlugin > { public: explicit DebugServer(Firebird::IPluginConfig*); @@ -60,7 +61,8 @@ private: Firebird::RefPtr config; }; -class DebugClient FB_FINAL : public Firebird::StdPlugin > +class DebugClient FB_FINAL : + public Firebird::StdPlugin > { public: DebugClient(Firebird::IPluginConfig*); diff --git a/src/auth/SecurityDatabase/LegacyClient.h b/src/auth/SecurityDatabase/LegacyClient.h index ce1948075b..f96dd00f36 100644 --- a/src/auth/SecurityDatabase/LegacyClient.h +++ b/src/auth/SecurityDatabase/LegacyClient.h @@ -35,7 +35,8 @@ namespace Auth { // Required to stop analyzing rest of plugins before first roundtrip to server // if legacy login is present in DPB -class SecurityDatabaseClient FB_FINAL : public Firebird::StdPlugin > +class SecurityDatabaseClient FB_FINAL : + public Firebird::StdPlugin > { public: explicit SecurityDatabaseClient(Firebird::IPluginConfig*) diff --git a/src/auth/SecurityDatabase/LegacyManagement.epp b/src/auth/SecurityDatabase/LegacyManagement.epp index 4cbb26a128..5569fb81c9 100644 --- a/src/auth/SecurityDatabase/LegacyManagement.epp +++ b/src/auth/SecurityDatabase/LegacyManagement.epp @@ -233,7 +233,8 @@ static inline void strStore(char* to, const char* from, size_t len) strncpy(to, from, len); } -int SecurityDatabaseManagement::execute(Firebird::CheckStatusWrapper* st, Firebird::IUser* user, Firebird::IListUsers* callback) +int SecurityDatabaseManagement::execute(Firebird::CheckStatusWrapper* st, Firebird::IUser* user, + Firebird::IListUsers* callback) { /************************************* * diff --git a/src/auth/SecurityDatabase/LegacyManagement.h b/src/auth/SecurityDatabase/LegacyManagement.h index a8b15197ef..5af18aad11 100644 --- a/src/auth/SecurityDatabase/LegacyManagement.h +++ b/src/auth/SecurityDatabase/LegacyManagement.h @@ -33,7 +33,8 @@ namespace Auth { -class SecurityDatabaseManagement FB_FINAL : public Firebird::StdPlugin > +class SecurityDatabaseManagement FB_FINAL : + public Firebird::StdPlugin > { public: explicit SecurityDatabaseManagement(Firebird::IPluginConfig* par); diff --git a/src/auth/SecurityDatabase/LegacyServer.cpp b/src/auth/SecurityDatabase/LegacyServer.cpp index 15c1c4b019..c4fc89a892 100644 --- a/src/auth/SecurityDatabase/LegacyServer.cpp +++ b/src/auth/SecurityDatabase/LegacyServer.cpp @@ -123,7 +123,8 @@ const UCHAR TPB[4] = namespace Auth { -class SecurityDatabaseServer FB_FINAL : public StdPlugin > +class SecurityDatabaseServer FB_FINAL : + public StdPlugin > { public: explicit SecurityDatabaseServer(Firebird::IPluginConfig* p) @@ -131,7 +132,8 @@ public: { } // IServer implementation - int authenticate(Firebird::CheckStatusWrapper* status, Firebird::IServerBlock* sBlock, Firebird::IWriter* writerInterface); + int authenticate(Firebird::CheckStatusWrapper* status, Firebird::IServerBlock* sBlock, + Firebird::IWriter* writerInterface); int release(); private: diff --git a/src/auth/trusted/AuthSspi.h b/src/auth/trusted/AuthSspi.h index bd9703c414..a776a068d0 100644 --- a/src/auth/trusted/AuthSspi.h +++ b/src/auth/trusted/AuthSspi.h @@ -100,11 +100,13 @@ public: bool getLogin(Firebird::string& login, bool& wh); }; -class WinSspiServer : public Firebird::StdPlugin > +class WinSspiServer : + public Firebird::StdPlugin > { public: // IServer implementation - int authenticate(Firebird::CheckStatusWrapper* status, Firebird::IServerBlock* sBlock, Firebird::IWriter* writerInterface); + int authenticate(Firebird::CheckStatusWrapper* status, Firebird::IServerBlock* sBlock, + Firebird::IWriter* writerInterface); int release(); WinSspiServer(Firebird::IPluginConfig*); @@ -114,7 +116,8 @@ private: AuthSspi sspi; }; -class WinSspiClient : public Firebird::StdPlugin > +class WinSspiClient : + public Firebird::StdPlugin > { public: // IClient implementation diff --git a/src/common/Auth.h b/src/common/Auth.h index 9185279fe0..affe519bd9 100644 --- a/src/common/Auth.h +++ b/src/common/Auth.h @@ -39,7 +39,8 @@ namespace Auth { -class WriterImplementation : public Firebird::AutoIface > +class WriterImplementation : + public Firebird::AutoIface > { public: WriterImplementation(); diff --git a/src/common/MsgMetadata.h b/src/common/MsgMetadata.h index d7c4a22e08..039e964a0a 100644 --- a/src/common/MsgMetadata.h +++ b/src/common/MsgMetadata.h @@ -292,7 +292,8 @@ public: RefPtr attachment; }; -class MetadataBuilder FB_FINAL : public RefCntIface > +class MetadataBuilder FB_FINAL : + public RefCntIface > { public: explicit MetadataBuilder(const MsgMetadata* from); diff --git a/src/common/classes/ImplementHelper.h b/src/common/classes/ImplementHelper.h index 08053979d1..94ad66faff 100644 --- a/src/common/classes/ImplementHelper.h +++ b/src/common/classes/ImplementHelper.h @@ -265,7 +265,8 @@ public: // when yvalve is starting fb_shutdown(). This causes almost unavoidable segfault. // To avoid it this class is added - it detects spontaneous (not by PluginManager) // module unload and notifies PluginManager about this said fact. -class UnloadDetectorHelper FB_FINAL : public VersionedIface > +class UnloadDetectorHelper FB_FINAL : + public VersionedIface > { public: typedef void VoidNoParam(); diff --git a/src/common/classes/TempFile.h b/src/common/classes/TempFile.h index c00f0f7fdd..3001f94b16 100644 --- a/src/common/classes/TempFile.h +++ b/src/common/classes/TempFile.h @@ -67,7 +67,8 @@ public: static PathName getTempPath(); static PathName create(const PathName& prefix, const PathName& directory = ""); - static PathName create(CheckStatusWrapper* status, const PathName& prefix, const PathName& directory = ""); + static PathName create(CheckStatusWrapper* status, const PathName& prefix, + const PathName& directory = ""); private: void init(const PathName&, const PathName&); diff --git a/src/common/config/config.h b/src/common/config/config.h index 2ccadc51f9..f03d7b5b47 100644 --- a/src/common/config/config.h +++ b/src/common/config/config.h @@ -339,7 +339,8 @@ public: }; // Implementation of interface to access master configuration file -class FirebirdConf FB_FINAL : public Firebird::RefCntIface > +class FirebirdConf FB_FINAL : + public Firebird::RefCntIface > { public: FirebirdConf(Config* existingConfig) diff --git a/src/common/isc_sync.cpp b/src/common/isc_sync.cpp index 7da36d8383..d3744259aa 100644 --- a/src/common/isc_sync.cpp +++ b/src/common/isc_sync.cpp @@ -952,7 +952,8 @@ static bool make_object_name(TEXT*, size_t, const TEXT*, const TEXT*); namespace { -class TimerEntry FB_FINAL : public Firebird::RefCntIface > +class TimerEntry FB_FINAL : + public Firebird::RefCntIface > { public: TimerEntry(int id, USHORT num) diff --git a/src/common/security.h b/src/common/security.h index cb8cde0942..15872c5db5 100644 --- a/src/common/security.h +++ b/src/common/security.h @@ -32,7 +32,8 @@ namespace Auth { -class CharField : public Firebird::AutoIface > +class CharField : + public Firebird::AutoIface > { public: CharField() @@ -97,7 +98,8 @@ private: Firebird::string value; }; -class IntField : public Firebird::AutoIface > +class IntField : + public Firebird::AutoIface > { public: IntField() @@ -152,7 +154,8 @@ private: typedef Firebird::Array AuthenticationBlock; -class UserData : public Firebird::VersionedIface > +class UserData : + public Firebird::VersionedIface > { public: UserData() diff --git a/src/dsql/DdlNodes.epp b/src/dsql/DdlNodes.epp index cbc2ca4e38..957c297864 100644 --- a/src/dsql/DdlNodes.epp +++ b/src/dsql/DdlNodes.epp @@ -149,7 +149,8 @@ void ExecInSecurityDb::executeInSecurityDb(jrd_tra* localTransaction) { runInSecurityDb(secDbContext); - secDbContext->att->execute(&statusWrapper, secDbContext->tra, 0, ("RELEASE SAVEPOINT " + savePoint).c_str(), + secDbContext->att->execute(&statusWrapper, secDbContext->tra, 0, + ("RELEASE SAVEPOINT " + savePoint).c_str(), SQL_DIALECT_V6, NULL, NULL, NULL, NULL); savePoint.erase(); check(&statusWrapper); diff --git a/src/include/firebird/UdrEngine.h b/src/include/firebird/UdrEngine.h index 38337a3674..75266a3b0d 100644 --- a/src/include/firebird/UdrEngine.h +++ b/src/include/firebird/UdrEngine.h @@ -39,6 +39,7 @@ namespace Firebird //------------------------------------------------------------------------------ +//// TODO: review // Routine registration functions. extern "C" void FB_EXPORTED fbUdrRegFunction(const char* name, IUdrFunctionFactory* factory); extern "C" void FB_EXPORTED fbUdrRegProcedure(const char* name, IUdrProcedureFactory* factory); diff --git a/src/isql/show.epp b/src/isql/show.epp index be23a58cbb..471ae1ff17 100644 --- a/src/isql/show.epp +++ b/src/isql/show.epp @@ -122,7 +122,8 @@ namespace { // Used to make sure that local calls to print stuff go to isqlGlob.Out // and not to stdout if IUtil::version gets called -class VersionCallback : public Firebird::AutoIface > +class VersionCallback : + public Firebird::AutoIface > { public: // IVersionCallback implementation diff --git a/src/jrd/Database.h b/src/jrd/Database.h index 9791684f9c..5c9954d160 100644 --- a/src/jrd/Database.h +++ b/src/jrd/Database.h @@ -308,7 +308,8 @@ public: bool exist; }; - class Linger FB_FINAL : public Firebird::RefCntIface > + class Linger FB_FINAL : + public Firebird::RefCntIface > { public: explicit Linger(Database* a_dbb) diff --git a/src/jrd/EngineInterface.h b/src/jrd/EngineInterface.h index 3ed23bf865..1252ea3d91 100644 --- a/src/jrd/EngineInterface.h +++ b/src/jrd/EngineInterface.h @@ -44,7 +44,8 @@ class JStatement; class JAttachment; class JProvider; -class JBlob FB_FINAL : public Firebird::RefCntIface > +class JBlob FB_FINAL : + public Firebird::RefCntIface > { public: // IBlob implementation @@ -84,7 +85,8 @@ private: void freeEngineData(Firebird::CheckStatusWrapper* status); }; -class JTransaction FB_FINAL : public Firebird::RefCntIface > +class JTransaction FB_FINAL : + public Firebird::RefCntIface > { public: // ITransaction implementation @@ -136,7 +138,8 @@ private: void freeEngineData(Firebird::CheckStatusWrapper* status); }; -class JResultSet FB_FINAL : public Firebird::RefCntIface > +class JResultSet FB_FINAL : + public Firebird::RefCntIface > { public: // IResultSet implementation @@ -173,7 +176,8 @@ private: void freeEngineData(Firebird::CheckStatusWrapper* status); }; -class JStatement FB_FINAL : public Firebird::RefCntIface > +class JStatement FB_FINAL : + public Firebird::RefCntIface > { public: // IStatement implementation @@ -228,7 +232,8 @@ inline dsql_req* JResultSet::getHandle() throw() return statement->getHandle(); } -class JRequest FB_FINAL : public Firebird::RefCntIface > +class JRequest FB_FINAL : + public Firebird::RefCntIface > { public: // IRequest implementation @@ -294,7 +299,8 @@ private: void freeEngineData(Firebird::CheckStatusWrapper* status); }; -class JAttachment FB_FINAL : public Firebird::RefCntIface > +class JAttachment FB_FINAL : + public Firebird::RefCntIface > { public: // IAttachment implementation @@ -306,8 +312,10 @@ public: unsigned int bufferLength, unsigned char* buffer); JTransaction* startTransaction(Firebird::CheckStatusWrapper* status, unsigned int tpbLength, const unsigned char* tpb); - JTransaction* reconnectTransaction(Firebird::CheckStatusWrapper* status, unsigned int length, const unsigned char* id); - JRequest* compileRequest(Firebird::CheckStatusWrapper* status, unsigned int blr_length, const unsigned char* blr); + JTransaction* reconnectTransaction(Firebird::CheckStatusWrapper* status, + unsigned int length, const unsigned char* id); + JRequest* compileRequest(Firebird::CheckStatusWrapper* status, + unsigned int blr_length, const unsigned char* blr); void transactRequest(Firebird::CheckStatusWrapper* status, Firebird::ITransaction* transaction, unsigned int blr_length, const unsigned char* blr, unsigned int in_msg_length, const unsigned char* in_msg, @@ -324,8 +332,8 @@ public: unsigned int sdl_length, const unsigned char* sdl, unsigned int param_length, const unsigned char* param, int sliceLength, unsigned char* slice); - void executeDyn(Firebird::CheckStatusWrapper* status, Firebird::ITransaction* transaction, unsigned int length, - const unsigned char* dyn); + void executeDyn(Firebird::CheckStatusWrapper* status, Firebird::ITransaction* transaction, + unsigned int length, const unsigned char* dyn); JStatement* prepare(Firebird::CheckStatusWrapper* status, Firebird::ITransaction* tra, unsigned int stmtLength, const char* sqlStmt, unsigned int dialect, unsigned int flags); Firebird::ITransaction* execute(Firebird::CheckStatusWrapper* status, @@ -367,7 +375,8 @@ private: void freeEngineData(Firebird::CheckStatusWrapper* status); }; -class JService FB_FINAL : public Firebird::RefCntIface > +class JService FB_FINAL : + public Firebird::RefCntIface > { public: // IService implementation @@ -389,7 +398,8 @@ private: void freeEngineData(Firebird::CheckStatusWrapper* status); }; -class JProvider FB_FINAL : public Firebird::StdPlugin > +class JProvider FB_FINAL : + public Firebird::StdPlugin > { public: explicit JProvider(Firebird::IPluginConfig* pConf) diff --git a/src/jrd/ExtEngineManager.h b/src/jrd/ExtEngineManager.h index 100941d26b..ca67f499c7 100644 --- a/src/jrd/ExtEngineManager.h +++ b/src/jrd/ExtEngineManager.h @@ -140,7 +140,8 @@ private: } }; - class ExternalContextImpl : public Firebird::VersionedIface > + class ExternalContextImpl : + public Firebird::VersionedIface > { friend class AttachmentImpl; diff --git a/src/jrd/extds/InternalDS.cpp b/src/jrd/extds/InternalDS.cpp index 2cc91d54c6..1ae8c4c3f5 100644 --- a/src/jrd/extds/InternalDS.cpp +++ b/src/jrd/extds/InternalDS.cpp @@ -375,7 +375,6 @@ void InternalStatement::doPrepare(thread_db* tdbb, const string& sql) LocalStatus status; CheckStatusWrapper statusWrapper(&status); - if (m_request) { doClose(tdbb, true); @@ -417,7 +416,8 @@ void InternalStatement::doPrepare(thread_db* tdbb, const string& sql) tran->getHandle()->tra_caller_name = CallerName(); } - m_request = att->prepare(&statusWrapper, tran, sql.length(), sql.c_str(), m_connection.getSqlDialect(), 0); + m_request = att->prepare(&statusWrapper, tran, sql.length(), sql.c_str(), + m_connection.getSqlDialect(), 0); m_allocated = (m_request != NULL); tran->getHandle()->tra_caller_name = save_caller_name; diff --git a/src/jrd/jrd.cpp b/src/jrd/jrd.cpp index c534a20608..defe43ee15 100644 --- a/src/jrd/jrd.cpp +++ b/src/jrd/jrd.cpp @@ -958,7 +958,8 @@ private: /// trace manager support -class TraceFailedConnection : public AutoIface > +class TraceFailedConnection : + public AutoIface > { public: TraceFailedConnection(const char* filename, const DatabaseOptions* options); diff --git a/src/jrd/trace/TraceConfigStorage.h b/src/jrd/trace/TraceConfigStorage.h index b049addfc0..46561d7b76 100644 --- a/src/jrd/trace/TraceConfigStorage.h +++ b/src/jrd/trace/TraceConfigStorage.h @@ -70,7 +70,8 @@ private: void checkFile(); void touchFile(); - class TouchFile FB_FINAL : public Firebird::RefCntIface > + class TouchFile FB_FINAL : + public Firebird::RefCntIface > { public: void handler(); diff --git a/src/jrd/trace/TraceObjects.cpp b/src/jrd/trace/TraceObjects.cpp index 34d3f856f9..37541bfd4a 100644 --- a/src/jrd/trace/TraceObjects.cpp +++ b/src/jrd/trace/TraceObjects.cpp @@ -416,7 +416,8 @@ const char* TraceTriggerImpl::getRelationName() /// TraceLogWriterImpl -class TraceLogWriterImpl FB_FINAL : public RefCntIface > +class TraceLogWriterImpl FB_FINAL : + public RefCntIface > { public: TraceLogWriterImpl(const TraceSession& session) : diff --git a/src/jrd/trace/TraceObjects.h b/src/jrd/trace/TraceObjects.h index 8327895d8f..44b4424d69 100644 --- a/src/jrd/trace/TraceObjects.h +++ b/src/jrd/trace/TraceObjects.h @@ -51,7 +51,8 @@ class Database; class Attachment; class jrd_tra; -class TraceConnectionImpl : public Firebird::AutoIface > +class TraceConnectionImpl : + public Firebird::AutoIface > { public: TraceConnectionImpl(const Attachment* att) : @@ -77,7 +78,8 @@ private: }; -class TraceTransactionImpl : public Firebird::AutoIface > +class TraceTransactionImpl : + public Firebird::AutoIface > { public: TraceTransactionImpl(const jrd_tra* tran, PerformanceInfo* perf = NULL) : @@ -99,7 +101,8 @@ private: template -class BLRPrinter : public Firebird::AutoIface > +class BLRPrinter : + public Firebird::AutoIface > { public: BLRPrinter(const unsigned char* blr, unsigned length) : @@ -164,7 +167,8 @@ public: }; -class TraceSQLStatementImpl : public Firebird::AutoIface > +class TraceSQLStatementImpl : + public Firebird::AutoIface > { public: TraceSQLStatementImpl(const dsql_req* stmt, PerformanceInfo* perf) : @@ -184,7 +188,8 @@ public: const char* getExplainedPlan(); private: - class DSQLParamsImpl : public Firebird::AutoIface > + class DSQLParamsImpl : + public Firebird::AutoIface > { public: DSQLParamsImpl(Firebird::MemoryPool& pool, const dsql_req* const stmt) : @@ -219,7 +224,8 @@ private: }; -class TraceFailedSQLStatement : public Firebird::AutoIface > +class TraceFailedSQLStatement : + public Firebird::AutoIface > { public: TraceFailedSQLStatement(Firebird::string& text) : @@ -241,7 +247,8 @@ private: }; -class TraceContextVarImpl : public Firebird::AutoIface > +class TraceContextVarImpl : + public Firebird::AutoIface > { public: TraceContextVarImpl(const char* ns, const char* name, const char* value) : @@ -265,7 +272,8 @@ private: // forward declaration class TraceDescriptors; -class TraceParamsImpl : public Firebird::AutoIface > +class TraceParamsImpl : + public Firebird::AutoIface > { public: explicit TraceParamsImpl(TraceDescriptors *descs) : @@ -380,7 +388,8 @@ protected: }; -class TraceProcedureImpl : public Firebird::AutoIface > +class TraceProcedureImpl : + public Firebird::AutoIface > { public: TraceProcedureImpl(jrd_req* request, PerformanceInfo* perf) : @@ -408,7 +417,8 @@ private: }; -class TraceFunctionImpl : public Firebird::AutoIface > +class TraceFunctionImpl : + public Firebird::AutoIface > { public: TraceFunctionImpl(jrd_req* request, Firebird::ITraceParams* inputs, PerformanceInfo* perf, const dsc* value) : @@ -438,7 +448,8 @@ private: }; -class TraceTriggerImpl : public Firebird::AutoIface > +class TraceTriggerImpl : + public Firebird::AutoIface > { public: TraceTriggerImpl(const jrd_req* trig, SSHORT which, PerformanceInfo* perf) : @@ -461,7 +472,8 @@ private: }; -class TraceServiceImpl : public Firebird::AutoIface > +class TraceServiceImpl : + public Firebird::AutoIface > { public: TraceServiceImpl(const Service* svc) : @@ -503,7 +515,8 @@ private: }; -class TraceInitInfoImpl : public Firebird::AutoIface > +class TraceInitInfoImpl : + public Firebird::AutoIface > { public: TraceInitInfoImpl(const Firebird::TraceSession& session, const Attachment* att, @@ -545,7 +558,8 @@ private: }; -class TraceStatusVectorImpl : public Firebird::AutoIface > +class TraceStatusVectorImpl : + public Firebird::AutoIface > { public: explicit TraceStatusVectorImpl(const ISC_STATUS* status) : @@ -575,7 +589,8 @@ private: Firebird::string m_error; }; -class TraceSweepImpl : public Firebird::AutoIface > +class TraceSweepImpl : + public Firebird::AutoIface > { public: TraceSweepImpl() diff --git a/src/plugins/udr_engine/UdrEngine.cpp b/src/plugins/udr_engine/UdrEngine.cpp index 6a90bd4a85..d142498c32 100644 --- a/src/plugins/udr_engine/UdrEngine.cpp +++ b/src/plugins/udr_engine/UdrEngine.cpp @@ -609,7 +609,7 @@ void Engine::openAttachment(ThrowStatusWrapper* /*status*/, IExternalContext* /* } -void Engine::closeAttachment(ThrowStatusWrapper* status, IExternalContext* context) +void Engine::closeAttachment(ThrowStatusWrapper* /*status*/, IExternalContext* context) { MutexLockGuard guard(childrenMutex, FB_FUNCTION); diff --git a/src/remote/remote.h b/src/remote/remote.h index dbe603b651..fbd88ce989 100644 --- a/src/remote/remote.h +++ b/src/remote/remote.h @@ -675,7 +675,8 @@ typedef Firebird::GetPlugins AuthClientPlugins; // Representation of authentication data, visible for plugin // Transfered in format, depending upon type of the packet (phase of handshake) -class ClntAuthBlock FB_FINAL : public Firebird::RefCntIface > +class ClntAuthBlock FB_FINAL : + public Firebird::RefCntIface > { private: Firebird::PathName pluginList; // To be passed to server @@ -730,7 +731,8 @@ public: // Transfered from client data in format, suitable for plugins access typedef Firebird::GetPlugins AuthServerPlugins; -class SrvAuthBlock FB_FINAL : public Firebird::VersionedIface >, +class SrvAuthBlock FB_FINAL : + public Firebird::VersionedIface >, public Firebird::GlobalStorage { private: diff --git a/src/utilities/gsec/gsec.cpp b/src/utilities/gsec/gsec.cpp index 58922efad8..c987d709c0 100644 --- a/src/utilities/gsec/gsec.cpp +++ b/src/utilities/gsec/gsec.cpp @@ -150,7 +150,8 @@ static void merge(Firebird::IIntUserField* to, Firebird::IIntUserField* from) } namespace { - class GsecInfo : public Firebird::AutoIface > + class GsecInfo : + public Firebird::AutoIface > { public: GsecInfo(const char* pDba, const char* pRole, @@ -227,7 +228,8 @@ namespace { } }; - class Display : public Firebird::AutoIface > + class Display : + public Firebird::AutoIface > { public: explicit Display(tsec* t) @@ -289,7 +291,8 @@ namespace { }; - class Callback : public Firebird::AutoIface > + class Callback : + public Firebird::AutoIface > { public: explicit Callback(StackUserData* pu) diff --git a/src/utilities/ntrace/PluginLogWriter.h b/src/utilities/ntrace/PluginLogWriter.h index 9c4a03be13..6ff0b886ac 100644 --- a/src/utilities/ntrace/PluginLogWriter.h +++ b/src/utilities/ntrace/PluginLogWriter.h @@ -47,7 +47,8 @@ #include -class PluginLogWriter FB_FINAL : public Firebird::RefCntIface > +class PluginLogWriter FB_FINAL : + public Firebird::RefCntIface > { public: PluginLogWriter(const char* fileName, size_t maxSize); diff --git a/src/utilities/ntrace/TracePluginImpl.h b/src/utilities/ntrace/TracePluginImpl.h index dea7555d74..8ae7511798 100644 --- a/src/utilities/ntrace/TracePluginImpl.h +++ b/src/utilities/ntrace/TracePluginImpl.h @@ -45,7 +45,8 @@ // Bring in off_t #include -class TracePluginImpl FB_FINAL : public Firebird::RefCntIface > +class TracePluginImpl FB_FINAL : + public Firebird::RefCntIface > { public: // Serialize exception to TLS buffer to return it to user diff --git a/src/utilities/ntrace/traceplugin.cpp b/src/utilities/ntrace/traceplugin.cpp index 2b17d8f6cd..f541c7053f 100644 --- a/src/utilities/ntrace/traceplugin.cpp +++ b/src/utilities/ntrace/traceplugin.cpp @@ -32,7 +32,8 @@ #include "TraceConfiguration.h" #include "TracePluginImpl.h" -class TraceFactoryImpl FB_FINAL : public Firebird::StdPlugin > +class TraceFactoryImpl FB_FINAL : + public Firebird::StdPlugin > { public: explicit TraceFactoryImpl(Firebird::IPluginConfig*) @@ -40,7 +41,8 @@ public: // TraceFactory implementation ntrace_mask_t trace_needs(); - Firebird::ITracePlugin* trace_create(Firebird::CheckStatusWrapper* status, Firebird::ITraceInitInfo* init_info); + Firebird::ITracePlugin* trace_create(Firebird::CheckStatusWrapper* status, + Firebird::ITraceInitInfo* init_info); int release(); }; diff --git a/src/yvalve/MasterImplementation.cpp b/src/yvalve/MasterImplementation.cpp index 7b6de711df..848b0916bc 100644 --- a/src/yvalve/MasterImplementation.cpp +++ b/src/yvalve/MasterImplementation.cpp @@ -575,7 +575,8 @@ THREAD_ENTRY_DECLARE TimerEntry::timeThread(THREAD_ENTRY_PARAM) } // namespace -class TimerImplementation : public AutoIface > +class TimerImplementation : + public AutoIface > { public: // ITimerControl implementation diff --git a/src/yvalve/MasterImplementation.h b/src/yvalve/MasterImplementation.h index 61f44bb4a3..892e329052 100644 --- a/src/yvalve/MasterImplementation.h +++ b/src/yvalve/MasterImplementation.h @@ -51,7 +51,8 @@ namespace Why Firebird::IDtcStart* startBuilder(Firebird::CheckStatusWrapper* status); }; - class MasterImplementation : public Firebird::AutoIface > + class MasterImplementation : + public Firebird::AutoIface > { public: static Firebird::Static dtc; diff --git a/src/yvalve/PluginManager.cpp b/src/yvalve/PluginManager.cpp index 3bff585fce..544b5a4c48 100644 --- a/src/yvalve/PluginManager.cpp +++ b/src/yvalve/PluginManager.cpp @@ -111,7 +111,8 @@ namespace bool flShutdown = false; - class ConfigParameterAccess FB_FINAL : public RefCntIface > + class ConfigParameterAccess FB_FINAL : + public RefCntIface > { public: ConfigParameterAccess(IReferenceCounted* c, const ConfigFile::Parameter* p) : cf(c), par(p) { } @@ -155,7 +156,8 @@ namespace const ConfigFile::Parameter* par; }; - class ConfigAccess FB_FINAL : public RefCntIface > + class ConfigAccess FB_FINAL : + public RefCntIface > { public: ConfigAccess(RefPtr c) : confFile(c) { } @@ -431,7 +433,8 @@ namespace // Provides most of configuration services for plugins, // except per-database configuration in databases.conf - class ConfiguredPlugin FB_FINAL : public RefCntIface > + class ConfiguredPlugin FB_FINAL : + public RefCntIface > { public: ConfiguredPlugin(RefPtr pmodule, unsigned int preg, @@ -515,7 +518,8 @@ namespace }; // Provides per-database configuration from databases.conf. - class FactoryParameter FB_FINAL : public RefCntIface > + class FactoryParameter FB_FINAL : + public RefCntIface > { public: FactoryParameter(ConfiguredPlugin* cp, IFirebirdConf* fc) diff --git a/src/yvalve/YObjects.h b/src/yvalve/YObjects.h index 98616d5f97..94d4d31451 100644 --- a/src/yvalve/YObjects.h +++ b/src/yvalve/YObjects.h @@ -164,7 +164,8 @@ public: Firebird::RefPtr next; }; -class YEvents FB_FINAL : public YHelper > +class YEvents FB_FINAL : + public YHelper > { public: static const ISC_STATUS ERROR_CODE = isc_bad_events_handle; @@ -182,7 +183,8 @@ public: Firebird::RefPtr callback; }; -class YRequest FB_FINAL : public YHelper > +class YRequest FB_FINAL : + public YHelper > { public: static const ISC_STATUS ERROR_CODE = isc_bad_req_handle; @@ -210,7 +212,8 @@ public: FB_API_HANDLE* userHandle; }; -class YTransaction FB_FINAL : public YHelper > +class YTransaction FB_FINAL : + public YHelper > { public: static const ISC_STATUS ERROR_CODE = isc_bad_trans_handle; @@ -287,7 +290,8 @@ public: YTransaction* transaction; }; -class YResultSet FB_FINAL : public YHelper > +class YResultSet FB_FINAL : + public YHelper > { public: static const ISC_STATUS ERROR_CODE = isc_bad_result_set; @@ -332,7 +336,8 @@ private: bool input; }; -class YStatement FB_FINAL : public YHelper > +class YStatement FB_FINAL : + public YHelper > { public: static const ISC_STATUS ERROR_CODE = isc_bad_stmt_handle; @@ -386,7 +391,8 @@ public: Firebird::Mutex enterMutex; }; -class YAttachment FB_FINAL : public YHelper >, +class YAttachment FB_FINAL : + public YHelper >, public EnterCount { public: @@ -461,7 +467,8 @@ public: Firebird::StatusHolder savedStatus; // Do not use raise() method of this class in yValve. }; -class YService FB_FINAL : public YHelper >, +class YService FB_FINAL : + public YHelper >, public EnterCount { public: @@ -492,7 +499,8 @@ private: bool utf8Connection; // Client talks to us using UTF8, else - system default charset }; -class Dispatcher FB_FINAL : public Firebird::StdPlugin > +class Dispatcher FB_FINAL : + public Firebird::StdPlugin > { public: Dispatcher() @@ -528,7 +536,8 @@ private: Firebird::ICryptKeyCallback* cryptCallback; }; -class UtilInterface FB_FINAL : public Firebird::AutoIface > +class UtilInterface FB_FINAL : + public Firebird::AutoIface > { // IUtil implementation public: diff --git a/src/yvalve/perf.cpp b/src/yvalve/perf.cpp index 6b2ffa3288..aaf75ecf9b 100644 --- a/src/yvalve/perf.cpp +++ b/src/yvalve/perf.cpp @@ -443,8 +443,8 @@ KnownCounters knownCounters[TOTAL_COUNTERS] = { } // anonymous namespace -void Why::UtilInterface::getPerfCounters(Firebird::CheckStatusWrapper* status, Firebird::IAttachment* att, - const char* countersSet, ISC_INT64* counters) +void Why::UtilInterface::getPerfCounters(Firebird::CheckStatusWrapper* status, + Firebird::IAttachment* att, const char* countersSet, ISC_INT64* counters) { try { diff --git a/src/yvalve/why.cpp b/src/yvalve/why.cpp index 081552a9cd..ec729005bd 100644 --- a/src/yvalve/why.cpp +++ b/src/yvalve/why.cpp @@ -106,7 +106,8 @@ namespace { // Class-wrapper around external SQLDA. // Can be used as local variable, but do it with care -class SQLDAMetadata FB_FINAL : public RefCntIface > +class SQLDAMetadata FB_FINAL : + public RefCntIface > { friend class SQLDAMetadataLauncher; private: @@ -1385,7 +1386,8 @@ namespace { } } - FB_BOOLEAN IscStatement::fetch(CheckStatusWrapper* status, IMessageMetadata* outMetadata, UCHAR* outBuffer) + FB_BOOLEAN IscStatement::fetch(CheckStatusWrapper* status, IMessageMetadata* outMetadata, + UCHAR* outBuffer) { checkCursorOpened(); @@ -2762,7 +2764,8 @@ int API_ROUTINE gds__enable_subsystem(TEXT* /*subsystem*/) namespace { - class WaitCallback FB_FINAL : public RefCntIface > + class WaitCallback FB_FINAL : + public RefCntIface > { public: explicit WaitCallback(UCHAR* aBuffer) @@ -4011,7 +4014,8 @@ void YBlob::getInfo(CheckStatusWrapper* status, unsigned int itemsLength, } } -int YBlob::getSegment(CheckStatusWrapper* status, unsigned int bufferLength, void* buffer, unsigned int* segmentLength) +int YBlob::getSegment(CheckStatusWrapper* status, unsigned int bufferLength, + void* buffer, unsigned int* segmentLength) { try { @@ -4649,7 +4653,8 @@ void YTransaction::getInfo(CheckStatusWrapper* status, unsigned int itemsLength, } } -void YTransaction::prepare(CheckStatusWrapper* status, unsigned int msgLength, const unsigned char* message) +void YTransaction::prepare(CheckStatusWrapper* status, unsigned int msgLength, + const unsigned char* message) { try { @@ -5366,7 +5371,8 @@ YTransaction* YAttachment::getTransaction(CheckStatusWrapper* status, ITransacti } -void YAttachment::getNextTransaction(CheckStatusWrapper* status, ITransaction* tra, NextTransaction& next) +void YAttachment::getNextTransaction(CheckStatusWrapper* status, ITransaction* tra, + NextTransaction& next) { next = getTransaction(status, tra)->next; if (!next.hasData()) @@ -5695,7 +5701,6 @@ void Dispatcher::shutdown(CheckStatusWrapper* userStatus, unsigned int timeout, StatusVector status(NULL); CheckStatusWrapper statusWrapper(&status); - #ifdef DEV_BUILD // Make timeout huge in debug build: hard to debug something during 5-10 sec if (timeout)