| 2546 | |
| 2547 | |
| 2548 | unsigned 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 | |
| 2568 | void Attachment::setMaxInlineBlobSize(CheckStatusWrapper* status, unsigned size) |
nothing calls this directly
no test coverage detected