billt tran
unread,Sep 19, 2017, 10:06:14 PM9/19/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DroidScript
Hi DS team,
I have tried this:
var sql = "SELECT market, HEX(substr(quote,0,4000)) as quote, HEX(substr(quote,4001,4000)) as quote1, HEX(substr(quote,8001,4000)) as quote2, HEX(substr(quote,12001,4000)) as quote3, HEX(substr(quote,16001,4000)) as quote4 FROM htmquotetoday WHERE market LIKE ? AND qdate LIKE ?";
It's stuck.
But, this run ok:
var sql = "SELECT market, HEX(substr(quote,0,4000)) as quote, HEX(substr(quote,4001,4000)) as quote1 FROM htmquotetoday WHERE market LIKE ? AND qdate LIKE ?";
So now, i'm sure about pre-set memory limit of sqlite sql executiton (only select sql, insert still ok). That is limit of total memory per 1 sql (not per 1 field).
Something about sqlite or pre-set for sqlite in new DS v1.5x has changed vs DS v1.34?
Now, i only have 1 tempolary solution is split my select sql to many select sqls. That is dirty and make select query more slow unsignificantly.
I hope you fix this from built-in DS. Thank you!