Make Kexi query parameters also work in COLUMNS section
Port calligra.git's 5c0d3ee52fd: Kexi query parameters do not work in COLUMNS section, e.g. this won't work ('invalid query' error appears): SELECT [Param] The parameters work only in the WHERE section, e.g. SELECT 123 WHERE [Param] = 1 CCBUG:348473 Test Plan: Test the query in the attached db https://bugs.kde.org/show_bug.cgi?id=348473#c1
Showing
- src/KDbNativeStatementBuilder.cpp 4 additions, 4 deletionssrc/KDbNativeStatementBuilder.cpp
- src/KDbQuerySchema.cpp 12 additions, 3 deletionssrc/KDbQuerySchema.cpp
- src/KDbQuerySchemaParameter.h 1 addition, 1 deletionsrc/KDbQuerySchemaParameter.h
- src/parser/KDbParser_p.cpp 2 additions, 1 deletionsrc/parser/KDbParser_p.cpp
Loading
Please register or sign in to comment