summaryrefslogtreecommitdiff
path: root/coverage/sqldata.py
Commit message (Collapse)AuthorAgeFilesLines
* Use one transaction to speed combiningNed Batchelder2018-10-151-39/+45
|
* Defer using the database when calling set_context #716Ned Batchelder2018-10-141-11/+14
| | | | | | | | | | | The collector calls set_context() before any code is run. If we touch the database there, it will get created *very* early. This causes problems with pytest-cov, which will delete those early-created files when erasing data. By deferring the database access until add_lines is called, the data file stays off the disk until the collection is done (or until the context switches), which avoids the problem.
* Fewer conditionals for debug outputNed Batchelder2018-10-131-11/+11
|
* Debugging improvementsNed Batchelder2018-10-131-2/+2
|
* Record the sys.argv in the dbNed Batchelder2018-09-281-3/+5
|
* Faster combiningNed Batchelder2018-09-271-7/+13
|
* CoverageSqliteData.__nonzero__: do not create DBDaniel Hahler2018-09-241-0/+2
| | | | This makes is more lazy and avoids creating an empty DB unnecessarily.
* Dynamic contextsNed Batchelder2018-09-231-0/+2
|
* Merge branch 'nedbat/contexts'Ned Batchelder2018-09-211-28/+101
|\
| * More debugging.Ned Batchelder2018-09-211-0/+10
| |
| * Combining contexts worksNed Batchelder2018-09-211-22/+52
| |
| * measured_contexts() and two simple tests of the global contextNed Batchelder2018-09-211-11/+16
| |
| * Change measured_files to a setNed Batchelder2018-09-211-3/+3
| |
| * Set the context in the dataNed Batchelder2018-09-211-1/+1
| |
| * SqlData can set_contextNed Batchelder2018-09-181-0/+14
| |
| * Super-simple contexts added to the schemaNed Batchelder2018-09-181-7/+21
| |
* | SimpleReprMixin is a better nameNed Batchelder2018-09-091-3/+3
|/
* SQLite on py2 doesn't like opening files with non-ascii chars in the pathNed Batchelder2018-09-021-1/+5
|
* Don't keep the sqlite db open for longNed Batchelder2018-09-021-9/+19
|
* SQLite storage detects forksNed Batchelder2018-08-271-5/+16
|
* Tests of the schema checkingNed Batchelder2018-08-261-3/+3
|
* Check the schema version, no more app_idNed Batchelder2018-08-261-19/+17
|
* PyPy needs to close cursors from pragmasNed Batchelder2018-08-241-2/+5
|
* A better more accurate bool(data)Ned Batchelder2018-08-241-4/+1
|
* Get file_tracer semantics right, whewNed Batchelder2018-08-241-28/+51
|
* Be flexible, and accept either json-sourced or sql-source error messages in ↵Ned Batchelder2018-08-241-1/+4
| | | | some tests
* Skip some tests for SQL for nowNed Batchelder2018-08-241-0/+3
|
* Use pid-random suffixes for SQL filesNed Batchelder2018-08-141-0/+4
|
* Move the suffix parameter, but no implementation yetNed Batchelder2018-08-141-2/+2
|
* Sqlite update() methodNed Batchelder2018-08-111-0/+32
|
* Error handling in add_file_tracersNed Batchelder2018-08-111-0/+19
|
* A little betterNed Batchelder2018-08-111-1/+1
|
* Don't add data by asking about dataNed Batchelder2018-08-111-11/+26
|
* Implement moreNed Batchelder2018-08-111-14/+57
|
* Move a common method outside the data classesNed Batchelder2018-08-101-0/+7
|
* Forgot an importNed Batchelder2018-08-091-0/+1
|
* Improved debuggingNed Batchelder2018-08-041-5/+14
|
* Can measure and report branchesNed Batchelder2018-08-031-29/+89
|
* Use a Sqlite application_id to identify the file.Ned Batchelder2018-08-031-0/+7
|
* Make writing data fasterNed Batchelder2018-08-031-9/+18
|
* SQL debuggingNed Batchelder2018-07-311-10/+34
|
* Report worksNed Batchelder2018-07-311-2/+6
|
* Move sqlite into sqldata.pyNed Batchelder2018-07-311-0/+172