Search found 53 matches

by ertank
04.04.2022, 04:39
Forum: ZeosLib 7.3/8.0 Forum
Topic: Source code system to use
Replies: 10
Views: 627

Re: Source code system to use

Lazarus on Raspberry Pi also compiles Zeos just fine now.

Thanks & Regards,
Ertan
by ertank
29.03.2022, 13:50
Forum: ZeosLib 7.3/8.0 Forum
Topic: Source code system to use
Replies: 10
Views: 627

Re: Source code system to use

Hello Jan,

Right, removing all previous sources and letting fpcupdeluxe download from scratch compiles fine on Windows.

Now, I need to test same on Raspberry Pi.

Thanks & Regards,
Ertan
by ertank
28.03.2022, 11:59
Forum: ZeosLib 7.3/8.0 Forum
Topic: Source code system to use
Replies: 10
Views: 627

Re: Source code system to use

Hello Jan,

I appreciated the help. Will it be fine if I try tomorrow again? Or, these tests takes longer than a day?

Thanks,
Ertan
by ertank
24.03.2022, 14:05
Forum: ZeosLib 7.3/8.0 Forum
Topic: Source code system to use
Replies: 10
Views: 627

Re: Source code system to use

Just got my attention {$IFDEF WITH_FTLONGWORD} , ftTimeStamp{ftOraTimeStamp}, ftDateTime{ftOraInterval} //40..41 , ftLongWord, ftShortint, ftByte, ftExtended, ftSingle//42..45 {$ENDIF} Second line above counts from 42 to 45 but there is one more field definition and it actually become 46 Error I get...
by ertank
24.03.2022, 14:00
Forum: ZeosLib 7.3/8.0 Forum
Topic: Source code system to use
Replies: 10
Views: 627

Re: Source code system to use

Hello, All I could find that is below. Seems like especially enabled for 3.2.3 version of FPC ZeosLazarus.inc:145 {$IF FPC_FULLVERSION>=30200} {$UNDEF MISS_MATH_NATIVEUINT_MIN_MAX_OVERLOAD} {$IF (defined(CPU64) or defined(CPUARM)) and not defined(ENDIAN_BIG)} {$DEFINE WITH_PG2DOUBLE_INLINE_BUG} //wr...
by ertank
22.03.2022, 12:00
Forum: ZeosLib 7.3/8.0 Forum
Topic: Source code system to use
Replies: 10
Views: 627

Re: Source code system to use

Hello Jan, Which version of FPC and Zeos do you combine for these errors to happen? Usually I would say that Zeos 7.2 compiles on all stable FPC compilers and Zeos 8.0 also compiles on FPC trunk? I got same compilation errors on both Windows 64bit compilation and Raspberry Pi armhf compilation. I al...
by ertank
19.03.2022, 17:40
Forum: ZeosLib 7.3/8.0 Forum
Topic: Source code system to use
Replies: 10
Views: 627

Source code system to use

Hello, It has been a while since I need to use Zeos. Now, I need it again on Lazarus. I am using fpcupdeluxe latest stable to install Zeos components. I get errors during compilation for both stable and testing branches. One thing that took my attention is that fpcupdeluxe is using https://github.co...
by ertank
26.05.2019, 03:58
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 50549

Re: Zeos 7.3 testers-thread

Hello, PROBLEM 1: I am using Lazarus 2.0.3 from fixes_2_0 branch, fpc 3.2-beta from fixes_3_2 branch, zeos from revision 5696. Platform is Raspberry Pi, Database is PostgreSQL 9.6. PostgreSQL has several different definitions for timestamp fields. Mostly they are defined as "timestamp without t...
by ertank
23.05.2019, 11:38
Forum: ZeosLib 7.3/8.0 Forum
Topic: TZConnection.Free() behavior
Replies: 1
Views: 453

TZConnection.Free() behavior

Hello,

Assuming component has active connection. If I call ZConnection1.Free() will it nicely close any existing connections and free?
Or, directly free?

Thanks & regards,
Ertan
by ertank
05.08.2018, 14:14
Forum: ZeosLib 7.2 Forum
Topic: TZConnection - thread safe?
Replies: 11
Views: 2065

Re: TZConnection - thread safe?

This is weird. Thread context of object creation shouldn't matter, Agreed, however, I do not have enough time and patience to do more tests as I am rushing to deliver the job. I might go back and check it out later. I suspect that is something related with fpc 3.0.4 and changed/fixed in fpc 3.1.1 (...
by ertank
03.08.2018, 23:11
Forum: ZeosLib 7.2 Forum
Topic: TZConnection - thread safe?
Replies: 11
Views: 2065

Re: TZConnection - thread safe?

It has been a while that I worked with threads. Apparently, I have to create any class that I will be using in thread in the Execute() procedure. Anything created in constructor Create() is not counting. That code in constructor is executed in main application thread as I am informed. It does not he...
by ertank
03.08.2018, 09:51
Forum: ZeosLib 7.2 Forum
Topic: TZConnection - thread safe?
Replies: 11
Views: 2065

Re: TZConnection - thread safe?

Which database do you use? Hello Jan, That is a PostgreSQL 9.6.9 running in localhost. I am working on some kind of a server code. There will be main application thread making a connection which seemingly just fine. And there is one thread running in background for some cleanup operations. Thread i...
by ertank
03.08.2018, 09:47
Forum: ZeosLib 7.2 Forum
Topic: Identifier not found "TZRawRowAccessor"
Replies: 4
Views: 871

Re: Identifier not found "TZRawRowAccessor"

Hello Jan,

So, I am switching to https://svn.code.sf.net/p/zeoslib/code- ... .2-patches as per your suggestion.

Thanks & regards,
Ertan
by ertank
02.08.2018, 23:41
Forum: ZeosLib 7.2 Forum
Topic: TZConnection - thread safe?
Replies: 11
Views: 2065

TZConnection - thread safe?

Hello, I am using Lazarus 1.8.4, fpc 3.0.4, zeoslib 7.3 (svn revision 4809). I have the need to use a database connection and queries in a thread on Linux OS, amd64 platform. Even if I do create the component at run-time, I get access violation (as if it is not created) on thread execute body. Compl...
by ertank
02.08.2018, 21:17
Forum: ZeosLib 7.2 Forum
Topic: Identifier not found "TZRawRowAccessor"
Replies: 4
Views: 871

Re: Identifier not found "TZRawRowAccessor"

marsupilami wrote:I suggest you use the current 7.2 SVN.
Hello Jan,

Using following SVN address and revision 4873 compiles just fine. It may worth to renew those downloads once you are ready to release a version.
https://svn.code.sf.net/p/zeoslib/code-0/trunk

Thanks & regards,
Ertan