On Wed, 2 Mar 2011, Eiichiro ITANI wrote:
I'm testing 5.1 server to migrate from 4.5, and I've found something.
This is my RXML test snippet:
[...]
Seeing in modules/database/sqltag.pike, it was changed that
handling of SQL-null since version 5.0.
Same code on 5.1, compat level 4.5:
----Result Output of 5.1, compat level 4.5 ----
Entityref:
insert:
RXML run error: No such variable (n).
| <insert variable="n">
| <emit host="ng_db" query="SELECT NULL as n" source="sql">
Seeing these result, as far as emit sql is concerned, it would be better
setting compat level higher than 4.5. But this may cause other
problems...
Can't it be avoidable RXML error on roxen 5.1 when compat level smaller
than 5.0? I guess it should be work as roxen 4.5 does.
Yes, that's the intention.
I've opened a bug for this issue [bug 5900].
--
ITANI Eiichiro
Thanks for the report.
--
Henrik Grubbström [email protected]
Roxen Internet Software AB