Page 1 of 1

record locking problems again

Posted: Thu 11 Dec 2008 17:26
by jkuiper
I noticed today that MyDac 570 still has problems with locking. :evil:
I'll send you a email with details and samples

Posted: Fri 12 Dec 2008 09:42
by Dimon
We have answered you by e-mail.

Posted: Fri 12 Dec 2008 10:40
by jkuiper
I have answered back by email

Posted: Tue 16 Dec 2008 18:45
by jkuiper
Problem solved. Before locking the record, call refreshrecord first.

Thank you Dmitry.

Posted: Sun 28 Dec 2008 01:30
by siberya
is it possible ?

CREATE TABLE `test` (
`ID` int(11) unsigned NOT NULL auto_increment,
`MYTIME` time default NULL,
PRIMARY KEY (`FIS_ID`),
) ENGINE=InnoDB;

INSERT INTO `test` (`ID`, `MYTIME`) VALUES
(1, '02:58:52');

First RefreshRecord no error and Record Lock command

"Record was changed by another user"

This error message only mytime field value is 02:58:52

Posted: Mon 29 Dec 2008 14:34
by Dimon
This problem can appear only if you assign a value of a time field with datetime functions like Time(), but not as a string value.
We have fixed this problem . This fix will be included in the next MyDAC build.