|
From: Bart v. B. <ba...@us...> - 2001-12-14 01:58:25
|
Update of /cvsroot/phpbb/phpBB2/develop
In directory usw-pr-cvs1:/tmp/cvs-serv3501
Modified Files:
search_fill.php
Log Message:
Changed fixed table name to constant
Index: search_fill.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/develop/search_fill.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** search_fill.php 2001/12/11 08:43:04 1.4
--- search_fill.php 2001/12/14 01:58:21 1.5
***************
*** 125,129 ****
if( $delete_common)
{
! $sql = "DELETE FROM phpbb_search_wordmatch
WHERE word_id IN ($common_word_ids)";
$result = $db->sql_query($sql);
--- 125,129 ----
if( $delete_common)
{
! $sql = "DELETE FROM ".SEARCH_MATCH_TABLE."
WHERE word_id IN ($common_word_ids)";
$result = $db->sql_query($sql);
***************
*** 216,220 ****
{
! // $sql = "LOCK TABLES phpbb_posts_text WRITE";
// $result = $db->sql_query($sql);
print "\n<p>\n<a href='$PHP_SELF?batchstart=$batchstart'>Restart from posting $batchstart</a><br>\n";
--- 216,220 ----
{
! // $sql = "LOCK TABLES ".POST_TEXT_TABLE." WRITE";
// $result = $db->sql_query($sql);
print "\n<p>\n<a href='$PHP_SELF?batchstart=$batchstart'>Restart from posting $batchstart</a><br>\n";
|