Fix crash when accessing a query with duplicated table names
Review Request #118519 - Created June 4, 2014 and submitted
|andriusr, okukharchuk, piggz, tanis, tolszak, wicik, wkosowicz|
Fix crash when accessing a query with duplicated table names Example query that crashed: SELECT t.foo FROM t, t. Now error message is displayed so user can fix the statement. FIXED-IN:2.8.4
No longer crashes for tested queries, we're no longer using dangerous function at() in this context
I was wondering....this seems like it would suit a unit-test. I know we arent set up for unit-test yet but we could start somewhere. 2 tests could show a valid query passing, and an incorrect query returning the appropriate failure. Then in the future, we know that future changes wont break.