makssent opened a new issue, #39052:
URL: https://github.com/apache/shardingsphere/issues/39052

   ## Feature Request
   
   **Is your feature request related to a problem?**
   
   BLOB operations in Firebird Proxy currently have no error handling: invalid 
requests are silently accepted instead of returning proper Firebird status 
vectors, which can lead to silent data loss (e.g. NULL inserted instead of BLOB 
content).
   
   Error responses for Firebird Proxy are not merged yet and are in review in 
#38927. Once that PR is merged, BLOB operations should be extended to use it.
   
   **Describe the feature you would like.**
   
   After #38927 is merged, add error handling for BLOB operations:
   
   - op_put_segment / op_batch_segments with an unknown BLOB handle should 
return isc_bad_segstr_handle instead of a success response
   - op_open_blob / op_open_blob2 with an unknown BLOB id should return 
isc_bad_segstr_id instead of registering an empty BLOB
   - segments received after the buffered BLOB size limit was exceeded 
(isc_blobtoobig) should keep failing instead of being accepted again
   - op_put_segment after op_close_blob should return an error instead of 
appending to a closed BLOB
   - executing a statement with a BLOB parameter referencing an unknown or 
unclosed BLOB should return an error instead of binding NULL
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to