[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...

Postby DoctorZLO » 16.03.2012, 08:12

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

Postby DoctorZLO » 16.03.2012, 08:19

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 Dev Team
Zeos Dev Team
Posts: 1701
Joined: 31.03.2011, 22:38

Postby EgonHugeist » 16.03.2012, 09:11

Hmm i'll check this...

Which configuration du you use?
King regards, Michael

You want to help? 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

Postby DoctorZLO » 16.03.2012, 10:25

ZEOS 7.0.0 + Delphi 2010 + MySQL 5.0.27
I answered correctly? :)
Do you want to know?

User avatar
EgonHugeist
Zeos Dev Team
Zeos Dev Team
Posts: 1701
Joined: 31.03.2011, 22:38

Postby EgonHugeist » 16.03.2012, 10:29

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

Btw. DoctorZLO, do you use my PreprepsreSQL-Step?
King regards, Michael

You want to help? 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

Postby DoctorZLO » 16.03.2012, 11:35

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

Postby DoctorZLO » 16.03.2012, 11:38

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 Dev Team
Zeos Dev Team
Posts: 1701
Joined: 31.03.2011, 22:38

Postby EgonHugeist » 16.03.2012, 14:25

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 ?
King regards, Michael

You want to help? 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

Postby DoctorZLO » 16.03.2012, 15:27

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

Postby ism » 16.03.2012, 15:43

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

Postby DoctorZLO » 19.03.2012, 08:25

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

Postby DoctorZLO » 19.03.2012, 08:30

Go on as you asked ...
Выкладываю, как Вы и просили...

ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Postby ism » 20.03.2012, 19:22

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

Postby ism » 20.03.2012, 19:35

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

Postby DoctorZLO » 22.03.2012, 19:07

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

???

You had such a mistake?


Return to “ZeosLib 7.0 Beta Forum”

Who is online

Users browsing this forum: No registered users and 1 guest