Skip to content

refactor: complete M3 migration - fbird_batch_create returns Firebird\BatchHandle#291

Merged
satwareAG-ironMike merged 1 commit into
satware-mainfrom
refactor/m3-batch-create-object-233
Jul 1, 2026
Merged

refactor: complete M3 migration - fbird_batch_create returns Firebird\BatchHandle#291
satwareAG-ironMike merged 1 commit into
satware-mainfrom
refactor/m3-batch-create-object-233

Conversation

@satwareAG-ironMike

Copy link
Copy Markdown

Closes #233.

Replaces the last RETVAL_RES in the codebase with fbird_setup_batch_object(). All 9 batch functions updated to dual-accept objects and resources via fbird_batch_from_zval() helper.

1 file, +31/-19 lines. Tests: 204 pass / 76 skip / 0 fail.

…\BatchHandle (#233)

Replace the last RETVAL_RES in the codebase with
fbird_setup_batch_object(), returning a Firebird\BatchHandle object
instead of a raw resource.

All 9 batch consuming functions (fbird_batch_add, _execute, _cancel,
_add_blob, _register_blob, _get_blob_alignment, _append_blob_data,
_add_blob_stream, _set_default_bpb) updated to dual-accept both
Firebird\BatchHandle objects and legacy resources via a new
fbird_batch_from_zval() helper. Parameter specs changed from 'r' to 'z'
to accept objects.

Consistent with all other M3-migrated types (Connection, Transaction,
ResultSet, Blob, Event, Service).

Closes #233.
@satwareAG-ironMike satwareAG-ironMike merged commit f96e84e into satware-main Jul 1, 2026
14 of 41 checks passed
@satwareAG-ironMike satwareAG-ironMike deleted the refactor/m3-batch-create-object-233 branch July 1, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: complete M3 migration - fbird_batch_create returns raw resource instead of Firebird\BatchHandle object

1 participant