osquery-1/osquery/sql
George Guliashvili 52ef26e96e Use SQLITE_CONSTRAINT when required constraint does not exist (#5422)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5422

We were just de-prioritizing type of queries not constraining required columns. However, when the query is just useless without specific constraint, sqlite suggestion is to return SQLITE_CONSTRAINT status.

Reviewed By: marekcirkos

Differential Revision: D13964562

fbshipit-source-id: ee0e5f8baf9abbf83c34f7a39d2b5bd705cbac6d
2019-02-07 03:14:38 -08:00
..
benchmarks Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
tests Use SQLITE_CONSTRAINT when required constraint does not exist (#5422) 2019-02-07 03:14:38 -08:00
BUCK fixed double main function 2019-01-31 15:09:12 -08:00
dynamic_table_row.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
dynamic_table_row.h Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sql.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sqlite_encoding.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sqlite_filesystem.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sqlite_hashing.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sqlite_math.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sqlite_operations.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sqlite_string.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
sqlite_util.cpp fixed crash in virtual table implementaion 2019-02-05 07:20:00 -08:00
sqlite_util.h fixed crash in virtual table implementaion 2019-02-05 07:20:00 -08:00
virtual_sqlite_table.cpp Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
virtual_table.cpp Use SQLITE_CONSTRAINT when required constraint does not exist (#5422) 2019-02-07 03:14:38 -08:00
virtual_table.h fixed crash in virtual table implementaion 2019-02-05 07:20:00 -08:00