diff options
author | Andrew Dolgov <[email protected]> | 2016-04-26 20:04:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-04-26 20:04:24 +0300 |
commit | 977cea1438dafcdc98756b070a1383e5887d64c1 (patch) | |
tree | 4a4e5d75d56c7c36c72a70d811d9db1926de7a52 /include | |
parent | 9e84bab449f9ed55e02e60378b0af1521026f3b8 (diff) |
actually check for failures properly in the dbupdater
Diffstat (limited to 'include')
-rw-r--r-- | include/db.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/db.php b/include/db.php index 55d1d654e..f45f07276 100644 --- a/include/db.php +++ b/include/db.php @@ -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); } |