make sure CI member exists
This commit is contained in:
父節點
c3f0266699
當前提交
591173f163
|
@ -24,6 +24,7 @@ class Fixture {
|
|||
// Turn off foreign key checks for mysql so test tables can be easily truncated
|
||||
if (getenv('DB') === 'mysql')
|
||||
{
|
||||
$this->_assign_db();
|
||||
$this->CI->db->simple_query('SET foreign_key_checks = 0;');
|
||||
}
|
||||
}
|
||||
|
|
載入中…
新增問題並參考