mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Remove index hint classes for MS SQL and Cubrid
This commit is contained in:
parent
f00ba6f272
commit
6070707941
4 changed files with 2 additions and 154 deletions
|
|
@ -26,21 +26,6 @@ class DB
|
|||
'mysql' => 1,
|
||||
);
|
||||
|
||||
/**
|
||||
* operations for condition
|
||||
* @var array
|
||||
*/
|
||||
protected static $cond_operation = array(
|
||||
'equal' => '=',
|
||||
'more' => '>=',
|
||||
'excess' => '>',
|
||||
'less' => '<=',
|
||||
'below' => '<',
|
||||
'notequal' => '<>',
|
||||
'notnull' => 'is not null',
|
||||
'null' => 'is null',
|
||||
);
|
||||
|
||||
/**
|
||||
* master database connection string
|
||||
* @var array
|
||||
|
|
@ -705,6 +690,7 @@ class DB
|
|||
|
||||
$tableObjects = $query->getTables();
|
||||
$index_hint_list = '';
|
||||
/*
|
||||
foreach($tableObjects as $tableObject)
|
||||
{
|
||||
if(is_a($tableObject, 'CubridTableWithHint'))
|
||||
|
|
@ -717,6 +703,7 @@ class DB
|
|||
{
|
||||
$index_hint_list = 'USING INDEX ' . $index_hint_list;
|
||||
}
|
||||
*/
|
||||
|
||||
$groupBy = $query->getGroupByString();
|
||||
if($groupBy != '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue