You are here

protected function OAuthStoreMySQL::query in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query()
  2. 7.3 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query()
  3. 7.4 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query()
  4. 7.5 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query()
  5. 7.6 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query()

* Perform a query, ignore the results * *

Parameters

string sql: * @param vararg arguments (for sprintf)

Overrides OAuthStoreSQL::query

2 methods override OAuthStoreMySQL::query()
OAuthStoreAnymeta::query in lib/oauth-php/library/store/OAuthStoreAnyMeta.php
* Perform a query, ignore the results * *
OAuthStoreMySQLi::query in lib/oauth-php/library/store/OAuthStoreMySQLi.php
* Perform a query, ignore the results * *

File

lib/oauth-php/library/store/OAuthStoreMySQL.php, line 63

Class

OAuthStoreMySQL

Code

protected function query($sql) {
  $sql = $this
    ->sql_printf(func_get_args());
  if (!($res = mysql_query($sql, $this->conn))) {
    $this
      ->sql_errcheck($sql);
  }
  if (is_resource($res)) {
    mysql_free_result($res);
  }
}