specifies column name in Inert into statement.

This commit is contained in:
asayre 2012-03-07 08:31:27 +00:00
parent 2d8902d0e4
commit 7d2f0c6634

View file

@ -58,7 +58,7 @@ namespace Server.Engines.MyRunUO
Mobile mob = ns.Mobile;
if ( mob != null )
m_Command.Enqueue( String.Format( "INSERT INTO myrunuo_status VALUES ({0})", mob.Serial.Value.ToString() ) );
m_Command.Enqueue( String.Format( "INSERT INTO myrunuo_status (char_id) VALUES ({0})", mob.Serial.Value.ToString() ) );
}
}
catch ( Exception e )