DB Object에서 MYSQLI_OPT_INT_AND_FLOAT_NATIVE 켬.
This commit is contained in:
@@ -18,6 +18,7 @@ function getRootDB(){
|
|||||||
|
|
||||||
if($uDB === NULL){
|
if($uDB === NULL){
|
||||||
$uDB = new MeekroDB($host,$user,$password,$dbName,$port,$encoding);
|
$uDB = new MeekroDB($host,$user,$password,$dbName,$port,$encoding);
|
||||||
|
$uDB->connect_options[MYSQLI_OPT_INT_AND_FLOAT_NATIVE] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $uDB;
|
return $uDB;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ function getDB(){
|
|||||||
|
|
||||||
if($uDB === NULL){
|
if($uDB === NULL){
|
||||||
$uDB = new MeekroDB($host,$user,$password,$dbName,$port,$encoding);
|
$uDB = new MeekroDB($host,$user,$password,$dbName,$port,$encoding);
|
||||||
|
$uDB->connect_options[MYSQLI_OPT_INT_AND_FLOAT_NATIVE] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $uDB;
|
return $uDB;
|
||||||
|
|||||||
Reference in New Issue
Block a user