create database url;
use url
create table cath
(
name varchar(10) primary key,
) type=innodb;
create table site
(
url varchar(40) primary key,
aline varchar(40),
cath varchar(10),
constraint fk_cath foreign key(cath) references cath(name)
on delete set null on update cascade
) type=innodb;
ERROR 1005 (HY000): Can't create table './url/site.frm' (errno: 150)
the perms are correct indeed without the constraint there are no problems.
can you help me in testing?
mororover when running the test suite i have:
Errors are (from /usr/local/mysql/mysql-test/var/log/mysqltest-time) :
/usr/local/mysql/bin/mysqltest: At line 26: query 'CREATE TABLE `�������`
(
���� CHAR(32) CHARACTER SET koi8r NOT NULL COMMENT "����������� ����"
) COMMENT "����������� �������"' failed: 1: Can't create/write to file
'./test/��
�бли�а.frm' (Errcode: 22)
(the last line(s) may be the ones that caused the die() in mysqltest)
and this:
Errors are (from /usr/local/mysql/mysql-test/var/log/mysqltest-time) :
/usr/local/mysql/bin/mysqltest: At line 41: Result length mismatch
(the last line(s) may be the ones that caused the die() in mysqltest)
Below are the diffs between actual and expected results:
-------------------------------------------------------
*** r/timezone.result Mon Dec 22 18:41:49 2003
--- r/timezone.reject Sun Jun 6 09:03:22 2004
***************
*** 1,7 ****
DROP TABLE IF EXISTS t1;
show variables like "timezone";
Variable_name Value
! timezone MET
select @a:=FROM_UNIXTIME(1);
@a:=FROM_UNIXTIME(1)
1970-01-01 01:00:01
--- 1,7 ----
DROP TABLE IF EXISTS t1;
show variables like "timezone";
Variable_name Value
! timezone MEST
select @a:=FROM_UNIXTIME(1);
@a:=FROM_UNIXTIME(1)
1970-01-01 01:00:01
-------------------------------------------------------
Failed 2/229 tests, 99.12% successful.
--
>here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]