diff --git a/mRemoteNG/Config/Connections/SqlConnectionsSaver.cs b/mRemoteNG/Config/Connections/SqlConnectionsSaver.cs index d1c3ec0cb..c10bdcffd 100644 --- a/mRemoteNG/Config/Connections/SqlConnectionsSaver.cs +++ b/mRemoteNG/Config/Connections/SqlConnectionsSaver.cs @@ -173,7 +173,7 @@ namespace mRemoteNG.Config.Connections DbParameter lastUpdateParam = dbQuery.CreateParameter(); lastUpdateParam.ParameterName = "@LastUpdate"; // Use DBTimeStampNow() instead of DBDate() - the column is datetime type, not string - // DBTimeStampNow() returns the appropriate .NET type (DateTime or MySqlDateTime) for parameterized queries + // DBTimeStampNow() returns the database-specific .NET type: DateTime for MSSQL, MySqlDateTime for MySQL lastUpdateParam.Value = MiscTools.DBTimeStampNow(); dbQuery.Parameters.Add(lastUpdateParam);