db2 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1271,16 +1271,13 @@ module ActiveRecord
1271
1271
  # Initializes the tables array
1272
1272
  tables = []
1273
1273
  # Retrieve table's metadata through IBM_DB driver
1274
- stmt = IBM_DB.tables(@connection, nil,
1275
- @servertype.set_case(@schema))
1274
+ stmt = IBM_DB.tables(@connection, nil, @servertype.set_case(@schema))
1276
1275
  if(stmt)
1277
1276
  begin
1278
1277
  # Fetches all the records available
1279
1278
  while tab = IBM_DB.fetch_assoc(stmt)
1280
1279
  # Adds the lowercase table name to the array
1281
- if(tab["table_type"]== 'TABLE') #check, so that only tables are dumped,IBM_DB.tables also returns views,alias etc in the schema
1282
- tables << tab["table_name"].downcase
1283
- end
1280
+ tables << tab["table_name"].downcase
1284
1281
  end
1285
1282
  rescue StandardError => fetch_error # Handle driver fetch errors
1286
1283
  error_msg = IBM_DB.getErrormsg(stmt, IBM_DB::DB_STMT )
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: db2
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.6.0
5
+ version: 2.6.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - IBM