File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/internal/Magento/Framework/DB Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
class TemporaryTableService
18
18
{
19
19
const INDEX_METHOD_HASH = 'HASH ' ;
20
- const INDEX_METHOD_INNODB = 'INNODB ' ;
20
+ const DB_ENGINE_INNODB = 'INNODB ' ;
21
21
22
22
/**
23
23
* @var string[]
@@ -84,7 +84,7 @@ public function createFromSelect(
84
84
AdapterInterface $ adapter ,
85
85
array $ indexes = [],
86
86
$ indexMethod = self ::INDEX_METHOD_HASH ,
87
- $ dbEngine = self ::INDEX_METHOD_INNODB
87
+ $ dbEngine = self ::DB_ENGINE_INNODB
88
88
) {
89
89
if (!in_array ($ indexMethod , $ this ->allowedIndexMethods )) {
90
90
throw new \InvalidArgumentException (
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function testCreateFromSelectWithException()
75
75
$ this ->adapterMock ,
76
76
$ indexes ,
77
77
TemporaryTableService::INDEX_METHOD_HASH . "Other " ,
78
- TemporaryTableService::INDEX_METHOD_INNODB . "Other "
78
+ TemporaryTableService::DB_ENGINE_INNODB . "Other "
79
79
)
80
80
);
81
81
}
You can’t perform that action at this time.
0 commit comments