[lazy_send mode] problem with alloc_stmt+prepare_stmt operation ---------------------------------------------------------------
Key: CORE-4988 URL: http://tracker.firebirdsql.org/browse/CORE-4988 Project: Firebird Core Issue Type: Bug Components: API / Client Library Affects Versions: 2.5.4, 2.5.5 Reporter: Kovalenko Dmitry In lazy_send mode, when the statement prepares the first own SQL, fbclient.dll sends two packet: op_allocate_statement and op_prepare_statement If first operation [op_allocate_statement] is failed, fbclient.dll not receives the answer for second operation [op_prepare_statement]. --------------- [interface.cpp, GDS_DSQL_PREPARE] // Set up for the response packet. if (statement->rsr_flags.test(Rsr::LAZY)) { if (!receive_response(rdb, packet)) return user_status[1]; // <------- WRONG EXIT !!! statement->rsr_id = packet->p_resp.p_resp_object; SET_OBJECT(rdb, statement, statement->rsr_id); statement->rsr_flags.clear(Rsr::LAZY); } ---------------[/interface.cpp] At result, fbclient.dll starts to works incorrectly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel