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

Method setMaxInlineBlobSize

src/remote/client/interface.cpp:2568–2587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2566
2567
2568void Attachment::setMaxInlineBlobSize(CheckStatusWrapper* status, unsigned size)
2569{
2570 try
2571 {
2572 reset(status);
2573 CHECK_HANDLE(rdb, isc_bad_db_handle);
2574
2575 if (rdb->rdb_port->port_protocol < PROTOCOL_INLINE_BLOB)
2576 unsupported();
2577
2578 if (size > MAX_INLINE_BLOB_SIZE)
2579 size = MAX_INLINE_BLOB_SIZE;
2580
2581 rdb->rdb_inline_blob_size = size;
2582 }
2583 catch (const Exception& ex)
2584 {
2585 ex.stuffException(status);
2586 }
2587}
2588
2589
2590unsigned Statement::getMaxInlineBlobSize(CheckStatusWrapper* status)

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