mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
configDB.pm: minor code cleanup
git-svn-id: https://svn.fhem.de/fhem/trunk@25841 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0f36f77cff
commit
c9273002f6
@ -176,6 +176,8 @@
|
||||
# 2022-02-20 - added statefile versioning - begin
|
||||
# 2022-03-03 statefile versioning - completed
|
||||
#
|
||||
# 2022-03-14 - fixed statefile problems with POSTGRESQL
|
||||
#
|
||||
##############################################################################
|
||||
=cut
|
||||
|
||||
@ -350,7 +352,7 @@ sub cfgDB_Init {
|
||||
}
|
||||
|
||||
# create TABLE fhemstate if nonexistent
|
||||
# $fhem_dbh->do("CREATE TABLE IF NOT EXISTS fhemstate(stateString TEXT)");
|
||||
$fhem_dbh->do("CREATE TABLE IF NOT EXISTS fhemstate(stateString TEXT)");
|
||||
|
||||
# create TABLE fhemb64filesave if nonexistent
|
||||
if($cfgDB_dbtype eq "MYSQL") {
|
||||
@ -442,7 +444,7 @@ sub cfgDB_FileUpdate {
|
||||
return;
|
||||
}
|
||||
|
||||
# read and execute fhemconfig and fhemstate
|
||||
# read and execute fhemconfig and statefile
|
||||
sub cfgDB_ReadAll { ## prototype used in fhem.pl
|
||||
my ($cl) = @_;
|
||||
my ($ret, @dbconfig);
|
||||
|
Loading…
x
Reference in New Issue
Block a user