V4MD : init() & initclient()
Steven Ophalvens
silversoft at skynet.be
Thu Sep 6 18:01:24 CDT 2007
Hello Ruslan,
it seems that the issue with the init() and the
initclient() methods on the same Valentina object
is not completely solved :
- initClient() only : correct data is pulled from the db
- initClient() and init() :
- incorrect data is pulled from the server DB
- correct data is pulled from the local DB
The results I get seem to be in an unexpected kind
of encoding and a returned query result might look
like the following :
[#rowsChanged: 0, #errNumber: 0, #errNumberHex: "0x0", #errString: "",
#columns: [#login, #paswoord, #rol, #id, #naam, #voornaam, #login_datum,
#login_tijd], #rows: [["h öÄ", "h öÄ", "h öÄ", 4, "h öÄ", "h öÄ",
"07/09/2007", "00:36:41:201"]]]
Instead of :
[#rowsChanged: 0, #errNumber: 0, #errNumberHex: "0x0", #errString: "",
#columns: [#login, #paswoord, #rol, #id, #naam, #voornaam, #login_datum,
#login_tijd], #rows: [["docent", "docent", "Docent", 4, "Mentink", "Joost",
"07/09/2007", "00:36:41:201"]]]
which I get when I remove the init ()
Number and date/time fields seem to be ok.
I filed it into Mantis, but I got it there double (2615 & 2616), sorry.
Greetings,
Steven Ophalvens
More information about the Valentina
mailing list