[patch_done] Only one record should have been updated...

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

[patch_done] Only one record should have been updated...

Post by DoctorZLO »

Throws an error if you write like this:
You do not have the required permissions to view the files attached to this post.
Last edited by DoctorZLO on 16.03.2012, 11:40, edited 1 time in total.
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

If you write well, then there are no errors:
Q_Name.Edit;
Q_Name.FieldByName('PR_Time').AsString := TimeToStr(Time);
Q_Name.Post;

Q_Name.Edit;
Q_Name.FieldByName('PR_Time').AsString := TimeToStr(Time);
Q_Name.Post;

ZEOS 6.6.6-stable - no errors.

Еried at the last updated ZEOS 7.0.0
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Hmm i'll check this...

Which configuration du you use?
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
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

ZEOS 7.0.0 + Delphi 2010 + MySQL 5.0.27
I answered correctly? :)
Do you want to know?
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Yes you did. This configuration i can test by my selves.

Btw. DoctorZLO, do you use my PreprepsreSQL-Step?
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
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

Before you write, I have updated ZEOS 7.0.0 using ЕortoiseSVN (03/16/2012). Then reinstalled ZEOS. But the error remained.

Preprepsre SQL-Step I do not use...

I answered correctly?
Last edited by DoctorZLO on 16.03.2012, 11:50, edited 2 times in total.
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

That's how this works too! :)

Q_Name.Edit;
Q_Name.FieldByName('PR_Time').AsDateTime := Time;
Q_Name.Post;

ShowMessage('');

Q_Name.Edit;
Q_Name.FieldByName('PR_Time').AsDateTime := Time;
Q_Name.Post;
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

curious, can't see source diffs between 6.6.6 and 7.0.0 in this case..

which compiler did you use for 6.6.6 ?
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
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

EgonHugeist wrote:curious, can't see source diffs between 6.6.6 and 7.0.0 in this case..

which compiler did you use for 6.6.6 ?
I use for 6.6.6 delphi 7, for 7.0.0 i use delphi 2010 :)
ZEOS 6.6.6 does not support Delphi 2010 :)
ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Post by ism »

Need example project and database dump.
Lazarus 1.0.8 fpc 2.6.0
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

ism wrote:Need example project and database dump.
To run the script using dbforge mysql ...
You do not have the required permissions to view the files attached to this post.
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

Go on as you asked ...
Выкладываю, как Вы и просили...
ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Post by ism »

maybe codepage=cp1251
Lazarus 1.0.8 fpc 2.6.0
ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Post by ism »

or try lastest commit from testing-egonhugeist or testing
Lazarus 1.0.8 fpc 2.6.0
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

ism wrote:or try lastest commit from testing-egonhugeist or testing
???

You had such a mistake?
Locked