Skip to content

On Windows 7 isql exits silently right after the start. #8690

@hvlad

Description

@hvlad

Reported in fb-support

The problem is that on Windows 7 ReadConsole() doesn't accept input buffer of 64K wide characters.
This is never documented limitation and it looks like it was fixed in Windows 10 only.
The fix is to handle ERROR_NOT_ENOUGH_MEMORY error and reduce input buffer size.
On my test Win7 it accept 31231 chars.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions