Teddy Reed
d106647c7f
tables: Require explicit requests for query results caching ( #3805 )
2017-10-12 20:00:51 -07:00
Teddy Reed
072aa7dad1
sql: Handle potential LIKE and GLOB optimizations by increasing comparisons ( #3580 )
2017-08-21 19:31:44 -07:00
Teddy Reed
a9799a9426
Allow caching for tables with indexes and additionals ( #3472 )
2017-07-18 00:08:38 -07:00
Mitchell Grenier
ce62dc53ba
Rename new base64 functions to be like MySQL ( #3329 )
2017-05-25 22:24:25 -07:00
Mitchell Grenier
ccf5977b0e
Conditional base64 function ( #3320 )
2017-05-25 10:58:08 -07:00
Teddy Reed
b3ee6c9a8d
tables: Fix table metadata when constraints are used ( #3151 )
2017-04-12 21:48:28 -07:00
Teddy Reed
3a5aca9c94
Add getQueryTables to inspect tables scanned ( #3056 )
2017-03-15 18:48:01 -07:00
Teddy Reed
1e71f4aab8
Introduce generator/yield-style virtual tables ( #3060 )
2017-03-15 18:46:42 -07:00
Teddy Reed
691aefe1f8
sql: Reorder SQLite manager mutex locking ( #2965 )
2017-02-03 22:58:09 -08:00
Teddy Reed
58ed5cc628
Introduce scheduler reload feature ( #2917 )
2017-01-25 17:48:33 -08:00
Teddy Reed
0e9733f94c
Simplify Registry and plugin concepts ( #2887 )
2017-01-07 12:21:35 -08:00
Teddy Reed
59f0bad67c
Additional compiler checks, including shadow ( #2486 )
2016-11-06 01:17:04 -08:00
Teddy Reed
0b1713423c
[ Fix #1690 ] Use INDEX options in constraint cost evaluation ( #2593 )
2016-10-05 15:44:21 -07:00
Nick Anderson
71bd3b6416
Adding gates to non-implemented windows tests ( #2563 )
2016-09-28 17:15:24 -07:00
Teddy Reed
65dd56e113
Introduce table 'attributes' ( #2431 )
2016-08-31 15:32:20 -07:00
Nick Anderson
cf30388705
Moved test_utils to it's own directory out of core. Updated references ( #2154 )
2016-06-09 10:49:26 -07:00
Teddy Reed
763f4e9437
Use SQLite 3.14.0 to support LIKE and EQUALS ( #2137 )
...
This commit bumps the third-party SQLite to the 3.14.0 pre-release (18:59).
With 3.14.0 the LIKE and EQUALS constraint operators may be mixed within a
query. Previously these would fail to produce a valid set.
As part of the support, each virtual table should choose to bypass rowid-based
deduplication using the new "WITHOUT ROWID" create table epilog. This will
be appended to the schema if the table defines a PRIMARY KEY using index=True.
2016-06-06 09:36:53 -07:00
Teddy Reed
c4acfe89e5
Introduce table aliases ( #2104 )
2016-05-19 09:40:43 -07:00
Teddy Reed
b28c4d8d0f
Introduce table options ( #2101 )
...
Table options includes a change to the Registry::call API for TablePlugins.
When requesting route information or the 'columns' action, a new 'op' key is included.
2016-05-18 12:23:52 -07:00
Teddy Reed
947799d28e
Introduce within-query caching ( #2077 )
...
This adds a new optimization feature that allows expensive tables to cache
their results between JOINs. Consider JOINing a list of open sockets, for each
process, then requesting to hash each process path. This query may hash
the same path multiple times.
Within-query caching allows the hash table to respond with the previous
result of the hash request as long as the requested computation was the result
of a single query. Subsequent queries will perform subsequent hashing.
2016-05-09 10:32:33 -07:00
Teddy Reed
a6c147700f
Allow NULL values, stop using -1 as int/double invalid values
2016-03-09 18:24:17 -08:00
Teddy Reed
b21c2ed943
[ #1816 ] Refactor DB instance management
2016-02-25 19:07:52 -08:00
Teddy Reed
897b2225b1
Add fstests and reduce SQLite scope
2016-02-23 17:09:02 -08:00
Teddy Reed
9a54af29ce
Bump sqlite to 3.11.0
2016-02-21 22:40:37 -08:00
Baraa Hamodi
21c2237eca
[osquery] Update copyright headers to new format.
2016-02-11 11:48:58 -08:00
Teddy Reed
7f37304c77
Refactor dispatcher shutdown logic
2016-02-05 01:29:42 -08:00
Teddy Reed
ffb5b7020e
[ Fix #1693 , #1527 ] Add osquery-specific query planner output
2015-12-02 19:57:24 -08:00
Teddy Reed
3221fbd9b3
Fix constraints stacking
2015-11-22 22:53:23 -08:00
Teddy Reed
98f212e7a9
Add a SQLite query planner for type detection
2015-11-15 13:56:16 -08:00
Teddy Reed
e1d7511600
Remove column type string representations
2015-11-14 15:57:30 -08:00
Teddy Reed
402490e75b
Attempt to improve DB/query performance
2015-11-02 10:57:01 -08:00
Robert C. Seacord
7a87be9ada
more sign coversion errors
2015-10-20 06:08:01 +00:00
Robert C. Seacord
e57828aac3
changes for integer sign problems
2015-10-17 00:18:35 +00:00
Teddy Reed
5890901c00
Add state, group, and nice to processes
2015-09-24 13:11:46 -07:00
Teddy Reed
deecef81c5
Fix broken JOIN predicate passing
2015-07-16 11:29:56 -07:00
Teddy Reed
5969ae4fbf
Clean up TLS-version from OpenSSL detection
2015-05-23 13:04:36 -07:00
Teddy Reed
700384dedc
Minify tables namespace, extra CMake macros
2015-05-22 10:29:04 -07:00
Teddy Reed
be65922569
Fast tests
2015-04-27 09:40:31 -07:00