aboutsummaryrefslogtreecommitdiff
path: root/tool/sqldiff.c
Commit message (Collapse)AuthorAge
* Approximately 100 typo corrections spanning the whole tree, submitted via ↵stephan2025-02-27
| | | | | [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text. FossilOrigin-Name: f50c21484d3cac73589da0376c423de39ae8b842218105786c5aa3726e4dcaed
* Port sqldiff over to use sqlite3_stdio.drh2024-09-24
| | | FossilOrigin-Name: 18f784c47d4252bc3696a7e084a1afb9f51f006cf2021292f2103531b8235226
* sqldiff: fail if the 2nd db argument cannot be opened read-only.stephan2024-07-12
| | | FossilOrigin-Name: e8b33525fc2b4d609a7be9acc43fbc66638effaa7b092b48568ded6c53c4f4db
* sqldiff: if the first db argument does not exist, fail instead of creating ↵stephan2024-07-12
| | | | | an empty db. Resolving that for the second argument is trickier, as discussed in [forum:ec2d429e32 | forum post ec2d429e32]. FossilOrigin-Name: 0547ccf776c6054732437bffb8b2fe2ed5194ef817c2593f8cec4a3e2b749720
* [forum:/forumpost/c9b8d923d5|Fix sqldiff out-of-bounds char classification ↵larrybr2024-05-29
| | | | | error mentioned in the forum.] FossilOrigin-Name: b31933d87301bd93763f0923e0ce06a183700875e6107c9f185faffbd99797d9
* Update the sqldiff.exe utility program so that it uses the sqlite3_strdrh2024-01-03
| | | | | | string interface, and so that it does console output using the ext/consio extension. FossilOrigin-Name: 4443b7e592da97d1cb1b3b79ed0559452d8057a33aba4d184c2fffbf200e05f5
* Fix a harmless compiler warning in the sqldiff.c utility.drh2023-09-07
| | | FossilOrigin-Name: e6390a656713b855258277b65066d2a701cedd05981f1672c9acc2d6dc37d032
* Fix a harmless memory leak in the sqldiff utility.drh2023-08-22
| | | FossilOrigin-Name: 724bc15701f3f647c741b614d4ac4fd98e1cdfe49a85f48c64fb1df5b83811b0
* Fix an issue with sqldiff reported bydrh2023-05-27
| | | | | [forum:/info/9bd2155bdfae25a7|forum post 9bd2155bdfae25a7]. FossilOrigin-Name: 736a79c1491065f4ee77ce644af0e529e555ca733c78dbd55487d55d4ddbe5bd
* Remove stray tab characters from auxiliary source code files.drh2022-02-21
| | | FossilOrigin-Name: e25e33582b69289a2c3a6bc403e3911de22a3b529db1a565efb9f1af01b9e382
* For sqldiff, sqlite_schema comparisons must use compound (synthesized) PK.larrybr2021-09-07
| | | FossilOrigin-Name: 5bdd8466129b8e477c8349847f19f2a5adea3f650cca6dbafa3b835e5a538d09
* Make sqldiff able to compare sqlite_schema tables (for detailed schema ↵larrybr2021-09-07
| | | | | differences.) FossilOrigin-Name: 7ff92da9f183bc24a0d93996df771df7a712df1122ad897cb9143cde7d57ef7d
* Remove sqldiff --visible-controls option, make it always happen. Add test ↵larrybr2021-07-26
| | | | | cases for controls made visible FossilOrigin-Name: ff74c0cc4cefa5271b12ecfff3f2fd4749852d9d1d01f4ae64a07a26decc001b
* Give sqldiff --visible-controls option to deal with non-graphic text content ↵larrybr2021-07-26
| | | | | robustly across platforms FossilOrigin-Name: 68d2373f5d578cf3aff9d1ac4b1ab3ac00b466e94e1eb516523fc7660dfc0549
* Fix a problem in sqldiff virtual table hanlding to do with tab and other ↵dan2021-03-17
| | | | | non-space whitespace characters in the CREATE VIRTUAL TABLE statement. FossilOrigin-Name: 1737e4fdfc9a3628415b234338a68a64cbbaadb23598517761e571ab7ed7ad14
* Fix trivial memory leaks in the shell and sqldiff programs.dan2020-11-17
| | | FossilOrigin-Name: 272793e5edc47e431be77d589718a001f2696869e3e15f1371a1890645a995a7
* Fix an inconsequential memory leak in sqldiff. Update the "Sanitize" case in ↵dan2020-08-14
| | | | | wapptest.tcl to use -fsanitize=address,undefined, and to run more tests. FossilOrigin-Name: 613fb5c2525be77e48bad0a74e8b7bf53489365060fb9c7713a0caddb1820c71
* Extend the refactoring into extensions. Clean up stray newlines.drh2020-06-19
| | | FossilOrigin-Name: 7a876209a678a34c198b54ceef9e3c041f128a14dc73357f6a57cadadaa6cf7b
* Fix invalid use of unprotected sqlite3_value objects in the sqldiff utility,drh2018-11-09
| | | | | when using the --changeset option. FossilOrigin-Name: a8d65214a567eb1afd703ee4d09d398247e060a610b46097a726364db2861001
* Add new interfaces for accessing the list of SQL keywords:drh2018-04-25
| | | | | sqlite3_keyword_count(), sqlite3_keyword_name(), sqlite3_keyword_check(). FossilOrigin-Name: 7dd34e3776fed90a49344d54a1b68bb59f7957b5a8a1a367087b7cafb63111c1
* Add the new DO and NOTHING keywords to the keyword lists maintaineddrh2018-04-25
| | | | | by various extensions and auxiliary programs. FossilOrigin-Name: 77a98a0781cd8450e2100111e70526db6a51d7e58e3c505ea87f685388099e82
* Fix incompatibilities between the "sqldiff --changeset" command and thedan2017-05-22
| | | | | | | sessions module. Specifically, allow sessions to process changesets containing tables with zero operations on them and have sqldiff output the expected output for tables with multi-column primary keys. FossilOrigin-Name: 0bb23c48064cc64134697469f3f4d2d3610b9e6c7a0dc54a3c47a00bd6c2a860
* Fix a bug in sqldiff causing it to confuse blobs zero bytes in size with ↵dan2016-09-12
| | | | | NULL values. FossilOrigin-Name: 264e9c75875796cad773d39b775d4604546bc57a
* Have "sqldiff --rbu" ignore rows with NULL values in primary key fields. RBU ↵dan2016-09-01
| | | | | can't handle such rows and the documentation already says sqldiff ignores them. Because the code now uses "=" instead of "IS" to filter on primary key columns, diffs on virtual tables are faster now too. FossilOrigin-Name: f4ba894a86aa195bcbe2fa69e91cd870ec3fb577
* Fix a 1 byte buffer overwrite in the "sqldiff --rbu" command.dan2016-08-11
| | | FossilOrigin-Name: ab83d7077da80ddbcf399d0797d79e964dc64f0e
* Fix a problem with upper case module names in the "sqldiff --vtab" command.dan2016-07-22
| | | FossilOrigin-Name: 87e25fc472604b3978811be53991104c665a95e7
* In the sqldiff program, make sure the first argument to the db_prepare()drh2016-07-08
| | | | | utility function is always a valid format string. FossilOrigin-Name: 8bb8d886ffa948cd7bc66c8c62da76bce233be2e
* Update the sqldiff utility so that if the --vtab switch is specified ↵dan2016-06-21
| | | | | "rtree", "fts3", "fts4" and "fts5" tables are diff'd directly and the underlying real database tables ignored. Without this switch, all virtual tables are ignored and the diff is performed on the underlying real tables. FossilOrigin-Name: 5d0a9d4c45730e47576bc77373fa7075a74051a5
* Update the sqldiff tool so that it generates an rbu_count table.dan2016-03-19
| | | FossilOrigin-Name: 1f7afb6e9be9f549a91bf2ab492df15698df89fd
* Fix harmless compiler warnings that arise with -DSQLITE_OMIT_LOAD_EXTENSIONdrh2016-03-17
| | | FossilOrigin-Name: 65ba2f0b465a1493de6e467f55e0300ac3fb08e1
* Fix harmless compiler warnings in sqldiff.c.drh2016-01-14
| | | FossilOrigin-Name: 74808a79ea3194f6cc00084b9dccc380846a6051
* Fix the sqldiff utility program so that it works for schemas that havedrh2015-11-29
| | | | | tables with zero-length column names. FossilOrigin-Name: 64263ccb8f9835c615242de6e28db24f953422fa
* Add the --transaction option to the sqldiff tool.drh2015-11-13
| | | FossilOrigin-Name: 8882d1f3ef0fc53d7c19918c3af43c5bdd79e88f
* Fix incorrect WHERE clause in sqldiff, as reported on the mailing listdrh2015-11-09
| | | | | by Youcef Hilem. FossilOrigin-Name: e0ed4c3e376248dfbf903e4b5845f910824fa6c6
* Enhance the sqldiff utility to deal gracefully with ALTER TABLE ADD COLUMN.drh2015-11-07
| | | FossilOrigin-Name: 7ea036ac37397ed8f6a0fa9f5bfc0994364b53dc
* Fix compiler warnings in the sqldiff tool seen with MSVC.mistachkin2015-08-20
| | | FossilOrigin-Name: 072279d458fbb74a812a9ee723041d6b7c662a88
* Fix compiler warnings and remove unreachable code.drh2015-08-08
| | | FossilOrigin-Name: be190fe7826d157fc5acd84210095725b059e4f6
* Add support for "fossil deltas" to RBU and "sqldiff --rbu".dan2015-07-31
| | | FossilOrigin-Name: e26ef165fe2f7524684af0d269d38475ea8b9489
* Fix a problem causing [sqldiff --rbu] to fail on tables for which all ↵dan2015-07-31
| | | | | columns are part of the PRIMARY KEY. FossilOrigin-Name: 93449e7046d60cad020ca439ded82e759c2e3cd9
* Add the --rbu switch to the "sqldiff" utility.dan2015-07-30
| | | FossilOrigin-Name: 098bea26da4533d9ad97a85687cca56fb0d764a4
* Try to get recent sqlite3_analyzer and sqldiff tests working for alldrh2015-05-12
| | | | | | tested combinations of compile-time options, especially SQLITE_OMIT_VIRTUALTABLE and SQLITE_OMIT_LOAD_EXTENSION. FossilOrigin-Name: 07c7d3925cbcf44c2f606c7f016ec56304e0ca24
* Fix sqldiff.exe so that it always runs in single-thread mode.drh2015-05-12
| | | FossilOrigin-Name: c223910e726131d7b718b556c83df5faa723369d
* Fix a bug in --changeset output for sqldiff.exe for floating-point values.drh2015-05-04
| | | | | Also fix harmless compiler warnings in sqldiff.exe. FossilOrigin-Name: 9f428530f9a6cb54f0a2fc3e666c38c7c093558a
* Add the --lib option to the sqldiff.exe command-line utility.drh2015-05-04
| | | FossilOrigin-Name: a117e8f6bd60ed7f6e4cdcd2ee8d624fe040f7ab
* Fix compiler warnings in sqldiff.drh2015-04-25
| | | FossilOrigin-Name: 5f48d6f6c0a573ecc5bd42cb6c019288e22d295f
* Fix the header comment on the sqldiff utility program. No code changes.drh2015-04-17
| | | FossilOrigin-Name: b355ca3a3f617cd6d4c45c8e27ecd75d9e68b792
* Add the --summary option to the sqldiff command-line tool.drh2015-04-14
| | | FossilOrigin-Name: 88b22761c59b06fa86c57f8d22a46046ad17d5d5
* The --changeset option now appears to be working.drh2015-04-11
| | | FossilOrigin-Name: 1a2e2803920dcf64190d81d8a487d6c3c9bb28ee
* First complete attempt to generate a working changeset. Still contains bugs.drh2015-04-11
| | | FossilOrigin-Name: 5611fa9bd5b8fd762d16ce9b0853c2e779a1a1b7
* Work toward adding the --changeset option to the sqldiff utility program.drh2015-04-10
| | | | | Changes are incomplete. This is an incremental check-in. FossilOrigin-Name: 463e38d765f9d055b63792a8ea15c3782657b07f