Test for #1979 (#1980)
Test for #1979 (#1980)

* Test for #1979

* add several fixes, query parsing still fails

* tests refactoring

* fix tests

Co-authored-by: MaceWindu <f6d1168750fdc0a589ef2076a428ba51dd76ee93@users.noreply.github.com>
MaceWindu/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db