diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-06-27 07:29:32 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-06-27 07:29:32 +0000 |
| commit | a840c40a485076ed3b5f43e79ddb4bec59afb862 (patch) | |
| tree | b44fd2b467200f0ea3f72329a5650a0d83a4f095 /frontends/php/include/db.inc.php | |
| parent | e2a49f81092e445f549e3cac4c0d57a2b14df7fb (diff) | |
- changed type of lastlogsize to long in structure METRIC (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2980 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
| -rw-r--r-- | frontends/php/include/db.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index d115a66e..d3fd55a2 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -22,13 +22,13 @@ // DATABASE CONFIGURATION -// $DB_TYPE ="ORACLE"; + $DB_TYPE ="ORACLE"; // $DB_TYPE ="POSTGRESQL"; - $DB_TYPE ="MYSQL"; +// $DB_TYPE ="MYSQL"; $DB_SERVER ="localhost"; - $DB_DATABASE ="osmiy"; - $DB_USER ="root"; - $DB_PASSWORD =""; +// $DB_DATABASE ="osmiy"; + $DB_USER ="scott"; + $DB_PASSWORD ="tiger"; // END OF DATABASE CONFIGURATION global $USER_DETAILS; @@ -182,7 +182,7 @@ COpt::savesqlrequest($query); if($DB_TYPE == "ORACLE") { // echo "DBfetch<br>"; - if(!ocifetchinto($cursor,$row,OCI_ASSOC+OCI_RETURN_NULLS)) + if(!ocifetchinto($cursor, $row, OCI_ASSOC+OCI_NUM+OCI_RETURN_NULLS)) { return FALSE; } |
