You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Very large scripts get truncated when restarting the application. #2583
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.
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.
Activity
ansgarbecker commentedon Aug 25, 2026
Can you please post the script used for creating the rows here? Please remove sensitive data if any.
frankkaaijk commentedon Aug 26, 2026
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.