Re: Alter table primary key and foreign keys

2004-05-18 Thread Heikki Tuuri
id | int(11) | | PRI | 0 | | | fc_date | date| | PRI | -00-00 | | +-+-+--+-----+----+---+ 2 rows in set (0.00 sec) mysql> - Original Message - From: "Victor Pendleton" <[EMAIL PROTECTED]> Newsgrou

RE: Alter table primary key and foreign keys

2004-05-18 Thread Victor Pendleton
Can you mysqldump the table then rebuild the table from the dump file? -Original Message- From: Rich Schramm To: 'Victor Pendleton'; [EMAIL PROTECTED] Sent: 5/18/04 2:04 PM Subject: RE: Alter table primary key and foreign keys The error log shows nothing when the binary dies

RE: Alter table primary key and foreign keys

2004-05-18 Thread Rich Schramm
ch Schramm '; '[EMAIL PROTECTED] ' Subject: RE: Alter table primary key and foreign keys I would first see if an upgrade to a later version of InnoDB tables is possible. What is being written to the error log? The ALTER TABLE statement subtly creates a new table, with new contraint name

RE: Alter table primary key and foreign keys

2004-05-18 Thread Victor Pendleton
I would first see if an upgrade to a later version of InnoDB tables is possible. What is being written to the error log? The ALTER TABLE statement subtly creates a new table, with new contraint names that the child table is unaware of, and drops the original table. Have you tried rebuilding the chi