On Saturday, March 29, 2014 5:41:10 AM UTC-7, Yaroslav Zemlyanukhin wrote: > > Thanks Jeremy, It seems to be working now. > I noticed two aspects: > 1. For odbc-based adapter ruby-odbc gem is required, although you've > commented no dependencies required at all >
Sequel itself has no dependencies (). However, in general each adapter depends on the driver it uses. The connecting to a database guide says: "The following sections explain the options and behavior specific to each adapter. If the library the adapter requires is different from the name of the adapter scheme, it is listed specifically, otherwise you can assume that is requires the library with the same name." > 2. Some test are skipped for > SEQUEL_MSSQL_URL='odbc:// > username:[email protected]/azure?db_type=mssql' > since condition DB.adapter_scheme == :odbc is true. Is it correct > behaviour? Yes. I believe only the postgres and jdbc/postgres adapters can run the integration tests without skipping anything. All other adapters have tests that are skipped for various reasons. For example, on SQLite, it skips tests related to: 1) Creating views with explicit column lists 2) HAVING works without GROUP BY 3) Index parsing doesn't include partial indexes SQLite doesn't support 1) or 2), and doesn't offer a way to differentiate partial indexes from full indexes, making 3) impossible. There's actually a fourth failure in the public master branch, but I have it fixed locally and will push it up to GitHub after more testing. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
