VERSION 6.03.18

- Agregamos vacuum al borrado de las coordenadas!
This commit is contained in:
2026-03-20 19:27:17 -06:00
parent 25ef7fedb8
commit 18bda794e6
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,6 @@ Public Sub Initialize
' B4XPages.GetManager.LogEvents = True
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
@@ -321,6 +320,7 @@ Sub B4XPage_Appear
Dim lastUpdate As String = DateTime.Date(fechaCorteLong)
' Borramos las coordenadas de mas de 60 dias de RUTA_GPS
Starter.skmt.ExecNonQuery2("DELETE FROM RUTA_GPS WHERE FECHA < ?", Array As String(lastUpdate))
Starter.skmt.ExecNonQuery("VACUUM")
Log("Borramos coords viejas: " & lastUpdate)
End Sub