Sitelet https://github.com/HeidiSQL/HeidiSQL/issues/2583
Skip to content

Very large scripts get truncated when restarting the application. #2583

Description

@frankkaaijk

Description

A part of the contents of a query tab gets lost when restarting the application.

HeidiSQL version and OS

12.20.0.7320 Windows 11 Enterprise

Database server version

Reproduction recipe

I use the 'export grid rows' function to create a script of SQL INSERTs using the clipboard to transport it. In this particular case I'm exporting 3310 rows resulting in the same number of statements in the script, which amounts to roughly 18,8 megabytes. I paste this in a new query tab. Each line in the script contains a 'Version' field running from 1 to 3310.

I now close HeidiSQL (don't save) and reopen.

Result: The (unsaved) query tab now contains only 1000 lines. It seems a bite of a thousand lines is taken out of the original running from 3213-2214 (so the order is reversed as well)

Expected: All 3310 are still in the (unsaved) query tab.

Error/Backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefective behaviour in HeidiSQL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions