[Nitro] [ANN] Nitro + Og 0.22.0

John Lloyd-Jones john.lloydjones at gmail.com
Thu Aug 11 11:57:18 EDT 2005


I notice that when I attempt to run the unit tests on Og 0.22.0, I get
this error message:

c:/ruby-182/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0-mswin32/lib/sqlite3/errors
.rb:94:in `check': table "ogtc_oginheritance_document" has more than one primary
 key (SQLite3::SQLException)
        from c:/ruby-182/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0-mswin32/lib/s
qlite3/statement.rb:70:in `initialize'
        from c:/ruby-182/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0-mswin32/lib/s
qlite3/database.rb:183:in `new'
        from c:/ruby-182/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0-mswin32/lib/s
qlite3/database.rb:183:in `prepare'
        from c:/ruby-182/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0-mswin32/lib/s
qlite3/database.rb:274:in `query'
        from ./lib/og/store/sqlite.rb:141:in `create_table'
        from (eval):5:in `send'
        from (eval):5:in `og_create_schema'
        from ./lib/og/store/sql.rb:290:in `enchant'

I checked the generated sql and, sure enough it is attempting to
create a column 'oid' as primary key three times. The behaviour is
specific to schema_inheritance.




More information about the Nitro-general mailing list