It's inactive even after I execute a query. If AUTO COMMIT is set to 0
,the changes are not saved to database. Very bad.

Yes, I could use other DB components, but my app already has over 60k
lines of code, several threads connected to DB etc. It won't be easy
to move to something else :(.

Petr

2014-03-14 19:46 GMT+01:00 silvioprog <silviop...@gmail.com>:
> 2014-03-14 11:55 GMT-03:00 Petr Hlozek <p...@ok2cqr.com>:
>
>> Yes, I did. It's in uses like mysql55conn.
>>
>> Petr
>
>
> Hm... Try to set a SQL in your query, after, use the q.Open (the
> starttransaction will automaticaly triggered) method, checking if
> transaction keeps inactive.
>
> justa a tip: take a little time to see this nice and slim project:
> https://github.com/silvioprog/dopf.. ;)
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
http://HamQTH.com/ok2cqr
http://ok2cqr.com
http://cqrlog.com
http://cqrtest.com

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to