Skip to content

Instantly share code, notes, and snippets.

@SignpostMarv
Created May 1, 2012 20:00
Show Gist options
  • Save SignpostMarv/2570945 to your computer and use it in GitHub Desktop.
Save SignpostMarv/2570945 to your computer and use it in GitHub Desktop.
possible fix for grid clear regions sql syntax error
private void HandleClearAllRegions(string[] cmd)
{
//Delete everything... give no criteria to just do 'delete from gridregions'
m_Database.DeleteAll(new string[1]{ "1" }, new object[1]{ 1 });
MainConsole.Instance.Warn("Cleared all regions");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment