Re: String values discarded after calling Commit() method
"jacek.ruzyczka via metakit" <[email protected]> Mon, 14 Aug 2017 13:05:13 -0700 (PDT)
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_5506_1530018223.1502741114045 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Am Sonntag, 13. August 2017 22:08:58 UTC+2 schrieb [email protected]: > String values I add into into a S column of a c4_View are apparently discarded after calling the Commit() method from the C++ API. > OK, after reading the thread with the corrupted data from 2008-03-13, I found out that it was a flaw in this API method call: connection_handler.GetAs ("tracks [degrees:D, compass:S]"); The problem was the blank after the comma in the column definition! Don't ask me what's so bad with a blank after a comma (it's even required for the sake of good typography) and why instead of throwing an exception, this "error" leads to unexpected behavior of Metakit, but after removing the blank, it works. :) ------=_Part_5506_1530018223.1502741114045--