[Lazarus] KeepConnection behaviour

2014-03-21 Thread Kapibara Pas
If KeepConnection is false, shouldn't the connection close automatically when all querys are closed? Conn.KeepConnection:=False; Query.Close; //Test connection: if Conn.Connected then MessageDlg('Bug?', 'Query closed, but connection still open!', mtInformation, [mbOK], 0); Maybe I'

Re: [Lazarus] TSQLQuery.ParamCheck

2014-03-03 Thread Kapibara Pas
Thanks for the replies, its solved now. The property ParamCheck doesnt exist in FPC 2.62. So I just recompiled Lazarus 1.2RC2 with FPC 2.71 (make clean bigide) and restarted Lazarus. Voila: ParamCheck shows up! Btw, three places in Registersqldb.pas that has to do with MYSQL56 was necessary

[Lazarus] TSQLQuery.ParamCheck

2014-03-01 Thread Kapibara Pas
Hi there! This is my first posting on the mailing list. Thank you for your work on Lazarus!! I have a question: An earlier revision of Lazarus had the ParamCheck property implemented for SQLQuery. In the latest trunk that property is gone and all code removed from SQLdb.pas Could someone fill