sqlite3 binding for go
Experimental learning/playground area, for getting my head around directly generating LLVM IR from Go
Experimental. Learning how to add DWARF debugging info with llir/llvm
A "Cloud" for 3D models. Collaborative development for your models. :)
Trivial cli to look up the country code for a given IP address
A web-based interface for CNC milling controller running Grbl, Marlin, Smoothieware, or TinyG.
Traces multiple color images using potrace. This is similar to Inkscape's Trace Bitmap function.
justinclift/CraniobotCourier 0
A HMI for the Craniobot Microsurgical Platform Developed by the Bio-Sensing and Bio-Robotics Laboratory at the University of Minnesota - Twin Cities
justinclift/db4s_country_stats_generator 0
Small utility to export the DB4S country stats to SQLite, for upload to DBHub.io
justinclift/db4s_download_stats_updater 0
Temporary util, for retroactively adding country code info to the DB4S download records
issue openedLeMoussel/pydbhub
Lambdas without parameters at dbhub.py, lines 468, 469
Hi. Nice library!
Was trying to run a query but was not working:
TypeError: <lambda>() takes 0 positional arguments but 1 was given
The piece of code starting at line 463:
for result_row in res:
one_row = {}
for data in result_row:
result = {
0: lambda v: base64.b64decode(v.encode('ascii')) if isinstance(v, str) else None, # Binary
1: lambda: "", # Image - just output as an empty string (for now)
2: lambda: None, # Null
3: lambda v: str(v) if isinstance(v, str) else "", # Text
4: lambda v: int(v), # Integer
5: lambda v: float(v) # Float
}[data['Type']](data['Value'])
one_row.update({data['Name']: result})
rows.append(one_row)
Passes a parameter to the anonymous function in cases 1 and 2, but it does not expect any parameter.
Fixed jus adding the parameter that simply is not used:
for result_row in res:
one_row = {}
for data in result_row:
result = {
0: lambda v: base64.b64decode(v.encode('ascii')) if isinstance(v, str) else None, # Binary
1: lambda v: "", # Image - just output as an empty string (for now)
2: lambda v: None, # Null
3: lambda v: str(v) if isinstance(v, str) else "", # Text
4: lambda v: int(v), # Integer
5: lambda v: float(v) # Float
}[data['Type']](data['Value'])
one_row.update({data['Name']: result})
rows.append(one_row)
Cheers,
Daniel.
created time in 30 minutes
PR opened sqlitebrowser/sqlitebrowser
DB4S uses its own lexer and parser to process the database's schema for display in the Database Structure tab. This lexer does not permit dollar signs ($) in unquoted identifiers. SQLite's tokenizer, however, permits (and therefore real SQLite databases may have) dollar signs in unquoted identifiers, for compatibility with certain other database systems that also permit these non-standard identifiers. (I tripped over this issue while playing with databases exported from Oracle, which often uses dollar signs in identifiers for special "system" tables and columns.) See:
https://www.sqlite.org/cgi/src/file?name=src/tokenize.c&ci=c5e2de1d24d34589&ln=162-165 https://www.sqlite.org/cgi/src/file?name=src/global.c&ci=fd8b68a474226e3b&ln=113-116
My opinion from the peanut gallery is that it might be better to use SQLite's tokenizer and parser (which could be included inline or something) so as to absolutely assure precise, bug-for-bug compatibility with at least some version of SQLite, but that's not a five-minute drive-by patch, and adding one character to one regex is. This follows what appears to be the practice in this codebase of committing flex's output after making any change to the source; if there's something undesirable about my copy of flex's output, I can leave that out.
pr created time in 10 hours
push eventsqlite/sqlite
commit sha 5d8ade1f67c8a4f3ed516f8e476834659394735a
Remove unnecessary (redundant) variable initialization from sqlite3BtreeInsert() for a small size reduction and performance increase. FossilOrigin-Name: 70d1836474207fa045ff7aa513839c9df26ea6e180eb898b30d89bd5b3833f58
push time in 11 hours
push eventsqlite/sqlite
commit sha 42a410dcad214c132787fddc3564e605fd7e1daf
Split the sqlite3BtreeMovetoUnpacked() routine into two separate routines sqlite3BtreeTableMoveto() and sqlite3BtreeIndexMoveto(), since we usually know the type of btree in advance. This results in less branching and better performance. FossilOrigin-Name: 3b0d34e5e5f9a16c3397e4551f3b534729b1b375770f05f6ed5847818b1f4c0b
commit sha f51bad45f0e5aca7e6e4436692d55cd847181a68
The previous check-in is a significant change to btree, so go ahead and increment the version number for the next development cycle. FossilOrigin-Name: 2eb6697051c13bf0cc3772fd6c16bfdea0be3b01c0d985e05004c04eaf7a4a48
push time in 13 hours
issue commentsqlitebrowser/sqlitebrowser
Plot Dock does not display columns
You see there is no columns to choose there when you start the plot. I tried to Reset Window Layout also Simplify Window Layout - still the same. I reinstalled sqlitebrowser still the same. It is ok on another Windows computer I have. Unfortunately, I work with data mostly on this one. Thanks
From: Manuel ***@***.***> Sent: Saturday, June 19, 2021 11:13 AM To: sqlitebrowser/sqlitebrowser ***@***.***> Cc: tomnawara ***@***.***>; Author ***@***.***> Subject: Re: [sqlitebrowser/sqlitebrowser] Plot Dock does not display columns (#2734)
That's weird. If you could provide a screenshot, maybe it's apparent what is happening. Also try restoring window layout (View menu) and with Restore Defaults (Preferences).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sqlitebrowser/sqlitebrowser/issues/2734#issuecomment-864425839, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKFDRITWYZJPKNZO73DL6JTTTS6ZFANCNFSM46GDOJOA.
comment created time in 14 hours
issue commentsqlitebrowser/sqlitebrowser
Plot Dock does not display columns
That's weird. If you could provide a screenshot, maybe it's apparent what is happening. Also try restoring window layout (View menu) and with Restore Defaults (Preferences).
comment created time in 16 hours
issue commentsqlitebrowser/sqlitebrowser
legitimate multiline query statement flagged as error
A workaround I've got used to, is to highlight the statement I want to run and press f5 or the execute button - it'll only run the highlighted statements.
comment created time in 18 hours
issue commentsqlitebrowser/sqlitebrowser
legitimate multiline query statement flagged as error
Thanks so much for the explanation/clarification. The workaround is more than adequate. Related to this problem may be the anomaly that if a comment line precedes the focus line for "Execute line", and the comment is not terminated with a semicolon, the focus line is flagged as an error.
For my own future reference if/when I report another bug I will try to remember including the detail of which control I clicked (e.g. "Execute line") that produced the problem. UbuntuGeezer
On Sat, Jun 19, 2021 at 6:01 AM Manuel ***@***.***> wrote:
Ok, the behaviour was clearly explained here by Martin: #1632 (comment) https://github.com/sqlitebrowser/sqlitebrowser/issues/1632#issuecomment-442441526
Not sure what should be done to make the behaviour less confusing.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sqlitebrowser/sqlitebrowser/issues/2745#issuecomment-864390842, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFEWQGDIR4TH2DAD7VDYDTTTR2I7ANCNFSM462YTKWA .
comment created time in 19 hours
issue commentsqlitebrowser/sqlitebrowser
legitimate multiline query statement flagged as error
Ok, the behaviour was clearly explained here by Martin: https://github.com/sqlitebrowser/sqlitebrowser/issues/1632#issuecomment-442441526
Not sure what should be done to make the behaviour less confusing.
comment created time in 21 hours
issue commentsqlitebrowser/sqlitebrowser
legitimate multiline query statement flagged as error
I've reproduced the problem using the "Execute line" button, being this statement the first in the buffer and placing the cursor on the "where" line. It doesn't happen in the second statement, provided that they are separated by semicolons.
The easiest workaround is to place the cursor on the first line. This happens because we fail to correctly determine the statement boundaries.
This sounds familiar, in fact, I thought it was already fixed. There must be an issue with some clarifications somewhere.
comment created time in 21 hours
issue commentsqlitebrowser/sqlitebrowser
UI blacking out when I move my mouse
@Ryan-Kirkwood - IS this still an issue? Did you investigate this any more?
comment created time in a day
issue openedsqlitebrowser/sqlitebrowser
<!-- Please fill the requested information before pressing Submit. Thanks for coming here to suggest a new feature. :) -->
Describe the new feature
Additional info
Please answer these questions before submitting your feature request.
Is your feature request related to an issue? Please include the issue number.
Does this feature exist in another product or project? Please provide a link.
Do you have a screenshot? Please add screenshots to help explain your idea.
created time in a day
issue commentsqlitebrowser/dio
What determines a changed database?
I'm working around this problem by periodically and randomly uploading the database. There's a chance there could be a bank database upload, but it's better than nearly every commit having no changes.
comment created time in a day
issue commentsqlitebrowser/sqlitebrowser
Wrong rows are selected for some tables
I've made some improvements, that you could try in the next nightly build, but take the comments in 6510bb104e3ec4c7419cc5558166920e75ec4046 into account, because if the value inserted as BLOB in the key can be taken as text data, DB Browser is confused and the operation still doesn't work. We have to figure out how to pass the actual value type to the code preparing the SQL statement.
comment created time in a day
push eventsqlitebrowser/sqlitebrowser
commit sha 6510bb104e3ec4c7419cc5558166920e75ec4046
Improve support for BLOB columns as primary key Working cases tables without rowid and BLOB as primary key: - Inserted value is actually TEXT, for example, from the text editor in the GUI. - Inserted value is really BLOB, for example, from the binary editor or from SQL and the data is fully binary. Not yet working case: - Inserted value is of type BLOB, but the actual data is recognized by DB Browser as text. In this case, no type affinity is applied by SQLite and the row is not properly selected. See issue #2738
push time in a day
pull request commentsqlitebrowser/sqlitebrowser
Workaround for WindowsVista style (qwindowsvistastyle plugin)
I like the new style, nice work! It's now merged.
comment created time in a day
PR merged sqlitebrowser/sqlitebrowser
There is some strange bug on windows with the system styles (windows and windowsvista). When styleproxy is used and QDockWidget has a custom stylesheet applied to the widget title, close-button and float-button are rendered huge.
See #2485
pr closed time in a day
push eventsqlitebrowser/sqlitebrowser
commit sha a39ea9d0a6173f15ffa9904d7bb0315c24bd3383
Application: Move DB4SProxyStyle to the Application unit. Set default maximum icon size for QToolBar to 20px, and for MenuItem to 16px, before that MenuItem icon was bigger than QToolBar icon. Pixel metric for SmallIconSize is set to 12px to avoid strange render behaviour for QDockWidget with custom stylesheet.
commit sha aada909f036fd5fdb5d0fd04a7455cc4475565dc
TableBrowserDock: Change title style
commit sha c0a75294e24e1499894b7d5317d38b72af3de082
Application: styleproxy now uses screen->logicalDotsPerInch()
commit sha 591c566c65be8f803bac088cb881e9c47484bbd5
Application: PM_SmallIconSize (QDockWidgets with custom stylesheet) workaround is applied for windows only. Screen detection now use QDesktopWidget::screenNumber(const QWidget *widget = nullptr) toolBarIconSize is set to 18
commit sha ee6a5046daf77b563557c62aa20e836abe049094
Application: Move DB4SProxyStyle before MainWindow is created. DB4SProxyStyle is set before any Widget is created. QGuiApplication::primaryScreen() is used as a screen. Now custom QPalette can be set before MainWindows is created, for example exported palette from KDE (Breeze, Breeze Dark, etc).
commit sha 3bb0b96ed2f33180eeb1d64a7be0ed0720fff18d
Avoid warning in DB4SProxyStyle
commit sha 0f8b3cc0924e409f88203720657727ed73fa7d06
Merge pull request #2741 Workaround for WindowsVista style (qwindowsvistastyle plugin) There is some strange bug on windows with the system styles (windows and windowsvista). When styleproxy is used and QDockWidget has a custom stylesheet applied to the widget title, close-button and float-button are rendered huge. See #2485
push time in a day
issue commentsqlitebrowser/sqlitebrowser
This might be due to saved settings from a previous version. What happens if you use the Restore Defaults button?
comment created time in a day
push eventsqlite/sqlite
commit sha 6d72858e795481571a40c07675cc9d2c15b5b3ef
Version 3.36.0 FossilOrigin-Name: 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5
push time in 2 days
push eventsqlite/sqlite
commit sha 6d72858e795481571a40c07675cc9d2c15b5b3ef
Version 3.36.0 FossilOrigin-Name: 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5
commit sha bfab6fb8228b70d937759fa361f6cfd5dedbd9ba
Merge version 3.36.0 FossilOrigin-Name: 792215204d887ecb8b1a0d65773d272b84606c9867b52d94701039de5c8bb12c
push time in 2 days
issue commentsqlitebrowser/sqlitebrowser
Can't input the raw password for an encrypted database
password field shows "0x" but I can't enter anything
Just a nod that it expects '0x' to be the first characters, so you can't enter anything until you type a number zero, then a lowercase x, then the key - have you tried that?

comment created time in 2 days
issue commentsqlitebrowser/sqlitebrowser
I assume the SQL window has been 'minimised' - its height is so small that's it been hidden. You can 'drag it up' to make it visible. This textual explanation isn't that helpful, so here's a video which I hope explains it. Yell back if it does/doesn't.
https://user-images.githubusercontent.com/7872218/122562903-7c2e7780-d03b-11eb-8cdf-8281763b7fb3.mp4
comment created time in 2 days
issue openedsqlitebrowser/sqlitebrowser
Details for the issue
What did you do?
Launched any sql instruction (query or DML), either with correct syntax either purposely wrong
What did you expect to see?
In the lowest window widget, any SQL message feedback
What did you see instead?

Only a blank window, no feedback at all.
Useful extra information
DB4S v3.12.99 (Jun 12 2021) [built for x86_64-little_endian-llp64] on Windows 10 (10.0) (winnt/10.0.19041) [x86_64] using SQLite Version 3.35.5 and Qt 5.12.8
created time in 2 days
push eventsqlite/sqlite
commit sha 09612a5bb8c2ae47be5d7295506ab1e3cee9c1ce
Fix a test script problem in corruptN.test. FossilOrigin-Name: 3ddfe9ae55e6d0d922fbc209768b2ac4a4792f0f63af9a8fb53d66a4b8f1d94b
commit sha ac67f56726c46553108896d0c2e417d67a678799
Fix an ALTER TABLE problem with handling infinite loops of CTEs in the database schema. FossilOrigin-Name: c09d90eec2a49b948c60971294d146db5c82438855cd3fa48ddc3d2e6b44c26c
commit sha 93fd5420d0f2a5431b6adf334687aabb8a09b37e
In the authorizer, use SQLITE_DROP_INDEX, not SQLITE_DROP_TEMP_INDEX when dropping an index in an attached database. FossilOrigin-Name: e5a5acd6006133c5da4a7dd79726dbaa41c0d60ebeda890f848a6aafe5f9ef70
commit sha 11e489d6cb6424a56ed11469b3a4d8b47f76b495
Fix typos in testcase() macros from check-in [c09d90eec2a49b94]. FossilOrigin-Name: d4d9869c30710914b7ba51221b2c2223a9cf16b913bd6f3866ae747494a116af
commit sha 972da427490e1b4541322ce1af9a5e531946c656
Prevent an infinite loop in the trim() SQL function if the second argument is a carefully malformed UTF8 string. FossilOrigin-Name: 829343c26ed7b87fafc70de3369625209bad91e79bb7ca2946d5c8d61cc1c3c4
commit sha a959bf53110bfada67a3a52187acd57aa2f34e19
Add NULL checks on all sqlite3_vfs_find(0) calls. This is not strictly necessary. There are no vulnerabilities here. However, adding these checks avoids unnecessary static analyzer complaints. [forum:/forumpost/ce1193be15|Forum post ce1193be15]. FossilOrigin-Name: 272a15b9f418fb0b31a9808f7c42c20cf52318035ff98935d8e8519634357e8d
commit sha 17adf4e5a1e5326fe92d7e224b84a8f24f33b2b5
Update the "nmakehlp.c" utility program sources associated with the TCL Extension Architecture, obtained from [https://core.tcl-lang.org/sampleextension/file]. Perhaps this new version will sit better with salmonx's static analyzer [forum:/forumpost/7f0beca9797ee23a|(ref1)], [forum:/forumpost/7d5c8b19231ad57f|(ref2)]. FossilOrigin-Name: 603b851d7d923d71543760b09a55d72dbbc185ac9c353c954c331c0454992c80
commit sha f54e79405ec3edd606400a08ff84198824927093
Fix some minor #ifdef issues so that all of the supported compile-time options continue to build. FossilOrigin-Name: d8cf407046f20b0398f19acd0dab6acb6c742911e21e1003cb5b194dd668d98e
commit sha 9d82a2ccfe5d8f5c0a71c29b50b8051eada4378a
Fix an incorrect ifdef in the previous check-in. FossilOrigin-Name: 4b2bb46730393292364b2be7db4e73fc8f93cd5a141aaf04f20fe0119deb5ab3
commit sha 82f62e832432724f6b7e1966401d178c490e6d5e
Fix some #ifdefs so that builds work for all supported compile-time options. FossilOrigin-Name: ca7d78f7818b4754fd04ea2b618dee1f01e11c6a5acb54951217c0d03df8e187
commit sha 236bcdf3e4307ac4230b489e8fce22742fac8555
Enhanced defense against integer overflow in ALTER TABLE. FossilOrigin-Name: fb7f094e4e0f03622c2e7fa02483c17671a8899c7ad8aba8659177180f406704
commit sha cbe83495ee9da838b6a30bf0392cccece056e29b
Adjustments to requirement markings in comments. No changes to code. FossilOrigin-Name: be00e45b723adf64bc78927dc12de3116fd04912a52e5c105a52f235c57698f5
commit sha d95a6520251132b4d73f9a9d68f72efe9ec62def
Avoid ominous warning in showdb.c FossilOrigin-Name: f8d7ac0104b76555142ce0d32714594f42d19b311dce2f77f42f92756b5e0c93
commit sha a4df1bd5ff3c04229eadd1741b5b3d69ffc7881b
Adjust the mkshellc.tcl script so that the generated code always uses unix-style line endings. FossilOrigin-Name: 9f69af4dbcb273519fa87b7868f3792560fb71b192f4ffe53b8b465334da5ae4
commit sha 7379b455a58166ad7a19e08cbd3b44e1ea3f2226
Do not run test file sessionbig.test on 32-bit platforms. It uses too much memory. FossilOrigin-Name: 75e53215fe436999cdc70434c6ae96d3ce6642c71528cce9f5715fe1b1b81876
commit sha 755708538d592f782306d9780895e57180ce483a
Omit a handful of tests from pager1.test when testing SQLITE_ENABLE_ZIPVFS builds. FossilOrigin-Name: c3036c28259c1375cd2c480c9ca0ce7f9aa1e952be4f110dde49b2b7d72a43b7
commit sha 9c32c914b80cb05ed2daf342418e60440e5c303c
Add an ALWAYS on a branch in STAT4-only logic that is now always true due to check-in [c21bc5a2353e660f]. FossilOrigin-Name: 7bd55eee1ac63cf6d5699ce85bc5a29bf51afdf7a80bce44937fa833947a40f4
commit sha ebc672832fef73973eca647cefc74d1b305cdb32
Merge the latest trunk enhancements into the wal2 branch. FossilOrigin-Name: 41363fb970273cb5ae2bddf53f3536de047d7d22736483089fd89493c0c701ca
commit sha d59c189930339d8e353fc20864f22fca37d4e554
Merge recent trunk changes into branch-concurrent-pnu-wal2 via that wal2 branch. FossilOrigin-Name: 2ff7e5624924d95b280024f67237b8be2afa1593e3ade1da6e9e68c83a21d2ea
push time in 3 days
push eventsqlite/sqlite
commit sha 09612a5bb8c2ae47be5d7295506ab1e3cee9c1ce
Fix a test script problem in corruptN.test. FossilOrigin-Name: 3ddfe9ae55e6d0d922fbc209768b2ac4a4792f0f63af9a8fb53d66a4b8f1d94b
commit sha ac67f56726c46553108896d0c2e417d67a678799
Fix an ALTER TABLE problem with handling infinite loops of CTEs in the database schema. FossilOrigin-Name: c09d90eec2a49b948c60971294d146db5c82438855cd3fa48ddc3d2e6b44c26c
commit sha 93fd5420d0f2a5431b6adf334687aabb8a09b37e
In the authorizer, use SQLITE_DROP_INDEX, not SQLITE_DROP_TEMP_INDEX when dropping an index in an attached database. FossilOrigin-Name: e5a5acd6006133c5da4a7dd79726dbaa41c0d60ebeda890f848a6aafe5f9ef70
commit sha 11e489d6cb6424a56ed11469b3a4d8b47f76b495
Fix typos in testcase() macros from check-in [c09d90eec2a49b94]. FossilOrigin-Name: d4d9869c30710914b7ba51221b2c2223a9cf16b913bd6f3866ae747494a116af
commit sha 972da427490e1b4541322ce1af9a5e531946c656
Prevent an infinite loop in the trim() SQL function if the second argument is a carefully malformed UTF8 string. FossilOrigin-Name: 829343c26ed7b87fafc70de3369625209bad91e79bb7ca2946d5c8d61cc1c3c4
commit sha a959bf53110bfada67a3a52187acd57aa2f34e19
Add NULL checks on all sqlite3_vfs_find(0) calls. This is not strictly necessary. There are no vulnerabilities here. However, adding these checks avoids unnecessary static analyzer complaints. [forum:/forumpost/ce1193be15|Forum post ce1193be15]. FossilOrigin-Name: 272a15b9f418fb0b31a9808f7c42c20cf52318035ff98935d8e8519634357e8d
commit sha 17adf4e5a1e5326fe92d7e224b84a8f24f33b2b5
Update the "nmakehlp.c" utility program sources associated with the TCL Extension Architecture, obtained from [https://core.tcl-lang.org/sampleextension/file]. Perhaps this new version will sit better with salmonx's static analyzer [forum:/forumpost/7f0beca9797ee23a|(ref1)], [forum:/forumpost/7d5c8b19231ad57f|(ref2)]. FossilOrigin-Name: 603b851d7d923d71543760b09a55d72dbbc185ac9c353c954c331c0454992c80
commit sha f54e79405ec3edd606400a08ff84198824927093
Fix some minor #ifdef issues so that all of the supported compile-time options continue to build. FossilOrigin-Name: d8cf407046f20b0398f19acd0dab6acb6c742911e21e1003cb5b194dd668d98e
commit sha 9d82a2ccfe5d8f5c0a71c29b50b8051eada4378a
Fix an incorrect ifdef in the previous check-in. FossilOrigin-Name: 4b2bb46730393292364b2be7db4e73fc8f93cd5a141aaf04f20fe0119deb5ab3
commit sha 82f62e832432724f6b7e1966401d178c490e6d5e
Fix some #ifdefs so that builds work for all supported compile-time options. FossilOrigin-Name: ca7d78f7818b4754fd04ea2b618dee1f01e11c6a5acb54951217c0d03df8e187
commit sha 236bcdf3e4307ac4230b489e8fce22742fac8555
Enhanced defense against integer overflow in ALTER TABLE. FossilOrigin-Name: fb7f094e4e0f03622c2e7fa02483c17671a8899c7ad8aba8659177180f406704
commit sha cbe83495ee9da838b6a30bf0392cccece056e29b
Adjustments to requirement markings in comments. No changes to code. FossilOrigin-Name: be00e45b723adf64bc78927dc12de3116fd04912a52e5c105a52f235c57698f5
commit sha d95a6520251132b4d73f9a9d68f72efe9ec62def
Avoid ominous warning in showdb.c FossilOrigin-Name: f8d7ac0104b76555142ce0d32714594f42d19b311dce2f77f42f92756b5e0c93
commit sha a4df1bd5ff3c04229eadd1741b5b3d69ffc7881b
Adjust the mkshellc.tcl script so that the generated code always uses unix-style line endings. FossilOrigin-Name: 9f69af4dbcb273519fa87b7868f3792560fb71b192f4ffe53b8b465334da5ae4
commit sha 7379b455a58166ad7a19e08cbd3b44e1ea3f2226
Do not run test file sessionbig.test on 32-bit platforms. It uses too much memory. FossilOrigin-Name: 75e53215fe436999cdc70434c6ae96d3ce6642c71528cce9f5715fe1b1b81876
commit sha 755708538d592f782306d9780895e57180ce483a
Omit a handful of tests from pager1.test when testing SQLITE_ENABLE_ZIPVFS builds. FossilOrigin-Name: c3036c28259c1375cd2c480c9ca0ce7f9aa1e952be4f110dde49b2b7d72a43b7
commit sha 9c32c914b80cb05ed2daf342418e60440e5c303c
Add an ALWAYS on a branch in STAT4-only logic that is now always true due to check-in [c21bc5a2353e660f]. FossilOrigin-Name: 7bd55eee1ac63cf6d5699ce85bc5a29bf51afdf7a80bce44937fa833947a40f4
commit sha 371cc2491fb09d45a085a038c5fce1e09ddf23f6
Merge recent trunk enhancements into reuse-schema branch. FossilOrigin-Name: 92d8f967c9a7e4005c63703af8075b3d2ae5aa43c6b5bc6e599735dc4479bef6
push time in 3 days
push eventsqlite/sqlite
commit sha acef1abda2746ec5a64c39130ae3e88adaf526f2
Fix a problem with SQLITE_MAX_MEMORY in malloc.c. FossilOrigin-Name: c18dbe2f389f4ba7b219b7995d4f7009d1bc249ef8f93a30b262c6d2c008319d
commit sha 93c8139c1a9755a9f599966f82df45cdee85305e
If there are errors in a nested CTE, be sure to abandon processing. Do not continue since the parse tree may have been left in a goofy state which could cause use-after-free and segfaults. See [forum:/forumpost/aa4a7a3980|forum post aa4a7a3980] for an example. FossilOrigin-Name: 94225d693932eb0b5d7799d40513afbd31ed40e1e156675eb92ad7216f1ff20f
commit sha d42dbd9dfeb9233dcf9bb7af617289bc51a12379
If an FTS5 Cursor fails to enlarge the space for the aInst array, set the size of the aInst array to zero. dbsqlfuzz 294254b8105cca409f27a711f1eb2e9e63cbcac5. FossilOrigin-Name: 4ae5e5b5ecbce580d3f7f970076e828fc6fb5fbcdc3bbe8381ab38f52870a54f
commit sha ff9186137d4fa0c09519ec99f9e503b215c307b7
The fix in the previous check-in was only correct if the OOM occurs on the initial allocation. This changes should make it correct for a resize as well. FossilOrigin-Name: 57087ab2f297e4d96da5b9f3b89a26d8dd2bc4d22c2be8045b5d956d86282f39
commit sha 5e1a7ded4d423e26e7925a514cbe03303524b9a2
Do not invoke sqlite3ExprAffinity() after a syntax error that might have left the tree in an inconsistent state. See also [e8a1515b44380cc5] and [forum:/forumpost/7e484e225c|forum post 7e484e225c]. FossilOrigin-Name: b986600520696b0c91c4ccc6aff1b698391b4bcaf8a3ea436be1967883faa2fe
commit sha 7cc73b399e07a6a4c663b4932c801ad26934fd48
Do not push a WITH clause onto the processing stack if prior errors have occurred. dbsqlfuzz 6b7a144674e215f06ddfeb9042c873d9ee956ac0. FossilOrigin-Name: c2066dde53b9872dbb991e27419dd031791c942fe23826556f52efbd66c51662
commit sha 0542812726e199388fa06e8bdea8a75bb3688721
Additional defenses (above and beyond [b986600520696b0c]) to prevent an invalid subquery from causing problems downstream. If an error is found while analyzing a subquery expression, change the expression to TK_ERROR so inhibit further processing on that expression. dbsqlfuzz cf624b8c0484c66e0f552bf6475e3e3f2c22b24e. FossilOrigin-Name: 0be6b6c9f7c562e764792a4a5eb53ed11b230174b19361f7cd7778c743314bbd
commit sha bf7f3a005e1cf4573af2c74f3c3fdb721961ad4d
Fix the TreeView module so that it works with the TK_ERROR exprssion. Also fix an assert() that was failing due to the recent TK_ERROR addition. FossilOrigin-Name: dd56fbe0cfb0f7848190ce097b378321dd25ae509c7edf93682b091014824fc6
commit sha b6b06bb339cbbed269cc5b7017de5c94e9c67bb1
New dbsqlfuzz cases added to test/fuzzdata8.db. FossilOrigin-Name: 5bb5c9ec049488f95e47bbd9f1db9038ffabad3cfafa613acdaa790ab4034eee
commit sha 0fcf6f01e7a81647ca34b540540e0905d6042899
Minor comment improvements in fuzzcheck.c. FossilOrigin-Name: 7aca8d52c16c2192d9c1ff03a976c482a60365cef8d2474b540ff4c84e8737b4
commit sha c00727ab583ea47f6962aa33dfc84f2d3723dc04
Fix a problem in the in-memory journal code that could occasionally lead to a segfault when a sub-transaction that modified zero pages was committed. FossilOrigin-Name: 17960165f5840cab45b7a8bb02779ebfb321c68f33ec6da9ab14063ccd134fa4
commit sha 78a9d7551c7f709eef0804bd00caee1c06ff11d0
Enhance the shell tool ".dump PATTERN" command so that it dumps the contents of shadow tables when a virtual table is identified by the PATTERN. FossilOrigin-Name: b0bc5ab9ceec496ac260ccfd53b51a2b53a81576fbe04c97b99f6705b063c59f
commit sha 4df68e0ae537a6821854d6cfacdf52b7d58ffb46
Update an allocation routine in the sessions module to allow it to allocate the maximum size permitted by sqlite3_realloc64(). FossilOrigin-Name: 0b45e821911e4a852edd6d9e9cfe5f9de33337edf76fb12b79adaf11a4b83e8a
commit sha 137b8ebb2b5535ee18e5ac20df1a3982bcfc5fcf
Do not run sessionbig.test as part of the session_strm permutation. It is too slow. FossilOrigin-Name: 708ce7ad8acee702d08d1987aa253b0bfc3fd97255d6e4153122b03eba337570
commit sha 151446e793e6cf9398afd0fe48c45e2cbada8c4a
Update an assert() in wherecode.c that might fail following an unrelated SQL error. FossilOrigin-Name: 3e2c36a8272ab3c1777638c0ed8222e7ff04657fe1c40f74a63b99a5a90258cc
commit sha 14c4d42874bd44c414c0ab0c77bde254d7c34b29
Take care that the code is not generated for the same Select object more than once, as transformations that apply during the first pass might cause problems for the second pass. dbsqlfuzz 836b625cd8a41809ef80fc7ebaa6554357bcb463. FossilOrigin-Name: f30fb19ff763a7cbe768ea49954704e14d6400f69bb4257c9c890e1564e14835
commit sha 40b82f9dc64d6256f3624da044ff4e44a957e540
Avoid assuming that an expression like "x=10" in a WHERE clause implies that CASE(x AS TEXT)=='10'. FossilOrigin-Name: 389ec669f416c74d651e25572f6e007c2a62ddd4027524f553107b06db5c55eb
commit sha c3b48848b3a7f3564f8e7101be29868e76daf983
Add new test file whereM.test. Containing tests for the change on this branch. FossilOrigin-Name: c4c76b824c41afb5b4d7b397c4d3142698aa303ea3a368c0cc7af4884e3a10bd
commit sha a8ed5154009e5028f9f0db271d086f2575ed1648
Minor optimization to opcode comparison logic in the fixes to the constant-propagation optimization on this branch. FossilOrigin-Name: f17dec40a0ccc044bd32e035fc10797552329af242408a45f36125ed8d2ef088
commit sha 7d11e647ad36e9e8f94ea661c8fc8121a428ed5e
Improvements to the constant-propagation optimization in order to better deal with unusual affinities. See [forum:/forumpost/6a06202608|forum post 6a06202608] for more detail. FossilOrigin-Name: 9be208a6d70582c6808abe6e016ab9cd8d10f0deefb8c7a8c0543372cca15b12
push time in 3 days