You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/11/07 19:27:24 UTC

[Issue 126029] Base query wizard error due to missing quoting of table and column names

https://bz.apache.org/ooo/show_bug.cgi?id=126029

damjan@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0
            Summary|don't accept query on SQL   |Base query wizard error due
                   |AND return error message in |to missing quoting of table
                   |sql mode                    |and column names

--- Comment #15 from damjan@apache.org ---
#i126029# Base query wizard error due to missing quoting of table and column
names
During the Base query design wizard,
com.sun.star.wizards.ui.FilterComponent.getFilterConditions()
calls
com.sun.star.wizards.db.SQLQueryComposer.getSelectClause()
before its
getFromClause(). However the getSelectClause() needs composedCommandNames
which is populated only by getFromClause() in order to quote table and column
names.
Without this, table and column names that need quoting (spaces, special
characters,
reserved words) produce errors.

-- 
You are receiving this mail because:
You are the assignee for the issue.