Search found 753 matches

by aehimself
30.05.2023, 19:03
Forum: ZeosLib 7.3/8.0 Forum
Topic: Possible issue with 64bit Oracle
Replies: 43
Views: 2169

Re: Possible issue with 64bit Oracle

So as it turned out Oracle is a piece of garbage. Our DB team said I need to specify the target host-, tablespace- and schema name, and only if the two machines can reach each other a dump file can be created...? That is either incorrect or ridiculous. Anyway. I copied the table create schema and du...
by aehimself
22.05.2023, 18:28
Forum: ZeosLib 7.3/8.0 Forum
Topic: Possible issue with 64bit Oracle
Replies: 43
Views: 2169

Re: Possible issue with 64bit Oracle

In the mean time I submitted my request to our legal team for a data extract of the table where the UTF16 issue can be reproduced. I'll keep you posted. Guys, good news. My request was not just approved, but a secondary table was created with some obfuscated data. And the UTF16 error can be still r...
by aehimself
20.05.2023, 18:41
Forum: User Contributions
Topic: GetClientVersion for PostgreSQL
Replies: 4
Views: 1250

Re: GetClientVersion for PostgreSQL

Good one, thanks!

Just keep in mind that Delphi does not support this format:
Result += (pqver mod 100) * 1000;
it should look like
Result := Result + (pqver mod 100) * 1000;
You are using C builder, correct?
by aehimself
13.05.2023, 19:09
Forum: Oracle
Topic: Some wierd encoding issue maybe?
Replies: 0
Views: 644

Some wierd encoding issue maybe?

So I have a simple VARCHAR field in an Oracle database. There is a text with a special character (ő) in it. When I execute a select with Zeos (or PL/SQL for that matter) this character gets converted, turning it to "o", but... only in this record. In other records the same character appear...
by aehimself
08.05.2023, 21:10
Forum: ZeosLib 7.3/8.0 Forum
Topic: Exception when closing application in debug mode
Replies: 4
Views: 426

Re: Exception when closing application in debug mode

This sounds surprisingly similar to one of my first issues I ever posted about.
I stand by Jan, try a different version of the library; that provided solution to me at the end.
by aehimself
05.05.2023, 07:25
Forum: ZeosLib 7.3/8.0 Forum
Topic: Capture moment of reconnection - does not work
Replies: 13
Views: 734

Re: Capture moment of reconnection - does not work

If I understand your issue correctly, it is not going to happen. The client side is not getting notified that a connection was dropped, it always realizes it the next time some action is ran against the server; e.g. opening a new dataset, refreshing contents, etc. The closest you can get is to have ...
by aehimself
24.04.2023, 18:14
Forum: ZeosLib 7.3/8.0 Forum
Topic: TZMemTable suggestions
Replies: 6
Views: 462

Re: TZMemTable suggestions

I am with Jan on this one. User comment in a memtable is not applicable in most applications and will only confuse the majority of the users. A need for this feels really application-specific, and this way it makes sense to have it's own format. If you don't want to see it in the application you als...
by aehimself
24.04.2023, 18:05
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1386

Re: Zeos 8 - draft of Release Notes

The error message "This isn't a valid TZMemtableStream" or "This version of TZMemtable Streams is not supported" is more specific and understandable than any other message about not being able to load the stream data. In my opinion even if the format changes, the component shoul...
by aehimself
24.04.2023, 07:16
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1386

Re: Zeos 8 - draft of Release Notes

@Jan: I am hesitant about the versioning, especially adding the version number to the binary data. If the stream is not a valid Zeos data, the import will fail anyway. We already talked about being TClientDataSet compatible and use an XML format instead but I failed to find a layout what I should fo...
by aehimself
21.04.2023, 20:20
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1386

Re: Zeos 8 - draft of Release Notes

regarding DefineAllSelectSchemasFromQuery: Is there a chance to get a better description of what it can do tha I have come up with? What I wrote is kinda mysterious even to me - most probably I don't fully understand the use case. The current implementation of defineSelectSchemaFromQuery does a ful...
by aehimself
20.04.2023, 21:33
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1386

Re: Zeos 8 - draft of Release Notes

I did not see any mentions of TZMemTable, which I rely heavily on in my database manager. The rest is going to be rather "selfish", but I am familiar with things I added / fixed. In Oracle there is a new OCIMultiThreaded parameter, which seem to be an important switch. So - this basically ...
by aehimself
17.04.2023, 20:41
Forum: User Patches
Topic: I cannot sleep
Replies: 2
Views: 256

Re: I cannot sleep

That is kinda hard to achieve lately, but I'll try :)
by aehimself
15.04.2023, 21:02
Forum: User Patches
Topic: I cannot sleep
Replies: 2
Views: 256

I cannot sleep

So I fixed a compilation hint in ZSQLUpdate.pas.

Pull request is available on GitHub :)
by aehimself
08.04.2023, 19:56
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeoslib 8 + mssql error
Replies: 3
Views: 539

Re: Zeoslib 8 + mssql error

A more recent version can always be downloaded from here.
I'm using these builds for years now and they work like a charm.
by aehimself
19.03.2023, 18:37
Forum: ZeosLib 7.2 Forum
Topic: Topic about possible Memory leak in ZDbcIntfs
Replies: 4
Views: 396

Re: Topic about possible Memory leak in ZDbcIntfs

The log points to the unit initialization of ZDbcIntFs, which looks like this: initialization DriverManager := TZDriverManager.Create; GlobalCriticalSection := TCriticalSection.Create; finalization DriverManager := nil; FreeAndNil(GlobalCriticalSection); These variables are global, defined like: var...