Created Codestriker topic at:
  
http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=1573356&action=view

  User: sits    
  Date: 06/01/22 14:47:14

  Modified:    lib/Codestriker/BugDB FlysprayConnection.pm
  Log:
  Updated Flyspray database code for checking for the existence of a task/bug
  
  
  
  Index: FlysprayConnection.pm
  ===================================================================
  RCS file: 
/cvsroot/codestriker/codestriker/lib/Codestriker/BugDB/FlysprayConnection.pm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FlysprayConnection.pm     16 Jan 2006 21:22:58 -0000      1.3
  +++ FlysprayConnection.pm     22 Jan 2006 22:47:14 -0000      1.4
  @@ -39,8 +39,8 @@
   sub bugid_exists($$) {
       my ($self, $bugid) = @_;
   
  -    # TODO: update this with the appropriate SQL statement.
  -    return 1;
  +    return $self->{dbh}->selectrow_array('SELECT COUNT(*) FROM 
flyspray_tasks ' .
  +                                      'WHERE task_id = ?', {}, $bugid) != 0;
   }
   
   
  
  
  


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits

Reply via email to