Description:
I have a table with a column of type TEXT NOT NULL and whenever I select content from the table or try to "EDIT" the table it does not show the contents of the field.. it only shows a "0".
Also if I try editing the content in "EDIT" mode (or adding a new entry) it will not let me enter anything but a number (and the embedded edit control is a number "spinner").
if I use raw SQL to "INSERT" or "UPDATE" it of course works fine.
This occurs on both Mac OS X and Linux
How to repeat:
CREATE TABLE myTable (
ID int not null auto_increment PRIMARY KEY,
myText TEXT
);
INSERT INTO myTable (myText) VALUES ('Test');
Then run
EDIT `myTable`
the result view will list
ID myText
1 0
But if I do this
SELECT ID, CAST(myText AS CHAR(200)) FROM myTable
I can actually view the content.
Description: I have a table with a column of type TEXT NOT NULL and whenever I select content from the table or try to "EDIT" the table it does not show the contents of the field.. it only shows a "0". Also if I try editing the content in "EDIT" mode (or adding a new entry) it will not let me enter anything but a number (and the embedded edit control is a number "spinner"). if I use raw SQL to "INSERT" or "UPDATE" it of course works fine. This occurs on both Mac OS X and Linux How to repeat: CREATE TABLE myTable ( ID int not null auto_increment PRIMARY KEY, myText TEXT ); INSERT INTO myTable (myText) VALUES ('Test'); Then run EDIT `myTable` the result view will list ID myText 1 0 But if I do this SELECT ID, CAST(myText AS CHAR(200)) FROM myTable I can actually view the content.