From 099da7efe511a106015a77eb1b79f30962b66552 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 15 May 2024 23:29:31 +0100 Subject: [PATCH] and more.. --- OpenSim/Data/PGSQL/PGSQLManager.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenSim/Data/PGSQL/PGSQLManager.cs b/OpenSim/Data/PGSQL/PGSQLManager.cs index 7deb942233..736306e074 100644 --- a/OpenSim/Data/PGSQL/PGSQLManager.cs +++ b/OpenSim/Data/PGSQL/PGSQLManager.cs @@ -207,6 +207,11 @@ namespace OpenSim.Data.PGSQL UUID.TryParse(value.ToString(), out uid); return uid.Guid; } + if (PGFieldType == "smallint") + { + short.TryParse(value.ToString(), out short sintout); + return sintout; + } if (PGFieldType == "integer") { int intout;