summaryrefslogtreecommitdiff
path: root/coverage/sqldata.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: retry immediately on a failure inside executemany. #1010nedbat/another-1010Ned Batchelder2021-04-061-1/+7
|
* fix: improve an error message. #803Ned Batchelder2021-02-281-2/+2
| | | | Fixes #803.
* Use set literalsNed Batchelder2021-01-031-2/+2
|
* Retry in the case of failures. #1010Ned Batchelder2020-12-051-1/+7
| | | | | PyPy seems prone to intermittent SQLite failures. An immediate retry avoids them. Not great, but it works.
* Fix --source performance regression. #1037Ned Batchelder2020-10-111-9/+20
|
* Add temp_store to the SQLite3 debug outputNed Batchelder2020-01-131-0/+2
|
* Correct the use of fetchoneNed Batchelder2020-01-131-3/+20
|
* Include SQLite compile_options in "debug sys"Ned Batchelder2020-01-111-0/+4
|
* Improvements to debugging while chasing #915Ned Batchelder2020-01-111-4/+11
|
* Put the filename calc back in _connect. Fixes #916Ned Batchelder2020-01-071-12/+16
| | | | | | It was moved to __init__ to avoid recalculating, but the directory could have changed, so we need to wait to do the work. Instead, only do the relpath on systems that need it (Windows Py 2).
* Improve the performances of SqliteDb._connectjvoisin2020-01-041-8/+9
| | | | | | | | | Since the self.filename attribute doesn't change during the lifetime of a SqliteDb object, we can move its relpath transformation in the init method, instead of doing it every time _connect is called, resulting in a ~30% performances gain.
* Detect when a 4.x data file is being read. #886Ned Batchelder2019-12-221-1/+14
|
* Workaround issue with relpath on Windows. #895Olivier Grisel2019-12-191-1/+8
|
* Napoleon gets noisy if you use informal typesNed Batchelder2019-11-111-6/+6
|
* Finish the sqldata.py docstringsNed Batchelder2019-11-101-11/+44
|
* Make sure dataio logging is happening where it shouldNed Batchelder2019-11-091-0/+2
|
* CoverageData.lines doesn't sort its returned listNed Batchelder2019-11-091-1/+1
|
* sqldata.py docstringsNed Batchelder2019-11-091-31/+118
|
* '[run] note' is no longer supported.Ned Batchelder2019-11-091-8/+2
|
* Tie up a loose end in the docsNed Batchelder2019-10-081-1/+0
|
* Sqlite3 info in 'coverage debug sys'Ned Batchelder2019-10-081-1/+11
|
* Slowly making progress on sqldata docstringsNed Batchelder2019-10-061-0/+7
|
* Quiet pylintNed Batchelder2019-10-061-3/+5
|
* Context patterns are regexes, not globsNed Batchelder2019-10-021-5/+27
|
* Setting query context has to be done with a separate method callNed Batchelder2019-10-021-34/+24
|
* Updating with an empty data is okNed Batchelder2019-09-031-16/+24
| | | | | With no arc or line data, it used to choose lines arbitrarily, which would fail if an empty data was updating an arc data.
* Need to set a sqlite attribute on a real sqlite connectionNed Batchelder2019-09-031-1/+1
|
* Log some indication of the script being executedNed Batchelder2019-09-021-3/+5
|
* Logging executemany failed if data was a generatorNed Batchelder2019-09-021-0/+1
|
* Log an operation before starting itNed Batchelder2019-09-011-1/+1
|
* Improved numbits operationsNed Batchelder2019-08-111-45/+30
| | | | | | | | | * Better names (merge -> union) * More ops (intersection) * Can be registered for SQLite use * Numbits can be empty Also, line_map is a dumb table name. line_bits is marginally better.
* Don't need the schema history in the schemaNed Batchelder2019-08-061-8/+9
|
* Version and timestamp in the meta dataNed Batchelder2019-08-061-2/+10
|
* Meta data stored as key/valueNed Batchelder2019-08-061-14/+22
|
* Foreign keysNed Batchelder2019-08-061-2/+8
|
* A little more discipline for blob convertersNed Batchelder2019-07-311-5/+12
|
* numbits is the new name for the binary line numbersNed Batchelder2019-07-311-18/+27
|
* Refactor numbits into their own filesNed Batchelder2019-07-311-33/+7
|
* Don't try to delete a file called ':memory:'Ned Batchelder2019-07-201-0/+2
|
* z-compressed dumps and loadsNed Batchelder2019-07-191-12/+17
|
* Bitmaps for line numbers, 10% of the size.Ned Batchelder2019-07-151-32/+94
|
* :memory: supportNed Batchelder2019-07-151-6/+15
|
* CoverageData.dumps and loads for serializationNed Batchelder2019-07-151-8/+21
|
* Merge branch 'master' into isolate_osNed Batchelder2019-07-101-6/+68
|\
| * Remove the JSON data codeNed Batchelder2019-07-101-6/+68
| |
* | Isolate the os module to protect from aggressive mocking interfearing with ↵Matt Bachmann2019-07-091-1/+2
|/ | | | database operations
* SQLite will keep comments that are inside, not outsideNed Batchelder2019-07-081-7/+7
| | | | | This way, ".schema" in the SQLite prompt will show the comments for the tables.
* Merge branch 'master' into Fix-typoNed Batchelder2019-07-071-8/+24
|\
| * Avoid useless or redundant db operations. Faster.Ned Batchelder2019-07-071-3/+17
| | | | | | | | | | | | Moving operations into the "with self._connect" means less opening and closing of the database. Returning early if there is no data to write avoids writing empty contexts.
| * Log connections properlyNed Batchelder2019-07-071-2/+2
| |