Use memset to clear buffers on asub
Using dbValueSize to get the correct length for the buffer, as the type can differ and we don't want to write out-of-bounds
Using dbValueSize to get the correct length for the buffer, as the type can differ and we don't want to write out-of-bounds