/// <summary>
 /// Increment a global tracking statistic counter stored in the
 /// database (if statistic tracking was enabled).
 /// </summary>
 /// <param name="Statistic">Supplies the counter name.</param>
 public void ACR_IncrementStatistic(string Statistic)
 {
     Implementation.ACR_SQLExecute(String.Format(
                                       "INSERT INTO `stat_counters` (`Name`, `Value`, `LastUpdate`) " +
                                       "VALUES ('{0}', 1, NOW()) " +
                                       "ON DUPLICATE KEY UPDATE `Value` = `Value` + 1, " +
                                       "`LastUpdate`=NOW()",
                                       Implementation.ACR_SQLEncodeSpecialChars(Statistic)));
 }
 /// <summary>
 /// This routine performs a synchronous SQL query.  If there were
 /// pending asynchronous queries in the queue, the pending queries are
 /// drained first.
 ///
 /// The query must not return any results.
 /// </summary>
 /// <param name="SQL">Supplies the SQL query text to execute.</param>
 public void ACR_SQLExecute(string SQL)
 {
     Implementation.ACR_SQLExecute(SQL);
 }