protected function OAuthStorePostgreSQL::sql_errcheck in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_errcheck()
- 7.2 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_errcheck()
- 7.3 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_errcheck()
- 7.4 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_errcheck()
- 7.5 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_errcheck()
5 calls to OAuthStorePostgreSQL::sql_errcheck()
- OAuthStorePostgreSQL::query in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, ignore the results
- OAuthStorePostgreSQL::query_all_assoc in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, return all rows
- OAuthStorePostgreSQL::query_one in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, return the first column of the first row
- OAuthStorePostgreSQL::query_row in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, return the first row
- OAuthStorePostgreSQL::query_row_assoc in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, return the first row
File
- lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php, line 1952
Class
Code
protected function sql_errcheck($sql) {
$msg = "SQL Error in OAuthStorePostgreSQL: " . pg_last_error($this->conn) . "\n\n" . $sql;
throw new OAuthException2($msg);
}