error parse -- comment

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
alexs75
Junior Boarder
Junior Boarder
Posts: 28
Joined: 04.03.2014, 12:37

error parse -- comment

Post by alexs75 »

Code: Select all

Lazarus 1.7 r51494M FPC 3.1.1 x86_64-linux-gtk 2

Code: Select all

>svn info
Path: .
URL: http://svn.code.sf.net/p/zeoslib/code-0/trunk
Relative URL: ^/trunk
Repository Root: http://svn.code.sf.net/p/zeoslib/code-0
Repository UUID: d681b350-854c-439c-a81d-c0ce20710203
Revision: 3806
Node Kind: directory
Schedule: normal
Last Changed Author: egonhugeist
Last Changed Rev: 3800
Last Changed Date: 2016-02-02 13:58:20 +0300 (Вт, 02 фев 2016)
i'm connect to postgre sql server
if in query i'm use "--" for coment - i'm see error

I think that the problem is as follows:
TZSQLStrings.RebuildAll called before set the property TZDataset.Connection

and function TZSQLStrings.GetTokenizer returns TZGenericSQLTokenizer instead TZPostgreSQLTokenizer
You do not have the required permissions to view the files attached to this post.
miab3
Zeos Test Team
Zeos Test Team
Posts: 1310
Joined: 11.05.2012, 12:32
Location: Poland

Re: error parse -- comment

Post by miab3 »

Actually.
The problem is ":" after the comment.

Michal
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: error parse -- comment

Post by EgonHugeist »

I'll check out what's going on..
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
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: error parse -- comment

Post by EgonHugeist »

Hi Alex,

i got the nasty bugga. Can you test and confirm it?

Patch done R3826 \testing-7.2 (SVN)
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
alexs75
Junior Boarder
Junior Boarder
Posts: 28
Joined: 04.03.2014, 12:37

Re: error parse -- comment

Post by alexs75 »

work ok.
Post Reply