Also found another bug. You can't do a #create_table with an index in
it. This call raises an error:
# this works properly now
db.create_table :my__table.identifier do
primary_key :id
column :name, :varchar
index :name
end
The error is:
wrong number of arguments (0 for 1)
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/adapters/
shared/mysql.rb, line: 195, method: to_s »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/adapters/
shared/mysql.rb, line: 195, method: quoted_identifier »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/dataset/
sql.rb, line: 568, method: quote_identifier »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/schema/
sql.rb, line: 197, method: quote_identifier »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/adapters/
shared/mysql.rb, line: 53, method: index_definition_sql »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/schema/
sql.rb, line: 157, method: index_list_sql_list »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/schema/
sql.rb, line: 157, method: map »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/schema/
sql.rb, line: 157, method: index_list_sql_list »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/schema/
sql.rb, line: 115, method: create_table_sql_list »
c:/ruby/lib/ruby/gems/1.8/gems/sequel-2.7.1/lib/sequel_core/database/
schema.rb, line: 60, method: create_table »
Thanks for taking a look.
Sunny
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---