/[pupa]/bugcomm/lib/bugcomm/database.rb
ViewVC logotype

Diff of /bugcomm/lib/bugcomm/database.rb

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

revision 1.16 by okuji, Thu Nov 21 01:50:21 2002 UTC revision 1.17 by okuji, Thu Nov 21 06:14:03 2002 UTC
# Line 581  module BugCommunicator Line 581  module BugCommunicator
581      end      end
582    
583      def add_followup(project, bug_id, message)      def add_followup(project, bug_id, message)
584        q("SELECT bug_id `FROM #{e(bug_table(project))}` \        q("SELECT bug_id FROM `#{e(bug_table(project))}` \
585             WHERE bug_id = #{e(bug_id.to_s)} FOR UPDATE")             WHERE bug_id = #{e(bug_id.to_s)} FOR UPDATE")
586        case r().num_rows()        case r().num_rows()
587        when 1        when 1

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26