Commit ea8b1234 authored by monty@mysql.com's avatar monty@mysql.com

Bug fixes:

Use %windir% instead of c:\winnt\ (Bug #3786)
Fixed wrong foreign key test in crash-me (Bug #3740)
parent 8e2ff7d1
...@@ -92,7 +92,7 @@ LINK32=xilink6.exe ...@@ -92,7 +92,7 @@ LINK32=xilink6.exe
# Begin Special Build Tool # Begin Special Build Tool
SOURCE="$(InputPath)" SOURCE="$(InputPath)"
PostBuild_Desc=Move DLL export lib PostBuild_Desc=Move DLL export lib
PostBuild_Cmds=xcopy ..\lib_debug\libmysql.dll C:\winnt\system32\ /y xcopy debug\libmysql.lib ..\lib_debug\ /y PostBuild_Cmds=xcopy ..\lib_debug\libmysql.dll %windir%\system32\ /y xcopy debug\libmysql.lib ..\lib_debug\ /y
# End Special Build Tool # End Special Build Tool
!ENDIF !ENDIF
......
...@@ -414,8 +414,7 @@ if ($dbh->do("create table crash_q (a integer, b integer,c1 CHAR(10))") && ...@@ -414,8 +414,7 @@ if ($dbh->do("create table crash_q (a integer, b integer,c1 CHAR(10))") &&
["with add primary key", ["with add primary key",
"alter table crash_q1 add primary key(c1)"]); "alter table crash_q1 add primary key(c1)"]);
report("Alter table add foreign key",'alter_add_foreign_key', report("Alter table add foreign key",'alter_add_foreign_key',
"alter table crash_q add constraint f1 foreign key(c1)", "alter table crash_q add constraint f1 foreign key(c1) references crash_q1(c1)");
" references crash_q1(c1)");
try_and_report("Alter table drop foreign key",'alter_drop_foreign_key', try_and_report("Alter table drop foreign key",'alter_drop_foreign_key',
["with drop constraint", ["with drop constraint",
"alter table crash_q drop constraint f1"], "alter table crash_q drop constraint f1"],
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment