Skip to content

Commit d366ff3

Browse files
authored
https://github.com/FirebirdSQL/firebird-odbc-driver/issues/236
1 parent 8e98847 commit d366ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IscDbc/Attachment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ void Attachment::openDatabase(const char *dbName, Properties *properties)
357357

358358
if( ( check_status.getState() & IStatus::STATE_ERRORS ) == 0 )
359359
{
360-
for (auto p = result; p < result + sizeof (result) && *p != isc_info_end;)
360+
for (auto p = result; p < result + sizeof (result) && *p != isc_info_end && *p != isc_info_truncated;)
361361
{
362362
char item = *p++;
363363
int length = GDS->_vax_integer (p, 2);

0 commit comments

Comments
 (0)