diff options
| author | David M <davidmj@users.sourceforge.net> | 2007-06-09 17:00:50 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2007-06-09 17:00:50 +0000 |
| commit | e41b3b89437c166588e2ae77f02c85d1c238665b (patch) | |
| tree | f9a757d63820878d89317370098a339b20968cc3 /phpBB/install/convertors | |
| parent | f31c53963a15d09d5fe942c9951e04bd7a655919 (diff) | |
| download | forums-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/install/convertors')
| -rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
