On Apr 25, 2:14 pm, Mike Golod <[email protected]> wrote:
> Jeremy, yesterday I played with the patch fromhttp://p.ramaze.net/22334.
> With little additional modifications it works fine (creating table
> with primary key also creates sequence and trigger). But most of
> integration tests still fails. I didn't digg deeper yet. For example
> first dataset tests fails cause
>
>     INTEGRATION_DB.create_table!(:items) do
>       primary_key :id
>       Integer :number
>     end
>
> tries to create field NUMBER, wich is reserved word in Oracle (a
> datatype), so CREATE TABLE statement fails.

Thanks for testing it out.  If you could put up a new pastie with the
additional modifications, that would be helpful.

Sequel should be quoting that identifier.  You can add a start_logging
call before that and a stop_logging call in the next test to see what
SQL it is sending the database.  If you want to pastie the entire
integration test output, I'd certainly be interested in that.

Thanks,
Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to