[BUG] Error on autocompletion when typing database name followed by a dot

[expired user #9851]'s profile image [expired user #9851] posted 8 years ago in General Permalink

Each time in the query editor I type the name of a database following by a dot, the program give me an error, instead of the list of the tables.

2 attachment(s):
ansgar's profile image ansgar posted 8 years ago Permalink

I'll paste the relevant part of the callstack here for my own conveniance. Will check what's wrong there.

exception class    : EArgumentOutOfRangeException
exception message  : Argument out of range.

main thread ($278c):
00782d63 heidisql.exe helpers                 38   +0 {System.Generics.Collections}TList<helpers.TSQLSentence>.GetItem
00847108 heidisql.exe dbconnection          3424   +9 TDBConnection.PrefetchResults
008451e7 heidisql.exe dbconnection          2989  +20 TDBConnection.PrefetchCreateCode
0095ab99 heidisql.exe Main                  5624 +110 TMainForm.SynCompletionProposalExecute
Code modification/commit 9754d5d from ansgarbecker, 8 years ago, revision 9.3.0.5082
Fix EArgumentOutOfRangeException in TDBConnection.PrefetchResults when SQL batch could not be separated correctly. Should be a rare case, but happened, see http://www.heidisql.com/forum.php?t=21380
ansgar's profile image ansgar posted 8 years ago Permalink

Should be fixed in r5082. Please update HeidiSQL.

[expired user #9851]'s profile image [expired user #9851] posted 8 years ago Permalink

Now it's ok. Thank you!

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