mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
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
This commit is contained in:
@@ -477,7 +477,7 @@ CREATE TABLE phpbb_forums (
|
||||
forum_parents clob DEFAULT '' ,
|
||||
forum_name varchar2(3000) DEFAULT '' ,
|
||||
forum_desc clob DEFAULT '' ,
|
||||
forum_desc_bitfield raw(255) DEFAULT '' ,
|
||||
forum_desc_bitfield varchar(252) DEFAULT '' ,
|
||||
forum_desc_options number(11) DEFAULT '0' NOT NULL,
|
||||
forum_desc_uid varchar2(5) DEFAULT '' ,
|
||||
forum_link varchar2(255) DEFAULT '' ,
|
||||
@@ -486,7 +486,7 @@ CREATE TABLE phpbb_forums (
|
||||
forum_image varchar2(255) DEFAULT '' ,
|
||||
forum_rules clob DEFAULT '' ,
|
||||
forum_rules_link varchar2(255) DEFAULT '' ,
|
||||
forum_rules_bitfield raw(255) DEFAULT '' ,
|
||||
forum_rules_bitfield varchar(252) DEFAULT '' ,
|
||||
forum_rules_options number(11) DEFAULT '0' NOT NULL,
|
||||
forum_rules_uid varchar2(5) DEFAULT '' ,
|
||||
forum_topics_per_page number(4) DEFAULT '0' NOT NULL,
|
||||
@@ -582,7 +582,7 @@ CREATE TABLE phpbb_groups (
|
||||
group_type number(4) DEFAULT '1' NOT NULL,
|
||||
group_name varchar2(252) DEFAULT '' ,
|
||||
group_desc clob DEFAULT '' ,
|
||||
group_desc_bitfield raw(255) DEFAULT '' ,
|
||||
group_desc_bitfield varchar(252) DEFAULT '' ,
|
||||
group_desc_options number(11) DEFAULT '0' NOT NULL,
|
||||
group_desc_uid varchar2(5) DEFAULT '' ,
|
||||
group_display number(1) DEFAULT '0' NOT NULL,
|
||||
@@ -847,7 +847,7 @@ CREATE TABLE phpbb_posts (
|
||||
post_checksum varchar2(32) DEFAULT '' ,
|
||||
post_encoding varchar2(20) DEFAULT 'iso-8859-1' NOT NULL,
|
||||
post_attachment number(1) DEFAULT '0' NOT NULL,
|
||||
bbcode_bitfield raw(255) DEFAULT '' ,
|
||||
bbcode_bitfield varchar(252) DEFAULT '' ,
|
||||
bbcode_uid varchar2(5) DEFAULT '' ,
|
||||
post_postcount number(1) DEFAULT '1' NOT NULL,
|
||||
post_edit_time number(11) DEFAULT '0' NOT NULL,
|
||||
@@ -910,7 +910,7 @@ CREATE TABLE phpbb_privmsgs (
|
||||
message_edit_user number(8) DEFAULT '0' NOT NULL,
|
||||
message_encoding varchar2(20) DEFAULT 'iso-8859-1' NOT NULL,
|
||||
message_attachment number(1) DEFAULT '0' NOT NULL,
|
||||
bbcode_bitfield raw(255) DEFAULT '' ,
|
||||
bbcode_bitfield varchar(252) DEFAULT '' ,
|
||||
bbcode_uid varchar2(5) DEFAULT '' ,
|
||||
message_edit_time number(11) DEFAULT '0' NOT NULL,
|
||||
message_edit_count number(4) DEFAULT '0' NOT NULL,
|
||||
@@ -1418,7 +1418,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
template_name varchar2(252) DEFAULT '' ,
|
||||
template_copyright varchar2(255) DEFAULT '' ,
|
||||
template_path varchar2(100) DEFAULT '' ,
|
||||
bbcode_bitfield raw(255) DEFAULT '90D8' NOT NULL,
|
||||
bbcode_bitfield varchar(252) DEFAULT 'kNg=' NOT NULL,
|
||||
template_storedb number(1) DEFAULT '0' NOT NULL,
|
||||
CONSTRAINT pk_phpbb_styles_template PRIMARY KEY (template_id),
|
||||
CONSTRAINT u_phpbb_tmplte_nm UNIQUE (template_name)
|
||||
@@ -1819,7 +1819,7 @@ CREATE TABLE phpbb_users (
|
||||
user_avatar_height number(4) DEFAULT '0' NOT NULL,
|
||||
user_sig clob DEFAULT '' ,
|
||||
user_sig_bbcode_uid varchar2(5) DEFAULT '' ,
|
||||
user_sig_bbcode_bitfield raw(255) DEFAULT '' ,
|
||||
user_sig_bbcode_bitfield varchar(252) DEFAULT '' ,
|
||||
user_from varchar2(100) DEFAULT '' ,
|
||||
user_icq varchar2(15) DEFAULT '' ,
|
||||
user_aim varchar2(255) DEFAULT '' ,
|
||||
|
Reference in New Issue
Block a user