When it is tried to be read a BLOB column data an exception is raised at memory allocation. Data to be read is about 36KiB. I wonder if this is a known problem and if there is a workaround.
After all these actual problem seems to be mORMot framework that I am using. mORMot seems to have "silent" alignment problems for ARM platform. Recently they are more and more obvious. They are most likely cleared out and now I have no crash on my application. It runs as it shoud be. We can close this ticket. Sorry for all the fuss.
Problem turned out not to be a datatype mismatch. TDataSet does not have final column in table when doing "select * from". I did my best to trackdown the problem. I simply failed. It seems to be filled in the dataset. However, I do get that exception each and every time. I have provided marsupilami my complete code where problem can be reproduced. He is so busy at work that cannot have a look at it. What should we do?
I have switched to SVN 7.3-trunk Again, break point is not stopped execution. Code did not run that procedure. For both 7.2.x and 7.3 version SelectSchema.InsertField(I, FieldRef); is not in line 797. 7.3 it is at line 874.
My break point did not stop execution. It seems code execution is not coming in that TZAbstractResultSetMetadata.ReplaceStarColumns procedure. Again, I am using 7.2-patches right now. If that makes any change.
I could not directly type your example. It raised error. Below is my current code DM.DB.DbcConnection.GetMetadata.ClearCache(); DM.qrySayimBaslik.Open(); // <--- EXCEPTION HERE That did not help. I still get field not found error. For the record. Below is the SQL in DM.qrySayimBaslik: select * from sayimbaslik where id = :id ID is a column of type "uuid" Also, I did that test on 7.2-patches ( https://svn.code.sf.net/p/zeoslib/code-0/branches/7.2-patches ) I tried to revert back to 7.1.x, but could...
For the record, missing field is the last field in dataset.
Revision 5724 is OK