Fixing CI/CD errors

This commit is contained in:
Miroslav Štampar 2026-07-22 01:10:06 +02:00
parent a5a7f7203a
commit 272d1447d7
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.7.173"
VERSION = "1.10.7.174"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

View file

@ -70,7 +70,7 @@ class TestNullAndCastField(unittest.TestCase):
DBMS.MYSQL: "IFNULL(CAST(col AS NCHAR),' ')",
# MSSQL/PGSQL casts are unbounded (NVARCHAR(MAX)/TEXT) so long values are not silently truncated
DBMS.MSSQL: "ISNULL(CAST(col AS NVARCHAR(MAX)),' ')",
DBMS.SYBASE: "ISNULL(CONVERT(VARCHAR(4000),col),' ')",
DBMS.SYBASE: "ISNULL(CONVERT(VARCHAR(16384),col),' ')",
DBMS.PGSQL: "COALESCE(CAST(col AS TEXT)::text,' ')",
DBMS.ORACLE: "NVL(CAST(col AS VARCHAR(4000)),' ')",
}