public override IEnumerable<string[][]> RunCommand(string mysql_command, int maxResultSize)
{
if (connection == null) {
OpenConnection(connectString);
}
//Logger.addMessage(Logger.LogType.Info, "Started RunCommand");
if (connection != null && connection.State == System.Data.ConnectionState.Open && mysql_command != null)
{
MySqlCommand command = connection.CreateCommand();
command.CommandText = mysql_command;
yield return RunOnDatabase(command, maxResultSize);
}
//Logger.addMessage(Logger.LogType.Info, "yield breaking in RunProcedure");
yield break;
}