Skip to content

Commit

Permalink
Declare and set linksetdata to null when updating prims table where t…
Browse files Browse the repository at this point in the history
…here is no linkdata on a prim. Previously it was left off an being explicitely set and the connector considers that an error.
  • Loading branch information
mdickson committed Nov 5, 2023
1 parent f9674b1 commit e05b559
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions OpenSim/Data/MySQL/MySQLSimulationData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,10 @@ private void FillPrimCommand(MySqlCommand cmd, SceneObjectPart prim, UUID sceneG
{
cmd.Parameters.AddWithValue("linksetdata", prim.SerializeLinksetData());
}
else
{
cmd.Parameters.AddWithValue("linksetdata", null);
}
}

/// <summary>
Expand Down

0 comments on commit e05b559

Please sign in to comment.