From: timriker Date: Wed, 14 Mar 2007 22:51:47 +0000 (+0000) Subject: ws X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2fe7b3f4c44843313576e45ac0ceee8d2fcdab3d;p=infobot.git ws git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1338 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/dbi.pl b/src/dbi.pl index 76954e7..3bdedb7 100644 --- a/src/dbi.pl +++ b/src/dbi.pl @@ -339,7 +339,7 @@ sub sqlReplace { &WARN("DEBUG: ($pkey = ) " . sprintf( "REPLACE INTO %s (%s) VALUES (%s)", $table, join(',',@k), join(',',@v) - )); + )); } else { &sqlRaw("Replace($table)", sprintf( @@ -687,8 +687,6 @@ sub checkTables { } &status("Tables: ".join(',',@tables)); @db{@tables} = (1) x @tables; - - } foreach ( qw(botmail connections factoids rootwarn seen stats onjoin) ) {