Issue 81927 - [cws dba24a] mysql odbc releations design: error when delete a relation
Summary: [cws dba24a] mysql odbc releations design: error when delete a relation
Status: CLOSED DUPLICATE of issue 81921
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: recent-trunk
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: ocke.janssen
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 10:00 UTC by marc.neumann
Modified: 2013-08-07 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description marc.neumann 2007-09-25 10:00:38 UTC
I use
- Linux
- mysql 5.0.18
- mysql-connector-odbc-3.51.20-0
- the tables are create with this SQL command:
drop TABLE if EXISTS rel1 ;
CREATE TABLE `rel1` (
  `id` int(11) NOT NULL,
  `text_1` varchar(20) default NULL,
  `text_2` varchar(20) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1; 

drop TABLE if EXISTS rel2;
CREATE TABLE `rel2` (
  `id` int(11) NOT NULL,
  `text_1` varchar(20) default NULL,
  `text_2` varchar(20) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1; 

1. open a database with type mysql and ODBC to connect to the mysql server 
2. open TOOLS / RELATIONS
3. add table rel1 and rel2
4. d&d id field from rel1 to rel2
5. right click the relation
6. choose delete
==>> error messages: You have an error in your SQL syntax: 'CONSTRAINT 'NULL''
Comment 1 ocke.janssen 2007-09-25 12:43:12 UTC
.

*** This issue has been marked as a duplicate of 81921 ***
Comment 2 ocke.janssen 2007-09-25 12:43:29 UTC
Closing