drop triggers with filter does not work

[expired user #5298]'s profile image [expired user #5298] posted 13 years ago in General Permalink
I get to the database tab and filter triggers through the filter field
Afterwards i mark the triggers and delete them and get this bug report

date/time : 2010-11-17, 15:32:41, 665ms
operating system : Windows XP Service Pack 3 build 2600
system language : English
system up time : 1 day 5 hours
program up time : 14 seconds
processors : 2x Intel(R) Pentium(R) 4 CPU 3.00GHz
physical memory : 1839/3063 MB (free/total)
free disk space : (C:) 45.02 GB
display mode : 1280x1024, 32 bit
process id : $477c
allocated memory : 19.00 MB
executable : heidisql.exe
exec. date/time : 2010-11-17 15:32
version : 5.1.0.3598
compiled with : Delphi 2010
madExcept version : 3.0k
callstack crc : $23605a31, $40636b97, $40636b97
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 007633EC in module 'heidisql.exe'. Read of address 00000098.

main thread ($40cc):
007633ec heidisql.exe mysql_connection 2852 +0 TDBObjectDropComparer.Compare
0076b2c7 heidisql.exe mysql_connection 3135 +0 TArray.QuickSort<mysql_connection.TDBObject>
0076a788 heidisql.exe mysql_connection 3135 +0 TArray.Sort<mysql_connection.TDBObject>
00764f2d heidisql.exe mysql_connection 3135 +0 TList<mysql_connection.TDBObject>.Sort
006c2c6e heidisql.exe Main 2657 +47 TMainForm.actDropObjectsExecute
00499edb heidisql.exe Classes TBasicAction.Execute
00555ecd heidisql.exe ActnList TContainedAction.Execute
00556c88 heidisql.exe ActnList TCustomAction.Execute
00499d9f heidisql.exe Classes TBasicActionLink.Execute
00526d50 heidisql.exe Menus TMenuItem.Click
00528323 heidisql.exe Menus TMenu.DispatchCommand
00529502 heidisql.exe Menus TPopupList.WndProc
00529451 heidisql.exe Menus TPopupList.MainWndProc
0049a588 heidisql.exe Classes StdWndProc
7e418a0b USER32.dll DispatchMessageW
0056b2bd heidisql.exe Forms TApplication.ProcessMessage
0056b302 heidisql.exe Forms TApplication.HandleMessage
0056b62d heidisql.exe Forms TApplication.Run
007a573a heidisql.exe heidisql 66 +15 initialization

[expired user #5298]'s profile image [expired user #5298] posted 13 years ago Permalink
In version 6 (3603) it is even worse. It crashes without saying anything
Code modification/commit from ansgar.becker, 13 years ago, revision 6.0.0.3605
Fix stack overflow in object comparer when deleting triggers. See http://www.heidisql.com/forum.php?t=6915
ansgar's profile image ansgar posted 13 years ago Permalink
Should be fixed in r3605. Had nothing to with filters, just triggers became sorted in some competing endless loop.

Please login to leave a reply, or register at first.