function db_error
Same name in this branch
- 6.x drupal-6.x/includes/database.mysqli.inc \db_error()
- 6.x drupal-6.x/includes/database.mysql.inc \db_error()
- 6.x drupal-6.x/includes/database.pgsql.inc \db_error()
Determine whether the previous query caused an error.
Related topics
Archivo
- drupal-6.x/
includes/ database.pgsql.inc, line 217 - Database interface code for PostgreSQL database servers.
Código
function db_error() {
global $active_db;
return pg_last_error($active_db);
}