]> git.wh0rd.org - tt-rss.git/blobdiff - include/db.php
actually check for failures properly in the dbupdater
[tt-rss.git] / include / db.php
index 55d1d654eb1c5ede3593efccb6b30f05e59fdcf9..f45f0727644e3644f083c7a96d6775fd9315351a 100644 (file)
@@ -29,6 +29,10 @@ function db_last_error() {
        return Db::get()->last_error();
 }
 
+function db_last_query_error() {
+       return Db::get()->last_query_error();
+}
+
 function db_quote($str){
        return Db::get()->quote($str);
 }