Hi Jan, Thank you very much for looking into my issue. This line isn’t enough: if (SrcBuffer^.Columns[FColumnOffsets[FLobCols[i]]] = bIsNotNull) Only after adding this did I stop getting exceptions; I tested it: if PIZLob(@SrcBuffer.Columns[FColumnOffsets[FLobCols[i]]+1])^ <> nil The index with “+1” doesn’t contain any data that can be cast to PIZLob(), so “Clone” can’t be executed. The line that checks “bIsNotNull” does not look at the index + 1. Regarding Zeos V7: The license terms state that if...
If qBestellUseLief12.AsInteger <> i Then Begin if not (qBestell.State in [dsEdit, dsInsert]) then qBestell.Edit; qBestellUseLief12.AsInteger := i; End; : : : qBestell.Post; I've had this bug for many years. It only appears every few months and is probably related to SQLite. When it happens, you can no longer save the data record; you have to abort, close the EXE, restart it, and then enter the same information again. Then, suddenly, you can save the input. The underlying code isn't anything special,...
TZRowAccessor.CopyBuffer missing NIL pointer check
This bug is also in all V7.x.x
ZPlainDbLibDriver.pas does not initialize
Special characters cannot be saved.
Here my change, this works good for me.
In Zeos V7.2.14, changed fields that are ReadOnly were always written to the database. If this is no longer the case with Zeos V8, then there should at least be a property in TZConnection:CommitReadOnlyFields True/False The way you have written it does not work, I have tested it: OnBeforePost() >>> ReadOnly:=False OnAfterPost() >>> ReadOnly:=True does not work, because Zeos already calculates which fields should be written before calling OnBeforePost() and if I set the ReadOnly to False in OnBeforePost(),...