Merge pull request #8332 from defrance/patch-105
primary key without space
This commit is contained in:
commit
a7737cc436
@ -200,7 +200,7 @@ class CodingSqlTest extends PHPUnit_Framework_TestCase
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Test for non key files only
|
// Test for non key files only
|
||||||
$result=(strpos($filecontent,'KEY ') && strpos($filecontent,'PRIMARY KEY ') == 0);
|
$result=(strpos($filecontent,'KEY ') && strpos($filecontent,'PRIMARY KEY') == 0);
|
||||||
print __METHOD__." Result for checking we don't have ' KEY ' instead of a sql file to create index = ".$result."\n";
|
print __METHOD__." Result for checking we don't have ' KEY ' instead of a sql file to create index = ".$result."\n";
|
||||||
$this->assertTrue($result===false, 'Found KEY into '.$file.'. Bad.');
|
$this->assertTrue($result===false, 'Found KEY into '.$file.'. Bad.');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user