mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Change minimum CUBRID version to 9.0
This commit is contained in:
parent
1873270a59
commit
df3837ae6f
1 changed files with 8 additions and 3 deletions
|
|
@ -81,9 +81,14 @@ class DBCubrid extends DB
|
||||||
define('__CUBRID_VERSION__', $cubrid_version);
|
define('__CUBRID_VERSION__', $cubrid_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(__CUBRID_VERSION__ >= '8.4.0')
|
if(version_compare(__CUBRID_VERSION__, '9.0', '<'))
|
||||||
cubrid_set_autocommit($result, CUBRID_AUTOCOMMIT_TRUE);
|
{
|
||||||
|
$this->setError(-1, 'Rhymix requires CUBRID 9.0 or later. Current CUBRID version is ' . __CUBRID_VERSION__);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
cubrid_set_autocommit($result, CUBRID_AUTOCOMMIT_TRUE);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue