/// <summary>
        /// Returns the default retry policy dedicated to handling transient conditions with MySql commands.
        /// </summary>
        /// <returns>The retry policy for MySql commands with the corresponding default strategy (or the default strategy, if no retry strategy assigned to MySql commands was found).</returns>
        public static RetryPolicy GetDefaultMySqlCommandRetryPolicy(this RetryManager retryManager)
        {
            if (retryManager == null)
            {
                throw new ArgumentNullException("retryManager");
            }

            return(new RetryPolicy(new MySqlDatabaseTransientErrorDetectionStrategy(), retryManager.GetDefaultMySqlCommandRetryStrategy()));
        }