Search found 24 matches
- 20.10.2022, 06:35
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
Uh... never mind about what I said about it going away -- I had to set to suppress the messages outside of the IDE. But it's still happening so I guess I'll try reverting to some earlier versions...
- 20.10.2022, 03:41
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
Yes, the SQLLib is the same.
Okay, it just stopped doing it after I did nothing about it. Lovely, so much for tracking THAT down.
Quick question -- is there any way (short of writing a SQLLite Function) to send the binary data in an INSERT QUERY?
Okay, it just stopped doing it after I did nothing about it. Lovely, so much for tracking THAT down.
Quick question -- is there any way (short of writing a SQLLite Function) to send the binary data in an INSERT QUERY?
- 16.10.2022, 06:34
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
I think I misspoke (mistyped?) when I said that they were too short. In all cases since then they have been too long... and as far as I can tell, it's not previous text that's being left over, it's a duplication of the final text... though it may be that it's only happening after it's been written o...
- 30.09.2022, 11:59
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
Well, sadly I did not accidentally fix it though I've gathered a bit more information and a pretty hackish work around. It seems to be happening exclusively during a "timed backup" which is an idle event where the program takes all the data is has been working with, and updates the databas...
- 29.09.2022, 01:02
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
Yes, as a software developer I completely get that. We'll see if it happens again for if I've somehow accidentally fixed it...
- 28.09.2022, 01:28
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
No joy replicating it either. I've put in some more checks/tests so if/when it happens again, I'll hopefully be able to give you more data...
- 28.09.2022, 00:51
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
Okay, I'll try but it's unfortunately erratic...
- 24.09.2022, 03:11
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
OMG, this is the most paranoid code I've ever seen... Thanks! I'm not normally this paranoid, but I was having some problems so I started putting checks in. And I ended up doing the loop in case the issue was due to some sort of race condition... Anyway it really doesn't check much. If you really a...
- 21.09.2022, 20:48
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Re: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
Excellent suggestion -- I will do that and report back.
- 21.09.2022, 12:48
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Writing Blobs from Streams Failing in SQLite... SOMETIMES...
- Replies: 17
- Views: 1014
Writing Blobs from Streams Failing in SQLite... SOMETIMES...
As a matter of paranoia, I have my code make sure all blobs are written correctly, and every now and again with V8 (alexandria), I get an assertion that it failed to write all the data to the blob. It's always just a few dozen or so bytes short, but I kind of think I need them, unless Zeos/SQLite is...
- 21.09.2022, 12:27
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Help translating some subclassed functions from V7.2x to V8
- Replies: 3
- Views: 145
Re: Help translating some subclassed functions from V7.2x to V8
Thanks guys! The FLinkedComponents was exactly what I needed.
As to the tokenizer issue I think that may really be using a pneumatic pile driver when a hammer will do. I think I just need to look at the table names following INSERT INTO, UPDATE and DELETE FROM and go from there.
As to the tokenizer issue I think that may really be using a pneumatic pile driver when a hammer will do. I think I just need to look at the table names following INSERT INTO, UPDATE and DELETE FROM and go from there.
- 19.09.2022, 23:06
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Help translating some subclassed functions from V7.2x to V8
- Replies: 3
- Views: 145
Help translating some subclassed functions from V7.2x to V8
In version 7.2.x I had subclassed the tzConnection component to add some convenience functions and there are two of them I am having no luck recreating in Version 8. The first is as follows, and since the fDatasets property has been removed, I don't know how to go about getting either the TableCount...
- 11.12.2021, 01:02
- Forum: User Contributions
- Topic: Fixed Access Violation when setting Sort Fields in SQLite3 DB
- Replies: 1
- Views: 532
Fixed Access Violation when setting Sort Fields in SQLite3 DB
unit ZDbcCache; I was getting an access violation when I set the SortIndexFields value to two fields in a table. I tracked it down to the function CompareUnicodeCLob_Asc and discovered it was happening only when it was trying to compare a field with itself. I added an extra check to verify if the t...
- 11.12.2021, 00:54
- Forum: User Contributions
- Topic: TZAbstractBlob.IsEmpty
- Replies: 1
- Views: 339
TZAbstractBlob.IsEmpty
In the Unit ZDbcResultSet; Could anyone explain to me why TZAbstractBlob.IsEmpty is defined as true when fBlobSize < 0 rather than fBLobSize < 1 ? I mean, if it has a blobsize of zero it has no content, right? Otherwise what is the differences between this and IsNull? function TZAbstractBlob.IsEmpty...
- 08.10.2012, 22:31
- Forum: ZeosLib 7.0 Beta Forum
- Topic: How can I do a SELECT Statement using Two Databases?
- Replies: 6
- Views: 2897