sql: properly handle nil byte slices in golangFillQueryArguments
Before this, nil byte slices were being treated as empty byte slices, which resulted in confusing behavior where a nil byte slice passed to an InternalExecutor would not be NULL. Also, fix TestGolangQueryArgs, which was completely broken and asserting that `reflect.Type(*types.T) == reflect.Type(*types.T)`. This change is what caught the bug fixed by the previous change.
Showing with 66 additions and 36 deletions