2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

contrib/configdb: for debugging

git-svn-id: https://svn.fhem.de/fhem/trunk@15009 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2017-09-05 14:15:15 +00:00
parent 0879a1accd
commit 04c297da27

View File

@ -310,7 +310,7 @@ sub cfgDB_Init() {
# if ($exists) {
if ( _cfgDB_table_exists($fhem_dbh,"fhembinfilesave") ) {
$sth_test->finish();
# $sth_test->finish();
# check: any files for migratione?
$count = undef;
$count = $fhem_dbh->selectrow_array('SELECT count(*) FROM fhembinfilesave');
@ -352,7 +352,7 @@ sub cfgDB_Init() {
sub _cfgDB_table_exists($$) {
my ($dbh,$table) = @_;
printf "looking for table fhembinfilesave\n";
my @tables = $db->tables('','','','TABLE');
my @tables = $dbh->tables('','','','TABLE');
if (@tables) {
printf "testing 1\n";
for (@tables) {