Skip to content

Fixes #72931. Driver fails on "insert returning" or "execute procedure" statements on Firebird 3.#2230

Closed
madorin wants to merge 12 commits intophp:masterfrom
madorin:master
Closed

Fixes #72931. Driver fails on "insert returning" or "execute procedure" statements on Firebird 3.#2230
madorin wants to merge 12 commits intophp:masterfrom
madorin:master

Conversation

@madorin
Copy link
Contributor

@madorin madorin commented Dec 5, 2016

No description provided.

if (isc_dsql_execute(H->isc_status, &H->tr, &S->stmt, PDO_FB_SQLDA_VERSION, S->in_sqlda)) {
/* allocate storage for the output data */
if (S->out_sqlda.sqln) {
for (unsigned int i = 0; i < S->out_sqlda.sqln; i++) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the C89 compat.

Thanks.

@weltling
Copy link

weltling commented Dec 6, 2016

A test is required, as usual :) Please add one.

Thanks.

@weltling
Copy link

weltling commented Dec 7, 2016

Merged with 13ffa88.

Thanks!

@weltling weltling closed this Dec 7, 2016
@weltling
Copy link

weltling commented Dec 7, 2016

Btw, a backport to 5.6 could be nice,

Thanks.

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.

2 participants