aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-12 16:20:39 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-12 16:20:39 +0000
commitb63745fdb3b775d7505f38ed03a8bb39907a825c (patch)
tree3c2bc96535a30d66df3fdf6b3307be469d4362bd /phpBB/includes/db
parentf0868d37dfd73df6c2dfd76362af6c09b6b49a5f (diff)
downloadforums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar
forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar.gz
forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar.bz2
forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.tar.xz
forums-b63745fdb3b775d7505f38ed03a8bb39907a825c.zip
my take on getting the bugs down... thanks to those also providing (usable) solutions to the problem. ;) Of course also to those reporting generally...
git-svn-id: file:///svn/phpbb/trunk@7330 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/mssql_odbc.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/includes/db/mssql_odbc.php b/phpBB/includes/db/mssql_odbc.php
index ab3bd2a164..5fa14a66b6 100644
--- a/phpBB/includes/db/mssql_odbc.php
+++ b/phpBB/includes/db/mssql_odbc.php
@@ -22,6 +22,11 @@ include_once($phpbb_root_path . 'includes/db/dbal.' . $phpEx);
* Unified ODBC functions
* Unified ODBC functions support any database having ODBC driver, for example Adabas D, IBM DB2, iODBC, Solid, Sybase SQL Anywhere...
* Here we only support MSSQL Server 2000+ because of the provided schema
+*
+* @note number of bytes returned for returning data depends on odbc.defaultlrl php.ini setting.
+* If it is limited to 4K for example only 4K of data is returned max, resulting in incomplete theme data for example.
+* @note odbc.defaultbinmode may affect UTF8 characters
+*
* @package dbal
*/
class dbal_mssql_odbc extends dbal
@@ -195,8 +200,9 @@ class dbal_mssql_odbc extends dbal
/**
* Fetch current row
+ * @note number of bytes returned depends on odbc.defaultlrl php.ini setting. If it is limited to 4K for example only 4K of data is returned max.
*/
- function sql_fetchrow($query_id = false)
+ function sql_fetchrow($query_id = false, $debug = false)
{
global $cache;