mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
Fix fatal error when using index hint with mysqli, mysqli_innodb, etc.
This commit is contained in:
parent
ba1942a65d
commit
e0d7ae3641
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class HintTableTag extends TableTag
|
|||
$dbType = ucfirst(Context::getDBType());
|
||||
|
||||
$result = sprintf('new %sTableWithHint(\'%s\'%s, array('
|
||||
, $dbType == 'Mysqli' ? 'Mysql' : $dbType
|
||||
, starts_with('mysql', $dbType, false) ? 'Mysql' : $dbType
|
||||
, $dbParser->escape($this->name)
|
||||
, $this->alias ? ', \'' . $dbParser->escape($this->alias) . '\'' : ', null'
|
||||
//, ', \'' . $dbParser->escape($this->index->name) .'\', \'' . $this->index->type .'\''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue