Skip to content

Commit ebb64f9

Browse files
committed
Fixed wrong protocol version usage, as noted by Mark
1 parent ab147f7 commit ebb64f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/isql/isql.epp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ enum literal_string_type
124124
#include "../isql/PtrSentry.h"
125125
#include "../common/classes/UserBlob.h"
126126
#include "../common/classes/MsgPrint.h"
127-
#include "../common/classes/array.h"
127+
#include "../remote/protocol.h"
128128

129129
using namespace Firebird;
130130
using MsgFormat::SafeArg;
@@ -4008,8 +4008,8 @@ static void check_autoterm()
40084008
}
40094009
}
40104010

4011-
if (!(protocolVersion == 0 || protocolVersion >= 19) && // PROTOCOL_VERSION19
4012-
isqlGlob.major_ods >= ODS_VERSION14)
4011+
if (!(protocolVersion == 0 || protocolVersion >= PROTOCOL_PREPARE_FLAG) &&
4012+
isqlGlob.major_ods >= ODS_VERSION14)
40134013
{
40144014
setValues.AutoTerm = false;
40154015

0 commit comments

Comments
 (0)