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

Method getMaxInlineBlobSize

src/remote/client/interface.cpp:2548–2565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2546
2547
2548unsigned Attachment::getMaxInlineBlobSize(CheckStatusWrapper* status)
2549{
2550 try
2551 {
2552 reset(status);
2553 CHECK_HANDLE(rdb, isc_bad_db_handle);
2554
2555 if (rdb->rdb_port->port_protocol < PROTOCOL_INLINE_BLOB)
2556 unsupported();
2557
2558 return rdb->rdb_inline_blob_size;
2559 }
2560 catch (const Exception& ex)
2561 {
2562 ex.stuffException(status);
2563 }
2564 return 0;
2565}
2566
2567
2568void Attachment::setMaxInlineBlobSize(CheckStatusWrapper* status, unsigned size)

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected