---
title: "MetaTrader 5 build 2360: Extension of SQLite integration - Release Notes"
description: "SQLite database operation errors can now be analyzed using standard MQL5 tools. Appropriate error codes have been added in MQL5. - Release Notes"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/releasenotes/terminal/2128"
---

# MetaTrader 5 build 2360: Extension of SQLite integration

## SQLite database operation errors can now be analyzed using standard MQL5 tools. Appropriate error codes have been added in MQL5

6 March 2020

1. MQL5: [SQLite database](https://www.mql5.com/en/docs/database) operation errors can now be analyzed using [standard MQL5 tools](https://www.mql5.com/en/docs/runtime/errors). The following [error codes](https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes) have been added:

     - ERR_DATABASE_ERROR — generic error.
     - ERR_DATABASE_INTERNAL — SQLite internal logic error.
     - ERR_DATABASE_PERM — access denied.
     - ERR_DATABASE_BUSY — database file locked.
     - ERR_DATABASE_LOCKED — database table locked.
     - ERR_DATABASE_NOMEM — insufficient memory for completing operation.
     - ERR_DATABASE_READONLY — attempt to write to read-only database.
     - ERR_DATABASE_IOERR — disk I/O error.
     - ERR_DATABASE_CORRUPT — database disk image corrupted.
     - ERR_DATABASE_FULL — insertion failed because database is full.
     - ERR_DATABASE_CANTOPEN — unable to open the database file.
     - ERR_DATABASE_PROTOCOL — database lock protocol error.
     - ERR_DATABASE_SCHEMA — internal use only.
     - ERR_DATABASE_TOOBIG — string or BLOB exceeds size limit.
     - ERR_DATABASE_CONSTRAINT — abort due to constraint violation.
     - ERR_DATABASE_MISMATCH — data type mismatch.
     - ERR_DATABASE_MISUSE — library used incorrectly.
     - ERR_DATABASE_AUTH — authorization denied.
     - ERR_DATABASE_RANGE — bind parameter error, incorrect index.
     - ERR_DATABASE_NOTADB — file opened that is not database file.
2. MQL5: Fixed operation of the [DatabaseImport](https://www.mql5.com/en/docs/database/databaseimport) function which enables data import from a file into a database table.
3. MetaEditor: Fixed output of strings longer than 32KB to logs.
4. MetaEditor: Fixed occasional incorrect encoding in messages sent from the Python console (stdout, stderr) into the Errors section of the editor.
5. Updated documentation.

**Earlier publications:**

- [MetaTrader 5 Build 2340: Managing account settings in the Tester and expanded integration with Python](https://www.metatrader5.com/en/releasenotes/terminal/2125)
- [MetaTrader 5 Platform Build 2280](https://www.metatrader5.com/en/releasenotes/terminal/2120)
- [MetaTrader 5 Platform build 2265: DirectX functions for 3D visualization in MQL5 and symbol settings in Strategy Tester](https://www.metatrader5.com/en/releasenotes/terminal/2117)
- [MetaTrader 5 Platform Build 2190](https://www.metatrader5.com/en/releasenotes/terminal/2106)
- [MetaTrader 5 platform build 2170: MQL5 scope, global Strategy Tester and built-in Virtual Hosting updates](https://www.metatrader5.com/en/releasenotes/terminal/2099)
