HeidiSQL version 8.3.0.4818 and up crashed when connecting MS SQL Server 2000

[expired user #8353]'s profile image [expired user #8353] posted 10 years ago in General Permalink
As per subject, no problems when reverted back to build 4817. Connecting MySQL does not have problems.
ansgar's profile image ansgar posted 10 years ago Permalink
Please post the crash message here. r4818 changed indeed something MSSQL specific - the query for getting the server version. Heidi now fires
"SELECT SERVERPROPERTY('ProductVersion')"
after the
"SELECT @@VERSION".

However, I got no crash here on MSSQL 2008, and I am catching exceptions on older servers. So please report what error you're exactly getting on your connection.
[expired user #8353]'s profile image [expired user #8353] posted 10 years ago Permalink
Excerpt from the pop-up window:

process id: $a34
executable: heidisql.exe
exec. date/time: 2014-09-17 08:02
version: 8.3.0.4818
compiled with: Delphi XE5
madExcept version: 4.0.8.1
callstack crc: $c6886607, $5dd30ed3, $5dd30ed3
exception number: 1
exception class: EDivByZero
exception message: Division by zero.
Code modification/commit from ansgar.becker, 10 years ago, revision 8.3.0.4820
Fix division by zero crash when SQL server reports an empty string from SELECT SERVERPROPERTY('ProductVersion'). See http://www.heidisql.com/forum.php?t=16369
ansgar's profile image ansgar posted 10 years ago Permalink
Fixed in r4820
[expired user #8353]'s profile image [expired user #8353] posted 10 years ago Permalink
It works. Thanks for your effort.

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