[Patch] Installation instructions for Lazarus

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
bigchimp
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 09.09.2014, 10:16

[Patch] Installation instructions for Lazarus

Post by bigchimp »

Trivial patch for Lazarus installation instructions fixes a typo...

Thanks,
BigChimp

Index: packages/lazarus/README.TXT
===================================================================
--- packages/lazarus/README.TXT (revision 3291)
+++ packages/lazarus/README.TXT (working copy)
@@ -11,7 +11,7 @@
------------

1. Packages / Open Package File (*.lpk)
-2. Open ZComponents.Lpk (from directory containing this README)
+2. Open ZComponent.lpk (from directory containing this README)
3. Click Compile
4. Click Use -> Install
5. Click Yes when asked if you want to rebuild Lazarus
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: [Patch] Installation instructions for Lazarus

Post by EgonHugeist »

Hey bigchimp,

nice to see you here! Thanks for the fix! Patch done R3296 \testing-7.2 (SVN)

Going to test Zeos?
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
bigchimp
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 09.09.2014, 10:16

Re: [Patch] Installation instructions for Lazarus

Post by bigchimp »

Hi Michael,

Thanks very much!

Testing Zeos... well I might get to that: I"m having a look at LazSqlx:
http://forum.lazarus.freepascal.org/ind ... #msg129517
which uses both sqldb and Zeos.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: [Patch] Installation instructions for Lazarus

Post by EgonHugeist »

Hi

thanks for the hint. First wrong comment:
flamerOn wrote: ps.
Zeos Components don't handle GUID properly, so I had to work-around to get guid as string.
It's SQLDB which is doing it wrong. These fields need to be mapped as TGUIDField{16Bytes Binary} not as TStringField{38Bytes} ...

Anyway the idea sounds fine!

Edit: did check the Sources: FPC is the showstopper again: ftGUID persits as enum but the TField descendant is missing(like for some more FieldTypes (like TDataSetField) too). That's why i map the field as TBytesField (which is faster on fetching than doing a TGUIDToString conversion for all rows).

Second Edit:
Since you are "member" of the three musketiers (AFAIR lodob, LacacK2, and RenierO :P )... may i ask for supporting this Field? The TGUIDField persists minimum since D7 but is still missing on FPC DB.pas. What do you think?
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
bigchimp
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 09.09.2014, 10:16

Re: [Patch] Installation instructions for Lazarus

Post by bigchimp »

Hi Michael,

Sounds good & thanks for the digging. Could you open an FPC bug report please?

Thanks!
bigchimp
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 09.09.2014, 10:16

Re: [Patch] Installation instructions for Lazarus

Post by bigchimp »

FYI: to see the status of the FPC code as per a certain time (e.g. 2.6.0) you can use something like this:
http://svn.freepascal.org/cgi-bin/viewv ... ase_2_6_0/
.. and drill down to the relevant source code unit

Alternatively, svn blame <thefileyourinterested in> can be useful but only shows the last changed revision...
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: [Patch] Installation instructions for Lazarus

Post by EgonHugeist »

Thank you Reinier!

@all did activate the TGuidField for FPC too. Patch done R3323 \testing-7.2 (SVN)

Note it wasn't a FPC issue. Just adefine in ZeosLazarus.inc was missing! Bug on our side!
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply