Remove index hint classes for MS SQL and Cubrid

This commit is contained in:
Kijin Sung 2018-06-30 15:31:00 +09:00
parent f00ba6f272
commit 6070707941
4 changed files with 2 additions and 154 deletions

View file

@ -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 != '')