1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Fix test case

This commit is contained in:
Fabio B. Silva 2012-09-30 15:47:00 -03:00
parent 4510f5a5b8
commit 5cb4466f7c

View File

@ -110,7 +110,7 @@ class DDC2012TsVectorType extends Type
*/
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
{
return $platform->getBlobTypeDeclarationSQL($fieldDeclaration);
return $platform->getVarcharTypeDeclarationSQL($fieldDeclaration);
}
/**
@ -153,7 +153,7 @@ class DDC2012TsVectorType extends Type
'platform' => $platform,
);
// changed to upper expression to keep the teste compatible with other Databases
// changed to upper expression to keep the test compatible with other Databases
//sprintf('to_tsvector(%s)', $sqlExpr);
return $platform->getUpperExpression($sqlExpr);