/[BackupPC]/trunk/bin/BackupPC_updatedb
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/bin/BackupPC_updatedb

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

revision 24 by dpavlin, Mon Jul 11 14:31:51 2005 UTC revision 25 by dpavlin, Wed Jul 13 09:57:41 2005 UTC
# Line 236  sub getShareID() { Line 236  sub getShareID() {
236                  VALUES (?,?,?,?)                  VALUES (?,?,?,?)
237          });          });
238    
239          $sth->{insert_share}->execute($hostID,$share, $hostname . $share,undef);          my $drop_down = $hostname . '/' . $share;
240            $drop_down =~ s#//+#/#g;
241    
242            $sth->{insert_share}->execute($hostID,$share, $drop_down ,undef);
243          return $dbh->func('last_insert_rowid');                  return $dbh->func('last_insert_rowid');        
244  }  }
245    

Legend:
Removed from v.24  
changed lines
  Added in v.25

  ViewVC Help
Powered by ViewVC 1.1.26