Skip to content
Snippets Groups Projects
Commit 16550cf8 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Bugfix in sql-library for cast

parent a89fa29c
No related branches found
No related tags found
No related merge requests found
......@@ -288,7 +288,7 @@ SqlMaskingUtils.prototype.cast = function (field, targetDatatype, targetLength){
case SQLTYPES.DECIMAL:
case SQLTYPES.INTEGER:
case SQLTYPES.DATE:
sqlDataType = _mapDefaults(dataType);
sqlDataType = _mapDefaults(targetDatatype);
break;
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment