DB Object에서 MYSQLI_OPT_INT_AND_FLOAT_NATIVE 켬.

This commit is contained in:
Hide_D committed 2018-02-09 03:23:25 +09:00
1 parent 1d8f973d48
commit 669e2d5141
2 files changed
+2

No files matched your search

+1
View File
@@ -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;
+1
View File
@@ -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;