Topic Text   Topic Comments (0)   Topic Properties   Topic Information sits@use...
Topic title: CVS commit: * Modified the way Perforce retrieves files f... Tuesday April 18, 2006 03:45:46

Download topic text | View in monospace font | Tab width set to 8 (change to 4)

Files in topic: (view all files)  
codestriker/CHANGELOG  1.184   {+10,-0}
codestriker/INFO.txt  1.7   {+4,-0}
codestriker/codestriker.conf  1.79   {+8,-2}
codestriker/bin/install.pl  1.2   {+1,-3}
codestriker/doc/codestriker.sgml  1.51   {+2,-2}
codestriker/lib/Codestriker.pm  1.82   {+1,-1}
codestriker/lib/Codestriker/DB/Database.pm  1.8   {+3,-0}
codestriker/lib/Codestriker/DB/Oracle.pm  1.7   {+1,-1}
SQLite.pm   {+82,-0}
codestriker/lib/Codestriker/Model/Delta.pm  1.8   {+3,-3}
codestriker/lib/Codestriker/Model/File.pm  1.24   {+3,-3}
codestriker/lib/Codestriker/Repository/Perforce.pm  1.3   {+10,-5}
codestriker/lib/Codestriker/Repository/RepositoryFactory.pm  1.19   {+4,-0}

[Add General Comment] to topic.

File codestriker/lib/Codestriker/Model/File.pm (Revision 1.24) [Add File Comment] [<<] [Top] [>>]
 
Line 9 | Parallel Line 9 | Parallel
9 9
10 package Codestriker::Model::File; 10 package Codestriker::Model::File;
11 11
12 use Codestriker::Model::Delta;
13
14 use strict; 12 use strict;
13 use Codestriker::Model::Delta;
15 14
16 # Create the appropriate delta rows for this review. Note this gets called 15 # Create the appropriate delta rows for this review. Note this gets called
17 # from Topic::create(), which controls the transaction commit/rollback. 16 # from Topic::create(), which controls the transaction commit/rollback.
 
 
Line 105 | Parallel Line 104 | Parallel
105 # Setup the appropriate statement and execute it. 104 # Setup the appropriate statement and execute it.
106 my $select_file = 105 my $select_file =
107 $dbh->prepare_cached('SELECT filename, revision, topicoffset, ' . 106 $dbh->prepare_cached('SELECT filename, revision, topicoffset, ' .
108 'binaryfile, sequence FROM topicfile WHERE topicid = ? ' . 107 'binaryfile, sequence FROM topicfile ' .
108 'WHERE topicid = ? ' .
109 'ORDER BY sequence'); 109 'ORDER BY sequence');
110 my $success = defined $select_file; 110 my $success = defined $select_file;
111 $success &&= $select_file->execute($topicid); 111 $success &&= $select_file->execute($topicid);
 
File codestriker/lib/Codestriker/Model/File.pm (Revision 1.24) [Add File Comment] [<<] [Top] [>>]
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.