Fix broken floating-point constants in SQL queries
Bonus: After parsing numbers are now kept losslessly as byte arrays, so with unlimited precision. BUG:352363 Test Plan: See "Steps to Reproduce" at https://bugs.kde.org/show_bug.cgi?id=352363 From calligradb 2.9 4b9456f7f0741c
Showing
- autotests/ExpressionsTest.cpp 5 additions, 5 deletionsautotests/ExpressionsTest.cpp
- src/expression/KDbConstExpression.cpp 2 additions, 9 deletionssrc/expression/KDbConstExpression.cpp
- src/parser/KDbSqlParser.y 5 additions, 4 deletionssrc/parser/KDbSqlParser.y
- src/parser/KDbSqlScanner.l 3 additions, 22 deletionssrc/parser/KDbSqlScanner.l
- src/parser/generated/sqlparser.cpp 53 additions, 52 deletionssrc/parser/generated/sqlparser.cpp
- src/parser/generated/sqlparser.h 1 addition, 1 deletionsrc/parser/generated/sqlparser.h
- src/parser/generated/sqlscanner.cpp 56 additions, 74 deletionssrc/parser/generated/sqlscanner.cpp
Loading
Please register or sign in to comment