Bug #14222 | Can't modify a record by editing a single field but leaving the old value | ||
---|---|---|---|
Submitted: | 21 Oct 2005 23:16 | Modified: | 7 Jul 2006 10:14 |
Reporter: | Carlos Ochoa R. | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 3.51.12 | OS: | Windows (windows any) |
Assigned to: | CPU Architecture: | Any |
[21 Oct 2005 23:16]
Carlos Ochoa R.
[21 Oct 2005 23:22]
Carlos Ochoa R.
Sorry, I thing the correct sintax is "Can't modify a record by editing a single field but leaving the old value"
[10 Nov 2005 15:35]
Carlos Ochoa R.
I thought it wasn't serious, but whenever there are more than 10 clients it becomes boring to handle.
[15 Nov 2005 21:17]
Vasily Kishkin
I opened several MSAccess and tried to edit records. I was not able to reproduce the bug. Could you please write here table definition ?
[16 Nov 2005 11:31]
Carlos Ochoa R.
Hi, Vasily. this is a sample table: CREATE TABLE `conexiones` ( `Idconexion` int(10) NOT NULL default '0', `UsaDSN` char(1) default NULL, `DSNName` varchar(30) default NULL, `DriverName` varchar(30) default NULL, `SourceDBName` varchar(30) default NULL, `Password` varchar(30) default NULL, `DSNDescription` varchar(50) default NULL, `IdServicio` varchar(10) default NULL, `IdTercero` varchar(15) default NULL, `Servidor` varchar(30) default NULL, `Usuario` varchar(15) default NULL, PRIMARY KEY (`Idconexion`), UNIQUE KEY `Idconexion` (`Idconexion`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `conexiones` */ insert into `conexiones` values (0,'','Antares','MySQL ODBC 3.51 Driver','Antares','LJMJfke','','','','servidor','root'),(1,'','Contabilidad','MySQL ODBC 3.51 Driver','Contabilidad','LJMJfke','','','','servidor','root'),(2,'','Administrativo','MySQL ODBC 3.51 Driver','Administrativo','LJMJfke','','','','servidor','root'),(3,'','DatosIPS','MySQL ODBC 3.51 Driver','DatosIPS','LJMJfke','','','','servidor','root'),(5,'','Laboratorio','','','','','','','',''); Create it, attach to an Access database then, in edit view, change the 's' in 'antares' by another 's' and go to the next row. Whenever I do this I get the error message. Thanks. p.s. This is a very nice and powerful DBMS :-).
[26 Nov 2005 8:05]
Vasily Kishkin
Thanks for advise. I was able to reproduce the bug. I tested on myodbc 3.51.12 and mysql 5.0.16.
[24 Feb 2006 16:10]
Carlos Ochoa R.
So what?
[7 Jul 2006 10:13]
Tonci Grgin
This is a duplicate of http://bugs.mysql.com/bug.php?id=13540. Carlos, as a workaround, drop duplicated UNIQUE constraint since you allready have it in PK. PRIMARY KEY (`Idconexion`), UNIQUE KEY `Idconexion` (`Idconexion`) << drop it