| 2566 | |
| 2567 | |
| 2568 | void 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 | |
| 2590 | unsigned Statement::getMaxInlineBlobSize(CheckStatusWrapper* status) |
nothing calls this directly
no test coverage detected