mirror of https://git.48k.eu/ogserver
#839: Always update the partition types when obtaining the computer configuration.
parent
abd2b913d8
commit
696c5bbaf0
|
@ -663,9 +663,10 @@ bool actualizaConfiguracion(Database db, Table tbl, char *cfg, int ido)
|
|||
cpt, tam, uso, idsfi, idsoi, ido, disk, par);
|
||||
} else { // Actualizar porcentaje de uso.
|
||||
sprintf(sqlstr, "UPDATE ordenadores_particiones SET "
|
||||
" codpar=0x%s,"
|
||||
" uso=%s"
|
||||
" WHERE idordenador=%d AND numdisk=%s AND numpar=%s",
|
||||
uso, ido, disk, par);
|
||||
cpt, uso, ido, disk, par);
|
||||
}
|
||||
if (!db.Execute(sqlstr, tbl)) {
|
||||
db.GetErrorErrStr(msglog);
|
||||
|
|
Loading…
Reference in New Issue