projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix (different) pc34 UNIVERSAL typo in DXProt
[spider.git]
/
perl
/
DXSql
/
mysql.pm
diff --git
a/perl/DXSql/mysql.pm
b/perl/DXSql/mysql.pm
index 6dc15d0d516f419d89e0d1eb9b70b3e618b1a827..ff708da61f038ba76f6d4b6d16288672a388131e 100644
(file)
--- a/
perl/DXSql/mysql.pm
+++ b/
perl/DXSql/mysql.pm
@@
-3,7
+3,7
@@
#
# Stuff like table creates and (later) alters
#
#
# Stuff like table creates and (later) alters
#
-#
$Id$
+#
#
# Copyright (c) 2005 Dirk Koopman G1TLH
#
#
# Copyright (c) 2005 Dirk Koopman G1TLH
#
@@
-22,7
+22,9
@@
sub show_tables
my $sth = $self->prepare($s);
$sth->execute;
my @out;
my $sth = $self->prepare($s);
$sth->execute;
my @out;
- push @out, $sth->fetchrow_array;
+ while (my @t = $sth->fetchrow_array) {
+ push @out, @t;
+ }
$sth->finish;
return @out;
}
$sth->finish;
return @out;
}