MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getServerCapabilities

Function getServerCapabilities

src/jrd/svc.cpp:666–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664namespace
665{
666 inline ULONG getServerCapabilities()
667 {
668 ULONG val = REMOTE_HOP_SUPPORT;
669#ifdef WIN_NT
670 val |= QUOTED_FILENAME_SUPPORT;
671#endif // WIN_NT
672
673 Firebird::MasterInterfacePtr master;
674 switch (master->serverMode(-1))
675 {
676 case 1: // super
677 val |= MULTI_CLIENT_SUPPORT;
678 break;
679 case 0: // classic
680 val |= NO_SERVER_SHUTDOWN_SUPPORT;
681 break;
682 default: // none-server mode
683 break;
684 }
685
686 return val;
687 }
688}
689
690Service::Service(const TEXT* service_name, USHORT spb_length, const UCHAR* spb_data,

Callers 2

query2Method · 0.85
queryMethod · 0.85

Calls 1

serverModeMethod · 0.45

Tested by

no test coverage detected