Open skrleo opened 10 months ago
Those ?SQL* macros are converted to erlang code, that's why they only accept literals - this needs to be expanded to code, before rest of that code is run. You will probably need to switch to using literal string in this case.
I tried spool sub-table processing, and found that ejabberd_sql can't? SQL_INSERT, the following is my code