Game Development Community

Easy DB question

by Ted Lilljegren · in Technical Issues · 12/28/2007 (5:13 pm) · 1 replies

Regarding sqLite: i want to store a string larger than 255. Now if it would have been mySqlite, i would have assigned the column a TEXT value, which is excactly what i have done, but it still seems like it only stores 255 characters. Because 255 IS the largest amoun of characters a varchar can hold right?

Yeah and also, for a really long text, maybe 2000 chars or so, would it be smarter to read the text from a file than to have it on the db? The text does not compromise security and will only be acessed by the users once.

#1
12/30/2007 (4:06 pm)
Also, for some reason it seems you can only send strings of 255 characters to clientCommands. Is it possible to change the source code so that it alloacates more memory to this?