Search found 129 matches

by aperger
20.03.2007, 11:28
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Params before SQL
Replies: 5
Views: 1430

I can save Blob without any problem. I would like to set the parameter BEFORE setting SQL.Text, because there is an 'If' for UPDATE and INSERT, but their parameter is the same. But it seems to be impossible... :( try to create a function which set the Params object! procedure setXXXParams(Params:TP...
by aperger
20.03.2007, 09:49
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Params before SQL
Replies: 5
Views: 1430

hello, Fist of all, set the SQL.Text, and set the parameters, after call ExecSQL command on your TZQuery object. IN this way you do not need to call CreateParam() just you sould set the values... .... BUT on MYSQL I have problems to save BLOB fields into the DB. DM.iCsoportok.SQL.Text:='INSERT ... '...
by aperger
06.02.2007, 11:10
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: PostgreSQL 8.1 Zeoslib 6.6 and UTF8
Replies: 6
Views: 4085

Maybe your client side encoding is not the same as the server codepage... it can be different...
by aperger
06.02.2007, 08:23
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: PostgreSQL 8.1 Zeoslib 6.6 and UTF8
Replies: 6
Views: 4085

Code: Select all

  // DB codepage
  ZConnection.Properties.Values['codepage']:='latin2';

  // Client side encoding
  ZConnection.Properties.Values['client_encoding']:='latin2';
So... you can set your onw... it works under Linux/Kylix 3.
by aperger
29.01.2007, 10:43
Forum: User Patches
Topic: [bug_fixed] Update structure of packages (k3, d2005, d2006)
Replies: 2
Views: 1764

2. file
by aperger
29.01.2007, 10:41
Forum: User Patches
Topic: [bug_fixed] Update structure of packages (k3, d2005, d2006)
Replies: 2
Views: 1764

[bug_fixed] Update structure of packages (k3, d2005, d2006)

Hi,

I attache the updated package structure for Kylix3 and Delphi 2005, and I found a small BUG in the package name in Delphi 2006 directory. You can see my modification in a PATCH (Diff_for_kylix3packs-And-d2005packs_rev210.zip) and in a "hardcopy" (ZeOS-TestTrunk.zip) too.

Attila
by aperger
07.01.2007, 14:46
Forum: Firebird
Topic: Deadlock
Replies: 1
Views: 1677

Re: Deadlock

jorgen wrote:How do you avoid receiving Firebird message "deadlock update conflicts with concurrent update" when 2 or more clients are changing records in the same table ?
Hi

I think you should use trasnactions intead of record locking!!!!
Attila
by aperger
30.11.2006, 14:26
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: SQLUpdate viisual editor in Kylix 3
Replies: 5
Views: 993

Hi

I was not interested in to do this package modification.. but it is ready at the monent, but on FC4/Kylix 3 when I click on the TZUpdateSQL components to call it's on editor Access Violation is raising.

I attache my patch: patch_kylix_packeges_rev186.patch

Attila
by aperger
30.11.2006, 10:26
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: SQLUpdate viisual editor in Kylix 3
Replies: 5
Views: 993

Hi

It was not a requirements for me to do this... If it is ready I can test it and I will send you a reply.

Attila
by aperger
09.10.2006, 11:23
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQl 4.1/5 & BLOB fields
Replies: 4
Views: 1608

Hi Mark (Part2)

I use the same source to save streams into BLOB with ZeOS. If I use mysql protocol the code is not working, If I use ado, postgresql, firebird the program is working.

CODE at the top : procedure ReadBlobField, procedure WriteBlobParam
by aperger
09.10.2006, 11:18
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQl 4.1/5 & BLOB fields
Replies: 4
Views: 1608

Hi Mark, The problem: I. If the contect of the BLOB field is an XML file, the XML parser can not parse it. II. If the content of the BLOB field is an IMAGE, the result is incorrect on the screen. The biggest part of the picture is black at the top. I don't know where is the bug at saving or at readi...
by aperger
09.10.2006, 10:44
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQl 4.1/5 & BLOB fields
Replies: 4
Views: 1608

Hi Developers,

Rev.108 cause the same problem (D7 - CLX). How can I save and restore XML file or IMAGE into/from a MySQL database?
by aperger
28.08.2006, 08:34
Forum: 6.1.5
Topic: Cannot Install in kylix 3
Replies: 4
Views: 3462

Hi,

Please use the "SRC" as your library directory, in this way the kylix will compile the *.PAS files again (as correct *.dcu) when you refer them in your projects.
by aperger
23.08.2006, 13:17
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQl 4.1/5 & BLOB fields
Replies: 4
Views: 1608

MySQl 4.1/5 & BLOB fields

Hi developers, I can read and write BLOB field into my databases with ZeOS. Unfortunatelly if I use mysql-4.1/mysql-5 protocol on a MySQL server (4.1/5), I can not get back the same content of the BLOB field as it was saved. The following procedures were tested and used with the following protocols:...