Add MySQL FULLTEXT support.

Minor optimizations and testing added.
This commit is contained in:
Ber Clausen 2012-09-20 00:21:26 -03:00
parent 7135ff29fb
commit 36c99a358f
4 changed files with 64 additions and 37 deletions

View file

@ -3114,7 +3114,7 @@ class DboSource extends DataSource {
}
/**
* Format indexes for create table
* Format indexes for create table.
*
* @param array $indexes
* @param string $table
@ -3130,6 +3130,8 @@ class DboSource extends DataSource {
} else {
if (!empty($value['unique'])) {
$out .= 'UNIQUE ';
} elseif (!empty($value['type']) && strtoupper($value['type']) === 'FULLTEXT') {
$out .= 'FULLTEXT ';
}
$name = $this->startQuote . $name . $this->endQuote;
}