Skip to content

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

Open

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

Activity

  1. ansgarbecker commented on Aug 25, 2026

    @ansgarbecker
    Collaborator

    Can you please post the script used for creating the rows here? Please remove sensitive data if any.

  2. frankkaaijk commented on Aug 26, 2026

    @frankkaaijk
    Author

    I can't post the original script, it is riddled with sensitive data, mostly inside a JSON colum. I'll will try to reproduce it using 'random' data, but allow for sometime to generate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefective behaviour in HeidiSQLneeds-infoReport needs and waits for additional feedback

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions