[Lazarus] AutoCommit

Larry Dalton larrydalton71 at gmail.com
Fri Nov 13 17:47:09 CET 2020


This problem was brought to light when I couldn’t get 2.0.10 apps to hook up to MySQL on Windows. I have no problem on my Linux box.

Sent from my iPhone

> On Nov 13, 2020, at 11:34, Michał Gawrycki <michal.gawrycki at gmsystems.pl> wrote:
> 
> Remove this property from lfm file and set it by code if needed (maybe along with ifdef).
> 
> Michał.
> 
> W dniu 2020-11-13 o 17:19, Larry Dalton via lazarus pisze:
>> So we lose some backwards portability?
>> Sent from my iPhone
>>>> On Nov 13, 2020, at 11:06, Michael Van Canneyt <michael at freepascal.org> wrote:
>>> 
>>> 
>>> Your .lfm file contains a property "autocommit" that exists in 2.0.10 but not in 2.0.6.
>>> I think 2.0.10 is based on FPC 3.2.0 and 2.0.6 was still based on 3.0.4.
>>> 
>>> A lot of new properties appeared between 3.0.4 and 3.2.0.
>>> 
>>> Michael.
>>> 
>>>> On Fri, 13 Nov 2020, Larry Dalton via lazarus wrote:
>>>> 
>>>> I forgot to add that it compiles correctly, but then I get the runtime error
>>>> Sent from my iPhone
>>>> 
>>>>>> On Nov 13, 2020, at 11:02, Larry Dalton <larrydalton71 at gmail.com> wrote:
>>>>> This is only when I try to compile on Lazarus 2.0.6 on Windows. The project works fine on 2.0.10 on Linux. Any ideas?
>>>>> Sent from my iPhone
>>>>>> On Nov 13, 2020, at 10:58, Larry Dalton <larrydalton71 at gmail.com> wrote:
>>>>>> Error code “Project ****** raised exception class ‘EReadError with unknown property ‘AutoCommit’
>>>>>> Sent from my iPhone
>>>> -- 
>>>> _______________________________________________
>>>> lazarus mailing list
>>>> lazarus at lists.lazarus-ide.org
>>>> https://lists.lazarus-ide.org/listinfo/lazarus
> 
> -- 
> 
> 
> GM Systems
> ul. K.Marksa 9
> 58-260 Bielawa
> tel. +48 694 178 276
> http://www.gmsystems.pl/


More information about the lazarus mailing list