| 829 | } |
| 830 | |
| 831 | void InternalBlob::write(thread_db* tdbb, const UCHAR* buff, USHORT len) |
| 832 | { |
| 833 | fb_assert(m_blob); |
| 834 | |
| 835 | FbLocalStatus status; |
| 836 | |
| 837 | { |
| 838 | EngineCallbackGuard guard(tdbb, m_connection, FB_FUNCTION); |
| 839 | m_blob->putSegment(&status, len, buff); |
| 840 | } |
| 841 | |
| 842 | if (status->getState() & IStatus::STATE_ERRORS) |
| 843 | m_connection.raise(&status, tdbb, "JBlob::putSegment"); |
| 844 | } |
| 845 | |
| 846 | void InternalBlob::close(thread_db* tdbb) |
| 847 | { |
nothing calls this directly
no test coverage detected