Commit Graph
11 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 36aadc4ad1 Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu 5fb1958ceb Remove redundant calls to ToString. 2017-11-26 15:44:34 -08:00
Kenneth Hsu 8810e0130d Make string comparisons use ordinal (binary) sort rules.
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Kenneth Skovhede 2ee110abb3 Added fix for faster commandline startup to the other commandline tools 2017-03-13 09:26:22 +01:00
Kenneth Skovhede a029890409 Implemented better default error messsages 2017-01-09 11:35:38 +01:00
Max 3b432356cf ability to recompress whole backend to another type of compression 2016-06-05 23:37:10 +02:00
Kenneth Skovhede 7ad6a68163 Fixed a crash in recoverytool 2016-01-21 23:42:51 +01:00
Kenneth Skovhede 9522857113 Added --parameters-file to recovery tool to work around problems with commandline escaping. 2015-09-17 20:02:34 +02:00
Kenneth Skovhede e953b2d9de Setting various temp file related environment variables to force SQLite to place temporary files in the folder specified by --tempdir 2015-09-04 15:04:04 +02:00
Kenneth Skovhede 8018545cff Added a simple restore tool for recovering data from a broken backup.
This fixes #1439.
2015-08-21 21:59:12 +02:00