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

Method getMaxBlobCacheSize

src/remote/client/interface.cpp:2509–2526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2507
2508
2509unsigned Attachment::getMaxBlobCacheSize(CheckStatusWrapper* status)
2510{
2511 try
2512 {
2513 reset(status);
2514 CHECK_HANDLE(rdb, isc_bad_db_handle);
2515
2516 if (rdb->rdb_port->port_protocol < PROTOCOL_INLINE_BLOB)
2517 unsupported();
2518
2519 return rdb->rdb_blob_cache_size;
2520 }
2521 catch (const Exception& ex)
2522 {
2523 ex.stuffException(status);
2524 }
2525 return 0;
2526}
2527
2528
2529void Attachment::setMaxBlobCacheSize(CheckStatusWrapper* status, unsigned size)

Callers

nothing calls this directly

Calls 4

CHECK_HANDLEFunction · 0.85
unsupportedFunction · 0.85
resetFunction · 0.70
stuffExceptionMethod · 0.45

Tested by

no test coverage detected