mysql is wetodded

This commit is contained in:
Doug Bell 2009-04-30 20:05:40 +00:00
parent b6f103cae6
commit 622154189b

View file

@ -250,7 +250,7 @@ sub addTemplatePacking {
$session->db->write("ALTER TABLE snippet ADD usePacked INT(1)");
print "\n\t\tPre-packing all snippets, this may take a while..." unless $quiet;
my $sth = $session->db->read( "SELECT DISTINCT(assetId) FROM Snippet" );
my $sth = $session->db->read( "SELECT DISTINCT(assetId) FROM snippet" );
while ( my ($assetId) = $sth->array ) {
my $asset = WebGUI::Asset->newByDynamicClass( $session, $assetId );
next unless $asset;