aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/odbc.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-05-13 12:13:34 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-05-13 12:13:34 +0000
commitbdaedc9afc2dc1c40aecaf5fb7caa2212449dc9f (patch)
treef897616570f1e53a053eb10316d826a45a9df68b /phpBB/db/odbc.php
parentfd890fb095a8211e6e0ff407f437295768a60365 (diff)
downloadforums-bdaedc9afc2dc1c40aecaf5fb7caa2212449dc9f.tar
forums-bdaedc9afc2dc1c40aecaf5fb7caa2212449dc9f.tar.gz
forums-bdaedc9afc2dc1c40aecaf5fb7caa2212449dc9f.tar.bz2
forums-bdaedc9afc2dc1c40aecaf5fb7caa2212449dc9f.tar.xz
forums-bdaedc9afc2dc1c40aecaf5fb7caa2212449dc9f.zip
Minor alt
git-svn-id: file:///svn/phpbb/trunk@280 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db/odbc.php')
-rw-r--r--phpBB/db/odbc.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/phpBB/db/odbc.php b/phpBB/db/odbc.php
index 9d50cefc71..ed0d453cc8 100644
--- a/phpBB/db/odbc.php
+++ b/phpBB/db/odbc.php
@@ -22,6 +22,8 @@
if(!defined("SQL_LAYER"))
{
+dl('odbc.so');
+
define("SQL_LAYER","odbc");
class sql_db
@@ -259,14 +261,14 @@ class sql_db
{
$query_id = $this->query_result;
}
- if($query_id)
+/* if($query_id)
{
return $this->@odbc_num_rows[$query_id];
}
else
{
return false;
- }
+ }*/
}
function sql_numfields($query_id = 0)
{
@@ -437,10 +439,10 @@ class sql_db
}
function sql_error($query_id = 0)
{
- $result["code"] = @odbc_error($this->db_connect_id);
- $result["message"] = @odbc_errormsg($this->db_connect_id);
+// $result['code'] = @odbc_error($this->db_connect_id);
+// $result['message'] = @odbc_errormsg($this->db_connect_id);
- return $result;
+ return "";
}
} // class sql_db