aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-06-09 17:00:50 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-06-09 17:00:50 +0000
commite41b3b89437c166588e2ae77f02c85d1c238665b (patch)
treef9a757d63820878d89317370098a339b20968cc3 /phpBB
parentf31c53963a15d09d5fe942c9951e04bd7a655919 (diff)
downloadforums-e41b3b89437c166588e2ae77f02c85d1c238665b.tar
forums-e41b3b89437c166588e2ae77f02c85d1c238665b.tar.gz
forums-e41b3b89437c166588e2ae77f02c85d1c238665b.tar.bz2
forums-e41b3b89437c166588e2ae77f02c85d1c238665b.tar.xz
forums-e41b3b89437c166588e2ae77f02c85d1c238665b.zip
#12279 - Thanks to ToonArmy
git-svn-id: file:///svn/phpbb/trunk@7742 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 77b88b5715..efe432d243 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -257,6 +257,7 @@ p a {
<li>[Fix] UTF-8 support in theme and template editors (Bug #12251)</li>
<li>[Fix] Allow for posts per page in the MCP to change during topic selection (Bug #12067)</li>
<li>[Fix] Remove group avatars upon deletion from all profiles, not just the people having the group as default (Bug #12275, #12267)</li>
+ <li>[Fix] Allow for conversions to SQLite (Bug #12279) - patch provided by ToonArmy</li>
</ul>
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index 5db255f7f5..ca4f49d938 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -1727,15 +1727,15 @@ function phpbb_check_username_collisions()
case 'sqlite':
$create_sql = 'CREATE TABLE ' . $table_prefix . 'userconv (
user_id INTEGER NOT NULL DEFAULT \'0\',
- username_clean varchar(255) NOT NULL DEFAULT \'\',
+ username_clean varchar(255) NOT NULL DEFAULT \'\'
)';
break;
}
$db->sql_return_on_error(true);
$db->sql_query($drop_sql);
- $db->sql_query($create_sql);
$db->sql_return_on_error(false);
+ $db->sql_query($create_sql);
// now select all user_ids and usernames and then convert the username (this can take quite a while!)
$sql = 'SELECT user_id, username