Fossil Forum

Forum
Login

Database error: SQL error: out of memory

By wyoung on 2018-08-12 06:23:28

Just stumbled across this one: click me.

Workaround: remove the trailing slash from the URL.

Proper fix: ignore the trailing slash in the Fossil URL parser.

Oh, and while we're at it, can we get double slash elision, to make URL pasting easier to get right, such as when editing the skin files? https://example.com//timeline should give the timeline.

By drh on 2018-08-16 17:54:34 and edited on 2018-08-16 17:54:48 [link]

The root problem is deeper than described above. The built-in hextoblob() SQL function needed to be fixed so that it does not throw an SQLITE_NOMEM error if it is handed an empty string as its input. See Fossil check-in 5519c6b8fc5cee35 for details.