projects
/
bse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b81661
)
prevent noise when removing old tables
author
Tony Cook
<tony@develop-help.com>
Sun, 12 Apr 2020 03:28:18 +0000
(13:28 +1000)
committer
Tony Cook
<tony@develop-help.com>
Sun, 12 Apr 2020 03:28:18 +0000
(13:28 +1000)
schema/mysql_build.pl
patch
|
blob
|
blame
|
history
diff --git
a/schema/mysql_build.pl
b/schema/mysql_build.pl
index 6d4ac18ea02862eae131de1ab2190995709ffabb..65482554c69cab8d2809abeb5d833441bb092efb 100644
(file)
--- a/
schema/mysql_build.pl
+++ b/
schema/mysql_build.pl
@@
-9,6
+9,7
@@
my $dist = shift || "schema/bse.sql";
my $dbh = DBI->connect("dbi:mysql:$db", $un, $pw)
or die "Cannot connect to db: ",DBI->errstr;
+$dbh->{PrintError} = 0; # we report our own errors
my $tl = $dbh->prepare("show tables")
or die "prepare show tables ",$dbh->errstr;