diff options
author | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2021-01-12 17:15:46 +0300 |
---|---|---|
committer | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2021-01-13 18:04:33 +0300 |
commit | c695a4e7d01966bb77d6f368385923f96223b570 (patch) | |
tree | 83bc65f06ec41249eaba9c0721e5aaf8570fda2a /database | |
parent | 51479783a8bcab55e3b49b9f597b8e8a637b58ee (diff) |
....I..... [ZBXNEXT-6285] fixed buffer size
Diffstat (limited to 'database')
-rw-r--r-- | database/oracle/images.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/oracle/images.sql b/database/oracle/images.sql index 0d49f085a30..34e352169f2 100644 --- a/database/oracle/images.sql +++ b/database/oracle/images.sql @@ -4,7 +4,7 @@ CREATE OR REPLACE FUNCTION base64_decode(p_content CLOB) RETURN BLOB C_CHUNK_SIZE CONSTANT INTEGER := 4000; -- should be a multiple of 4 C_NON_BASE64_SYM_PATTERN CONSTANT VARCHAR2(20) := '[^A-Za-z0-9+/]'; l_chunk_buf VARCHAR2(4000); - l_chunk_b64_buf RAW(9000); + l_chunk_b64_buf RAW(3000); l_chunk_offset INTEGER := 1; l_chunk_size INTEGER; l_res BLOB; |