Ask questionsWrong rows are selected for some tables
<!-- Please fill the requested information before pressing Submit. Thanks for coming here to report a bug. :)
Please describe it in the sections below, fill out the correct check boxes with an "x", replacing the space inside [ ], then click the "Submit new issue" button at the bottom -->
I created a database with a single table using
CREATE TABLE data ( key BLOB NOT NULL PRIMARY KEY, value BLOB NOT NULL ) WITHOUT ROWID"
I then inserted a row with key having type
BLOB (not using the GUI).
I should be able, using the GUI, to delete or modify the row that I inserted.
A a not existing (wrong) row is selected for deletion and other modifications. I think because DB4S uses
TEXT instead of
BLOB to select it.
Edit: Note that at first it does look like DB4S makes the correct modifications. Only after saving and reloading the database it becomes clear that it didn't.
Answer questions mgrojo
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.