diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-20 14:20:12 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-20 14:20:12 +0000 |
commit | dbb6b3f6cf182579cac5bd0baf4f34744d0b1153 (patch) | |
tree | 8191075d52ad8907c8baea69475daafc957e6c0a /phpBB/includes/search/fulltext_mysql.php | |
parent | f77c0f0541f1c37b8d4f526857a5a288f84042d5 (diff) | |
download | forums-dbb6b3f6cf182579cac5bd0baf4f34744d0b1153.tar forums-dbb6b3f6cf182579cac5bd0baf4f34744d0b1153.tar.gz forums-dbb6b3f6cf182579cac5bd0baf4f34744d0b1153.tar.bz2 forums-dbb6b3f6cf182579cac5bd0baf4f34744d0b1153.tar.xz forums-dbb6b3f6cf182579cac5bd0baf4f34744d0b1153.zip |
- actually let the user import smilies/icons paks. ;)
- fix TRUNCATE TABLE syntax (mssql does not understand TRUNCATE alone)
git-svn-id: file:///svn/phpbb/trunk@5944 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_mysql.php')
-rw-r--r-- | phpBB/includes/search/fulltext_mysql.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php index af44b98ded..86ee938d66 100644 --- a/phpBB/includes/search/fulltext_mysql.php +++ b/phpBB/includes/search/fulltext_mysql.php @@ -647,7 +647,7 @@ class fulltext_mysql extends search_backend $db->sql_query('ALTER TABLE ' . POSTS_TABLE . ' ADD FULLTEXT (post_text)'); } - $db->sql_query('TRUNCATE ' . SEARCH_TABLE); + $db->sql_query('TRUNCATE TABLE ' . SEARCH_TABLE); } /** @@ -678,7 +678,7 @@ class fulltext_mysql extends search_backend $db->sql_query('ALTER TABLE ' . POSTS_TABLE . ' DROP INDEX post_text'); } - $db->sql_query('TRUNCATE ' . SEARCH_TABLE); + $db->sql_query('TRUNCATE TABLE ' . SEARCH_TABLE); } /** |