diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-01 18:35:22 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-01 18:35:22 +0000 |
commit | 853c0c9b82566675b2b0ea98aa283ee3e57e116a (patch) | |
tree | 575b466e26078f2b61909c214a562918f7c741c7 /engine/lib | |
parent | 7772b266a9a06ff94cae1e64ef98d73c79e98b68 (diff) | |
download | elgg-853c0c9b82566675b2b0ea98aa283ee3e57e116a.tar.gz elgg-853c0c9b82566675b2b0ea98aa283ee3e57e116a.tar.bz2 |
Adding some \ns between the SQL error and the query in the database exception.
git-svn-id: http://code.elgg.org/elgg/trunk@3891 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php index 262e651ee..ec703992d 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -184,7 +184,7 @@ function execute_query($query, $dblink) { } if (mysql_errno($dblink)) { - throw new DatabaseException(mysql_error($dblink) . " QUERY: " . $query); + throw new DatabaseException(mysql_error($dblink) . "\n\n QUERY: " . $query); } return $result; |