Bug #450818 - Column names with hash mark in native queries fix.

Signed-off-by: Dmitry Kornilov <dmitry.kornilov@oracle.com>
Reviewed-by: Lucas Jungmann