projects
/
webpac
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
640cc80
)
don't die if old table cannot be dropped
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 Feb 2004 10:20:50 +0000
(10:20 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 Feb 2004 10:20:50 +0000
(10:20 +0000)
git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@225
13eb9ef6
-21d5-0310-b721-
a9d68796d827
index_DBI_cache.pm
patch
|
blob
|
history
diff --git
a/index_DBI_cache.pm
b/index_DBI_cache.pm
index
ae6c7ca
..
43a1b27
100644
(file)
--- a/
index_DBI_cache.pm
+++ b/
index_DBI_cache.pm
@@
-66,7
+66,7
@@
sub delete_and_create {
# FIX: this is not a good way to check if table exists!
if ($sth->execute() && $sth->fetchrow_hashref) {
my $sql = "drop table $field";
- my $sth = $self->{dbh}->do($sql) ||
die "SQL: $sql ".$self->{dbh}
->errstr();
+ my $sth = $self->{dbh}->do($sql) ||
warn "SQL: $sql - ".$sth
->errstr();
}
$sql = "create table $field (
item varchar(255),