On 25/05/12 23:47, Jeroen De Dauw wrote:
> Hey,
> 
> I have some test class in which I need to (temporary) add a table. I did
> some stuff that works locally for my (just constructing some SQL and
> passing it to wfGetDb()->safeQuery) but it fails on Jenkins, presumably
> because it's using SQLLite or whatever there. Is there a better way to add
> such tables?
> 
> Cheers

What's the definition of your table?
It should be possible to write it in a way compatible with both MySQL
and SQLite. Problem: We support more backends.
Another option is to branch depending on the backend used.

And finally, there's the option to skip that test iif the backend is
SQLite (there's currently a test doing that on mysql, take a look at it).

Cheers


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to