Search found 1934 matches

by EgonHugeist
15.10.2020, 06:11
Forum: ZeosLib 7.3/8.0 Forum
Topic: I have truble with TZQuery.CachedUpdates := True in my project
Replies: 7
Views: 386

Re: I have truble with TZQuery.CachedUpdates := True in my project

Double post,

please update. I added a a dbc test for that report see https://sourceforge.net/p/zeoslib/code-0/6957/. Yet i had no time to port the test to to the dataset level. However please test and report your findings.
by EgonHugeist
08.10.2020, 19:16
Forum: Oracle
Topic: Zeos 7.3-200a1058, Oracle ungraceful disconnect leaks a TZOracleTransaction object
Replies: 16
Views: 1403

Re: Zeos 7.3-200a1058, Oracle ungraceful disconnect leaks a TZOracleTransaction object

Or...... what happens if you kill the connection from a separate connection...? I'll test that out later on. You got me. I never ever had time to make tests for connection loss. Honestly i did some tests while running the test-suite, set a break-point, kill the server process, and test what happens...
by EgonHugeist
08.10.2020, 17:45
Forum: Oracle
Topic: Zeos 7.3-200a1058, Oracle ungraceful disconnect leaks a TZOracleTransaction object
Replies: 16
Views: 1403

Re: Zeos 7.3-200a1058, Oracle ungraceful disconnect leaks a TZOracleTransaction object

Hi ae,

joarrrr such things are hard to test. Yes you assumption it's related is correct. For the connection lost issue i introduced IImmediatelyReleasable interface. Please test the fix. Could you consider to build a test which could interrupt a connection and we finally can test the behavior?
by EgonHugeist
08.10.2020, 17:39
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 + MySQL TWideString.AsBytes trimmed
Replies: 7
Views: 387

Re: Zeos 7.3 + MySQL TWideString.AsBytes trimmed

ae, no idea what the problem should be according the "encodings". Using TBytes has widely been advertised. Reason has been NEXT_GEN. Inbetween (XE10.4) NEXT_GEN is dead. And the logic is obsolate for me. If you need nice encoding methods. Look to Core\ZEncoding.pas According this thread: t...
by EgonHugeist
08.10.2020, 17:27
Forum: ZeosLib 7.3/8.0 Forum
Topic: I have truble with TZQuery.CachedUpdates := True in my project
Replies: 7
Views: 386

Re: I have truble with TZQuery.CachedUpdates := True in my project

Hi ash71, 1. please reply here: https://zeoslib.sourceforge.io/viewtopic.php?f=50&t=125819 we are waiting for an test to resolve the ticket: https://sourceforge.net/p/zeoslib/tickets/438/ 2. Is this regression related to: https://sourceforge.net/p/zeoslib/tickets/446/ ?? could you provide a simp...
by EgonHugeist
08.10.2020, 17:23
Forum: ZeosLib 7.3/8.0 Forum
Topic: binary data shifted
Replies: 9
Views: 344

Re: binary data shifted

Hello hoedlmoser,
if it's a TVarBytesField descendant:
http://docwiki.embarcadero.com/Librarie ... BytesField

if it's a fixed size TBytesField, i would agree..
So what's the field definition?
by EgonHugeist
05.10.2020, 17:21
Forum: ZeosLib 7.0 Stable Forum
Topic: Zeos 7.0.3 TZTable; Huge memory consumption
Replies: 6
Views: 6707

Re: Zeos 7.0.3 TZTable; Huge memory consumption

For the record. Since 7.3 i changed the memory consume of Zeos: Types having a fixed size are in a rowbuffer, doesn't matter if null or not. Changing this would kill the memory manager (to many small allocs). Variable types are allocated with Size: SizeOf(Pointer) in rowbuffer + Cardinal(Length)+Dat...
by EgonHugeist
02.10.2020, 06:45
Forum: ZeosLib 7.2 Forum
Topic: Mysql Datetime format Integer Overflow Bug?
Replies: 2
Views: 137

Re: Mysql Datetime format Integer Overflow Bug?

Hi billarchive, as Jan suggest, update from (SVN)-7.2-fixes branch first if you want stay in 7.2. An exception should be thrown, but a rounding of the fractions seems to be required. Note 7.3 (SVN)\trunk and \testing-7.3 already do support those exact time/Timestamp values including the invalid '000...
by EgonHugeist
25.09.2020, 06:13
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 + MySQL TWideString.AsBytes trimmed
Replies: 7
Views: 387

Re: Zeos 7.3 + MySQL TWideString.AsBytes trimmed

No i don't think i got you wrong. I'm just a step further to find root of evel. I'm trying to evaluate why the hell the data in the P := FResultSet.GetPWideChar(ColumnIndex, bLen); can be longer than the given field-Size. You can not comment the lines you suggest, or change the "truncation"...
by EgonHugeist
25.09.2020, 06:03
Forum: OleDB (Microsoft Windows)
Topic: with OleDB is tuncate the stings with Umlaute ? etc. " ÖÄU üöä ß"
Replies: 7
Views: 858

Re: with OleDB is tuncate the stings with Umlaute ? etc. " ÖÄU üöä ß"

Howdy Hardy, ahh that's clearing the things up. So it's no Zeos bug. Gerhard, FreeTDS is raw string based wheras OleDB is a UTF16 driver (SQLServer since 2005 is W based). Did you check what the SQL-Serverstudio shows for the values if you use FreeTDS? However OleDB is a W driver. Thus all encodings...
by EgonHugeist
25.09.2020, 05:39
Forum: ZeosLib 7.3/8.0 Forum
Topic: Can not open MSAccess table with 7.3.1
Replies: 4
Views: 359

Re: Can not open MSAccess table with 7.3.1

Hi i have commited a possible fix. (hope my crystal ball did catch the root of eval)
See: https://sourceforge.net/p/zeoslib/code-0/6849/

So please update and test. If the issue continues, please add the stacktrace.
by EgonHugeist
24.09.2020, 05:39
Forum: OleDB (Microsoft Windows)
Topic: with OleDB is tuncate the stings with Umlaute ? etc. " ÖÄU üöä ß"
Replies: 7
Views: 858

Re: with OleDB is tuncate the stings with Umlaute ? etc. " ÖÄU üöä ß"

Hello Gerhard, nope i have no clue yet. Seems like an encoding issue on either Driver or Zeos side(I'm forcing the driver for a full UTF16 conversion for all VARCHAR columns iirc).. We're using SQL-Server 2016 on a linux system using OleDB DelphiXE6 for production yet. JFYI Let's find the bug: 1. Wh...
by EgonHugeist
24.09.2020, 05:30
Forum: ZeosLib 7.2 Forum
Topic: potential critical crash in ZDbcCachedResultSet.pas
Replies: 15
Views: 1180

Re: potential critical crash in ZDbcCachedResultSet.pas

marsupilami wrote: 23.09.2020, 12:40
EgonHugeist wrote: 23.09.2020, 06:20 No clue if i'll merge it to 7.2-fixes.
If it is simple, I vote for merging. Otherwise it has to go to the known issues list.
Done as requestet .. time for final 7.2 release, Jan
by EgonHugeist
23.09.2020, 06:31
Forum: ZeosLib 7.1 stable Forum
Topic: binary fields are not updated correctly
Replies: 9
Views: 691

Re: binary fields are not updated correctly

Hi hoedlmoser,

neither 7.1 nor 7.2 do support varbinary fields. 7.3 supports it. So my advice is: use 7.3.
@Jan we have no generic test for that. Could you add one to the suites?
by EgonHugeist
23.09.2020, 06:26
Forum: MS SQL Server
Topic: DBLib errors are messages...?
Replies: 12
Views: 918

Re: DBLib errors are messages...?

Hi aehimself, feel free to make a patch for the module-name. A IZConnection.GetModuleName would be good i think. (What's the name for ADO/OleDB? we have no lib there..) According the FreeTDS-lib: Jan also maintains a compiled version in our SVN, check the \lib\FreeTDS folder.