Search found 9 matches

by amarryat
06.03.2015, 16:51
Forum: ZeosLib 7.1 stable Forum
Topic: Multithreading bugs
Replies: 1
Views: 711

Re: Multithreading bugs

FYI, this is my exact Execute method in the Thread. FCS is a critical section that was created when the thread was created: procedure TThread_DB.Execute; var Connection: TZConnection; ZQuery_rowcount: TZQuery; begin try Connection := TZConnection.Create(nil); try Connection.Database := FDatabase; Co...
by amarryat
06.03.2015, 16:49
Forum: ZeosLib 7.1 stable Forum
Topic: Multithreading bugs
Replies: 1
Views: 711

Multithreading bugs

I am going to want to run in a multithreaded setup, and I'm doing some testing and find this isn't working. Delphi XE7, and I'm using Firebird embedded, and according to their docs, 2.5 is threadsafe. I'm using Firebird 2.5.3.26780 32 bit embedded. And I have also downloaded and tried the latest sna...
by amarryat
09.02.2015, 16:17
Forum: ZeosLib 7.1 stable Forum
Topic: ZTable.InsertRecord fails without error XE7
Replies: 11
Views: 1468

Re: ZTable.InsertRecord fails without error XE7

I may not have understood your post correctly. But I think you meant this, which is a workaround, and it worked. Thanks.

ZTable1.Insert;
ZTable1.FieldByName('mycolumn').AsString := 'my column value';
ZTable1.FieldByName(......
.....
ZTable1.FieldByName(......

ZTable1.Post;
by amarryat
09.02.2015, 15:29
Forum: ZeosLib 7.1 stable Forum
Topic: ZTable.InsertRecord fails without error XE7
Replies: 11
Views: 1468

Re: ZTable.InsertRecord fails without error XE7

Thanks.

I haven't tried SQLInsert - not sure where that is.

However I tried ZTable1.AppendRecord, and it too fails without error. Since the description of AppendRecord and InsertRecord are so similar in the Delphi help file, I'm going to guess that one of those functions calls the other.
by amarryat
04.02.2015, 15:43
Forum: ZeosLib 7.1 stable Forum
Topic: ZTable.InsertRecord fails without error XE7
Replies: 11
Views: 1468

Re: ZTable.InsertRecord fails without error XE7

Does this mean that we need to wait for an update from Embarcadero for Delphi, or is this a problem with ZeosLib?

Do you have any idea if/when this will be addressed?

Thanks.
by amarryat
28.01.2015, 22:49
Forum: ZeosLib 7.1 stable Forum
Topic: ZTable.InsertRecord fails without error XE7
Replies: 11
Views: 1468

Re: ZTable.InsertRecord fails without error XE7

Thanks - I grabbed the snapshot and installed it without any problems. However this error hasn't been fixed. ZTable.InsertRecord still fails to insert a record, and doesn't report an error. In addition, the deprecation warnings in ZComponent are still there. In ZAbstractRODataset.pas, there are two ...
by amarryat
27.01.2015, 16:14
Forum: ZeosLib 7.1 stable Forum
Topic: ZTable.InsertRecord fails without error XE7
Replies: 11
Views: 1468

Re: ZTable.InsertRecord fails without error XE7

Thank you!

I'll try it out and report back...
by amarryat
26.01.2015, 22:20
Forum: ZeosLib 7.1 stable Forum
Topic: ZTable.InsertRecord fails without error XE7
Replies: 11
Views: 1468

Re: ZTable.InsertRecord fails without error XE7

Is there an easy way to download those files?

I can click on them in the browser and they open up there, but is there a way to download the source?
by amarryat
23.01.2015, 14:57
Forum: ZeosLib 7.1 stable Forum
Topic: ZTable.InsertRecord fails without error XE7
Replies: 11
Views: 1468

ZTable.InsertRecord fails without error XE7

Inserting a record results in no record added. No error message.

The exact same code works in XE2.

No idea about the versions of Delphi between the two.

I'm using 7.1.4.

Tried this with both Firebird embedded and MariaDB, so I think it's a ZEOS bug.