mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:03:03 +01:00
Cleanup - thanks to Mark
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bd0ffc5f52
commit
857f09ece9
@ -4860,13 +4860,6 @@ ISC_STATUS rem_port::prepare_statement(P_SQLST * prepareL, PACKET* sendL)
|
|||||||
if (status_vector.getState() & Firebird::IStatus::STATE_ERRORS)
|
if (status_vector.getState() & Firebird::IStatus::STATE_ERRORS)
|
||||||
return this->send_response(sendL, 0, 0, &status_vector, false);
|
return this->send_response(sendL, 0, 0, &status_vector, false);
|
||||||
|
|
||||||
if (statement->rsr_cursor_name.hasData())
|
|
||||||
{
|
|
||||||
statement->rsr_iface->setCursorName(&status_vector, statement->rsr_cursor_name.c_str());
|
|
||||||
if (status_vector.getState() & Firebird::IStatus::STATE_ERRORS)
|
|
||||||
return this->send_response(sendL, 0, 0, &status_vector, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
LocalStatus ls2;
|
LocalStatus ls2;
|
||||||
CheckStatusWrapper s2(&ls2);
|
CheckStatusWrapper s2(&ls2);
|
||||||
statement->rsr_iface->getInfo(&s2, infoLength, info, prepareL->p_sqlst_buffer_length, buffer);
|
statement->rsr_iface->getInfo(&s2, infoLength, info, prepareL->p_sqlst_buffer_length, buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user