lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_tables.rb in knjrbfw-0.0.104 vs lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_tables.rb in knjrbfw-0.0.105
- old
+ new
@@ -29,9 +29,11 @@
def list
ret = {} unless block_given?
@list_mutex.synchronize do
q_tables = @db.select("sqlite_master", {"type" => "table"}, {"orderby" => "name"}) do |d_tables|
+ next if d_tables[:name] == "sqlite_sequence"
+
obj = @list.get!(d_tables[:name])
if !obj
obj = KnjDB_sqlite3::Tables::Table.new(
:db => @db,
\ No newline at end of file