aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mssql_odbc.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-08-11 21:52:46 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-08-11 21:52:46 +0000
commit86f3d738a0efbf5c50bdf112841aba2c8b859e85 (patch)
tree6c7c34285132704577420d8f6b56545523018c71 /phpBB/includes/db/mssql_odbc.php
parent9086adad3c5fb9454a6df9149fb3f4ab7987b8ef (diff)
downloadforums-86f3d738a0efbf5c50bdf112841aba2c8b859e85.tar
forums-86f3d738a0efbf5c50bdf112841aba2c8b859e85.tar.gz
forums-86f3d738a0efbf5c50bdf112841aba2c8b859e85.tar.bz2
forums-86f3d738a0efbf5c50bdf112841aba2c8b859e85.tar.xz
forums-86f3d738a0efbf5c50bdf112841aba2c8b859e85.zip
so.... what does this thing do?
well, the super fast, ultra efficient, massively huge BBCode handling system was implemented differently on each DBMS. Although this provided the best performance, the solution was a bit hacky. So what does this new thing do? We use base64 encoding to make everything nice and shiny, it turns into nice, safe characters that we can just jam into varchars on essentially any database. This has two implications: we must decode every bitfield we get AND we have slightly fewer IDs to work with. It goes down from 2040 BBCodes to 1512. We lose like a quarter of them :P P.S. I hope nothing broke :P git-svn-id: file:///svn/phpbb/trunk@6263 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/mssql_odbc.php')
-rw-r--r--phpBB/includes/db/mssql_odbc.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/phpBB/includes/db/mssql_odbc.php b/phpBB/includes/db/mssql_odbc.php
index 38ed91cd55..e1b2675a23 100644
--- a/phpBB/includes/db/mssql_odbc.php
+++ b/phpBB/includes/db/mssql_odbc.php
@@ -380,14 +380,6 @@ class dbal_mssql_odbc extends dbal
}
/**
- * Escape string used in sql query
- */
- function sql_escape_binary($msg)
- {
- return "CAST('" . $msg . "' AS varbinary)";
- }
-
- /**
* Build db-specific query data
* @access: private
*/