OpenSim.Data.MySQL.MySQLDataStore.ExecuteNonQuery(MysqlCommand c): Throws an exception when performing c.ExecuteNonQuery();
Error: Additional information: Unknown column 'Materials' in 'field list'
Reproduction steps: Loaded an oar (seanston.oar linked below) and the exception occurred. Deleted the region and created a new one. The exception continued to occur. Added Materials column to primshapes, exception does not occur any longer.
seanston.oar: https://drive.google.com/open?id=0Bz23IMCDYq0NZVl4ckJ5VmtLb28
Solution: Added Materials column to primshapes table in Inworldz database.
Query: "INSERT INTO primshapes (UUID, Shape, ScaleX, ScaleY, ScaleZ, PCode, PathBegin, PathEnd, PathScaleX, PathScaleY, PathShearX, PathShearY, PathSkew, PathCurve, PathRadiusOffset, PathRevolutions, PathTaperX, PathTaperY, PathTwist, PathTwistBegin, ProfileBegin, ProfileEnd, ProfileCurve, ProfileHollow, Texture, ExtraParams, Media, Materials, State, PhysicsData, PreferredPhysicsShape, VertexCount, HighLODBytes, MidLODBytes, LowLODBytes, LowestLODBytes) values (?UUID0, ?Shape0, ?ScaleX0, ?ScaleY0, ?ScaleZ0, ?PCode0, ?PathBegin0, ?PathEnd0, ?PathScaleX0, ?PathScaleY0, ?PathShearX0, ?PathShearY0, ?PathSkew0, ?PathCurve0, ?PathRadiusOffset0, ?PathRevolutions0, ?PathTaperX0, ?PathTaperY0, ?PathTwist0, ?PathTwistBegin0, ?ProfileBegin0, ?ProfileEnd0, ?ProfileCurve0, ?ProfileHollow0, ?Texture0, ?ExtraParams0, ?Media0, ?Materials0, ?State0, ?PhysicsData0, ?PreferredPhysicsShape0, ?VertexCount0, ?HighLODBytes0, ?MidLODBytes0, ?LowLODBytes0, ?LowestLODBytes0),(?UUID1, ?Shape1, ?ScaleX1, ?ScaleY1, ?ScaleZ1, ?PCode1, ?PathBegin1, ?PathEnd1, ?PathScaleX1, ?PathScaleY1, ?PathShearX1, ?PathShearY1, ?PathSkew1, ?PathCurve1, ?PathRadiusOffset1, ?PathRevolutions1, ?PathTaperX1, ?PathTaperY1, ?PathTwist1, ?PathTwistBegin1, ?ProfileBegin1, ?ProfileEnd1, ?ProfileCurve1, ?ProfileHollow1, ?Texture1, ?ExtraParams1, ?Media1, ?Materials1, ?State1, ?PhysicsData1, ?PreferredPhysicsShape1, ?VertexCount1, ?HighLODBytes1, ?MidLODBytes1, ?LowLODBytes1, ?LowestLODBytes1) ON DUPLICATE KEY UPDATE UUID=VALUES(UUID), Shape=VALUES(Shape), ScaleX=VALUES(ScaleX), ScaleY=VALUES(ScaleY), ScaleZ=VALUES(ScaleZ), PCode=VALUES(PCode), PathBegin=VALUES(PathBegin), PathEnd=VALUES(PathEnd), PathScaleX=VALUES(PathScaleX), PathScaleY=VALUES(PathScaleY), PathShearX=VALUES(PathShearX), PathShearY=VALUES(PathShearY), PathSkew=VALUES(PathSkew), PathCurve=VALUES(PathCurve), PathRadiusOffset=VALUES(PathRadiusOffset), PathRevolutions=VALUES(PathRevolutions), PathTaperX=VALUES(PathTaperX), PathTaperY=VALUES(PathTaperY), PathTwist=VALUES(PathTwist), PathTwistBegin=VALUES(PathTwistBegin), ProfileBegin=VALUES(ProfileBegin), ProfileEnd=VALUES(ProfileEnd), ProfileCurve=VALUES(ProfileCurve), ProfileHollow=VALUES(ProfileHollow), Texture=VALUES(Texture), ExtraParams=VALUES(ExtraParams), Media=VALUES(Media), Materials=VALUES(Materials), State=VALUES(State), PhysicsData=VALUES(PhysicsData), PreferredPhysicsShape=VALUES(PreferredPhysicsShape), VertexCount=VALUES(VertexCount), HighLODBytes=VALUES(HighLODBytes), MidLODBytes=VALUES(MidLODBytes), LowLODBytes=VALUES(LowLODBytes), LowestLODBytes=VALUES(LowestLODBytes);"