/[irc-logger]/trunk/irc-logger.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/irc-logger.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16 by dpavlin, Mon Mar 13 16:43:18 2006 UTC revision 17 by dpavlin, Mon Mar 13 16:50:07 2006 UTC
# Line 123  sub get_from_log { Line 123  sub get_from_log {
123    
124          my $sth = $dbh->prepare( $sql );          my $sth = $dbh->prepare( $sql );
125          if ($args->{search}) {          if ($args->{search}) {
                 warn "search for '$args->{search}' returned ", $sth->rows, " results\n";  
126                  $sth->execute( '%' . $args->{search} . '%' );                  $sth->execute( '%' . $args->{search} . '%' );
127                    warn "search for '$args->{search}' returned ", $sth->rows, " results\n";
128          } else {          } else {
129                  $sth->execute();                  $sth->execute();
130          }          }

Legend:
Removed from v.16  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.26