> Then that would be rather big bug in that database. This kind of > lexical syntax rule is really basic. And per the other mail, it seems > that Mysql also supports it ? Or was your observation 'Well it should > work...' ironic ?
probably it works with the proposal of Thomas, did not try it... So could be off the list... will confirm soon.. >> Another serious design issue is that you make db equivalent of any >> std::string or WString the "TEXT". "TEXT" can have up to gigantesc >> sizes, like in mysq, and you cannot predict the size of the field >> untill you retrieve an element. As I see this is not the case for >> sqlite, but it is souriously the case for Mysql. This means that you > I believe that is indeed not optimal (but an easy start, and as good as it > gets for Sqlite). Well... this part of the project seems to be more important than others, and for me it is about using it or not... In the context where I am using it, I cannot afford allocation of memory for mysql "TEXT" type, in order to be sure that myqlclient lib will not do buffer overrun etc. > We should extend support for the std::string and WString by adding an > optional 'size' parameter to the dbo::field() function call. The same > 'size' argument can also be used to indicate the size of a (binary) > blob of (C type const char *), which we will also want to support. > These two things are on my wish list for Wt::Dbo. Do you expect a beta version soon? When? Can you pls. inform when available in git? > Why not support a proper size, so that the back-end can decide to > store the string as a varchar(x) for example ? That works for me as well... > That would be too bad indeed. > https://lists.launchpad.net/drizzle-discuss/msg05187.html however > suggests that they are going to support it ? They are going to.. I am going to be the king of the castle :) Reading some emails of the developpers behind the scenes, I understand that they do not understand..... what they want :) If they give me such a blured vision, I cannot afford believing them -- rgrds, mobi phil being mobile, but including technology http://mobiphil.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
