D29277: Escape table name in when building a select statement with row id

Jarosław Staniek noreply at phabricator.kde.org
Wed Apr 29 18:46:15 BST 2020


staniek added a comment.


  Entering "select id from [table]" in KEXI SQL editor or passing it to a parser in C++ raises the same parser's error. 
  In order to reproduce bug you're fixing above one needs to create a queryfully using the C++ API since the parser won't let the to go reserved identifiers through.
  (until the #332161 is solved)
  
  As for using back quotes for any testing. This is not going to be in any user/developer -visible SQL. Only [ ] and "Wiki Home Page" <https://phabricator.kde.org/w/> are. The idea for back quotes is the storage format of KEXI queries to be compatible.

REPOSITORY
  R15 KDb

REVISION DETAIL
  https://phabricator.kde.org/D29277

To: jfita, staniek, piggz
Cc: Kexi-Devel-list, barman, wicik, staniek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kexi-devel/attachments/20200429/77689b91/attachment.html>


More information about the Kexi-devel mailing list