active_record_host_pool 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ module ActiveRecordHostPool
6
6
  alias_method_chain :execute, :switching
7
7
  alias_method_chain :drop_database, :no_switching
8
8
  alias_method_chain :create_database, :no_switching
9
+ alias_method_chain :disconnect!, :host_pooling
9
10
  end
10
11
  end
11
12
 
@@ -34,9 +35,15 @@ module ActiveRecordHostPool
34
35
  end
35
36
  end
36
37
 
38
+ def disconnect_with_host_pooling!
39
+ @_cached_current_database = nil
40
+ disconnect_without_host_pooling!
41
+ end
42
+
37
43
  private
38
44
 
39
45
  def _switch_connection
46
+ log("evaluating switchability: #{_host_pool_current_database} vs. #{@_cached_current_database} (I am #{$$})", "INFO")
40
47
  if _host_pool_current_database && (_host_pool_current_database != @_cached_current_database)
41
48
  log("select_db #{_host_pool_current_database}", "SQL") do
42
49
  raw_connection.select_db(_host_pool_current_database)
@@ -51,13 +51,13 @@ module ActiveRecordHostPool
51
51
  end
52
52
 
53
53
  def disconnect!
54
- _clear_connection_proxy_cache
55
54
  _connection_pool.disconnect!
55
+ _clear_connection_proxy_cache
56
56
  end
57
57
 
58
58
  def clear_reloadable_connections!
59
- _clear_connection_proxy_cache
60
59
  _connection_pool.clear_reloadable_connections!
60
+ _clear_connection_proxy_cache
61
61
  end
62
62
 
63
63
  private
data/test/test.log CHANGED
@@ -19168,3 +19168,882 @@
19168
19168
  SQL (6.4ms) DROP DATABASE arhp_test_2
19169
19169
  SQL (5.2ms) DROP DATABASE arhp_test_4
19170
19170
  SQL (5.3ms) DROP DATABASE arhp_test_1
19171
+ SQL (0.2ms) SET NAMES 'utf8'
19172
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19173
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19174
+ SQL (0.2ms) select_db arhp_test_3
19175
+ SQL (12.8ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19176
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19177
+ SQL (0.5ms) SHOW TABLES
19178
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19179
+ SQL (9.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19180
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19181
+ SQL (1.3ms) SHOW KEYS FROM `schema_migrations`
19182
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19183
+ SQL (18.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19184
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19185
+ SQL (0.4ms) SHOW TABLES
19186
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19187
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19188
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19189
+ SQL (1.6ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19190
+ SQL (0.1ms) SET NAMES 'utf8'
19191
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19192
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19193
+ SQL (0.1ms) select_db arhp_test_2
19194
+ SQL (9.1ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19195
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19196
+ SQL (0.5ms) SHOW TABLES
19197
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19198
+ SQL (9.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19199
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19200
+ SQL (0.9ms) SHOW KEYS FROM `schema_migrations`
19201
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19202
+ SQL (19.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19203
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19204
+ SQL (0.4ms) SHOW TABLES
19205
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19206
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19207
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19208
+ SQL (2.4ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19209
+ SQL (0.2ms) SET NAMES 'utf8'
19210
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19211
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19212
+ SQL (0.2ms) select_db arhp_test_4
19213
+ SQL (9.0ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19214
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19215
+ SQL (0.7ms) SHOW TABLES
19216
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19217
+ SQL (11.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19218
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19219
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19220
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19221
+ SQL (19.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19222
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19223
+ SQL (0.4ms) SHOW TABLES
19224
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19225
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19226
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19227
+ SQL (1.7ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19228
+ SQL (0.1ms) SET NAMES 'utf8'
19229
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19230
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19231
+ SQL (0.1ms) select_db arhp_test_1
19232
+ SQL (10.1ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19233
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19234
+ SQL (0.6ms) SHOW TABLES
19235
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19236
+ SQL (9.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19237
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19238
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19239
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19240
+ SQL (16.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19241
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19242
+ SQL (0.4ms) SHOW TABLES
19243
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19244
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19245
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19246
+ SQL (1.0ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19247
+ SQL (0.1ms) SET NAMES 'utf8'
19248
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19249
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19250
+ SQL (9.8ms) DROP DATABASE arhp_test_3
19251
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19252
+ SQL (9.2ms) DROP DATABASE arhp_test_2
19253
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19254
+ SQL (8.3ms) DROP DATABASE arhp_test_4
19255
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19256
+ SQL (7.6ms) DROP DATABASE arhp_test_1
19257
+ SQL (0.2ms) SET NAMES 'utf8'
19258
+ SQL (0.2ms) SET SQL_AUTO_IS_NULL=0
19259
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19260
+ SQL (0.2ms) select_db arhp_test_3
19261
+ SQL (8.9ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19262
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19263
+ SQL (0.5ms) SHOW TABLES
19264
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19265
+ SQL (10.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19266
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19267
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19268
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19269
+ SQL (25.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19270
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19271
+ SQL (0.6ms) SHOW TABLES
19272
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19273
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19274
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19275
+ SQL (1.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19276
+ SQL (0.1ms) SET NAMES 'utf8'
19277
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19278
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19279
+ SQL (0.1ms) select_db arhp_test_2
19280
+ SQL (10.1ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19281
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19282
+ SQL (0.7ms) SHOW TABLES
19283
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19284
+ SQL (8.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19285
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19286
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19287
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19288
+ SQL (17.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19289
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19290
+ SQL (0.4ms) SHOW TABLES
19291
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19292
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19293
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19294
+ SQL (1.3ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19295
+ SQL (0.2ms) SET NAMES 'utf8'
19296
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19297
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19298
+ SQL (0.2ms) select_db arhp_test_4
19299
+ SQL (9.5ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19300
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19301
+ SQL (0.9ms) SHOW TABLES
19302
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19303
+ SQL (9.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19304
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19305
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19306
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19307
+ SQL (20.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19308
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19309
+ SQL (0.4ms) SHOW TABLES
19310
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19311
+ SQL (0.6ms) SELECT version FROM `schema_migrations`
19312
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19313
+ SQL (1.1ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19314
+ SQL (0.1ms) SET NAMES 'utf8'
19315
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19316
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19317
+ SQL (0.1ms) select_db arhp_test_1
19318
+ SQL (10.9ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19319
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19320
+ SQL (0.5ms) SHOW TABLES
19321
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19322
+ SQL (8.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19323
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19324
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19325
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19326
+ SQL (18.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19327
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19328
+ SQL (0.4ms) SHOW TABLES
19329
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19330
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19331
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19332
+ SQL (1.4ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19333
+ SQL (0.1ms) SET NAMES 'utf8'
19334
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19335
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19336
+ SQL (0.1ms) select_db arhp_test_1
19337
+ SQL (9.3ms) DROP DATABASE arhp_test_3
19338
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19339
+ SQL (7.8ms) DROP DATABASE arhp_test_2
19340
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19341
+ SQL (8.1ms) DROP DATABASE arhp_test_4
19342
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19343
+ SQL (8.2ms) DROP DATABASE arhp_test_1
19344
+ SQL (0.2ms) SET NAMES 'utf8'
19345
+ SQL (0.2ms) SET SQL_AUTO_IS_NULL=0
19346
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19347
+ SQL (0.2ms) select_db arhp_test_3
19348
+ SQL (9.7ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19349
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19350
+ SQL (1.0ms) SHOW TABLES
19351
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19352
+ SQL (11.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19353
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19354
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19355
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19356
+ SQL (20.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19357
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19358
+ SQL (0.4ms) SHOW TABLES
19359
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19360
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19361
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19362
+ SQL (1.4ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19363
+ SQL (0.1ms) SET NAMES 'utf8'
19364
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19365
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19366
+ SQL (0.1ms) select_db arhp_test_2
19367
+ SQL (10.2ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19368
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19369
+ SQL (0.5ms) SHOW TABLES
19370
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19371
+ SQL (8.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19372
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19373
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19374
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19375
+ SQL (19.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19376
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19377
+ SQL (0.4ms) SHOW TABLES
19378
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19379
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19380
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19381
+ SQL (1.7ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19382
+ SQL (0.2ms) SET NAMES 'utf8'
19383
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19384
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19385
+ SQL (0.2ms) select_db arhp_test_4
19386
+ SQL (11.6ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19387
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19388
+ SQL (0.7ms) SHOW TABLES
19389
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19390
+ SQL (13.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19391
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19392
+ SQL (0.7ms) SHOW KEYS FROM `schema_migrations`
19393
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19394
+ SQL (20.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19395
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19396
+ SQL (0.4ms) SHOW TABLES
19397
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19398
+ SQL (0.6ms) SELECT version FROM `schema_migrations`
19399
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19400
+ SQL (1.7ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19401
+ SQL (0.1ms) SET NAMES 'utf8'
19402
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19403
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19404
+ SQL (0.2ms) select_db arhp_test_1
19405
+ SQL (11.8ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19406
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19407
+ SQL (2.6ms) SHOW TABLES
19408
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19409
+ SQL (8.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19410
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19411
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19412
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19413
+ SQL (17.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19414
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19415
+ SQL (0.5ms) SHOW TABLES
19416
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19417
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19418
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19419
+ SQL (1.4ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19420
+ SQL (0.1ms) SET NAMES 'utf8'
19421
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19422
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19423
+ SQL (0.2ms) select_db arhp_test_1
19424
+ ActiveSupport::TestCase::Test1 Columns (4.2ms) SHOW FIELDS FROM `tests`
19425
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19426
+ SQL (0.1ms) BEGIN
19427
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19428
+ ActiveSupport::TestCase::Test1 Create (0.3ms) INSERT INTO `tests` (`val`) VALUES('foo')
19429
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19430
+ SQL (1.6ms) COMMIT
19431
+ SQL (0.1ms) SET NAMES 'utf8'
19432
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19433
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19434
+ SQL (0.1ms) select_db arhp_test_1
19435
+ SQL (0.1ms) BEGIN
19436
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19437
+ ActiveSupport::TestCase::Test1 Create (0.3ms) INSERT INTO `tests` (`val`) VALUES('foo')
19438
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19439
+ SQL (1.0ms) COMMIT
19440
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19441
+ SQL (10.1ms) DROP DATABASE arhp_test_3
19442
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19443
+ SQL (7.9ms) DROP DATABASE arhp_test_2
19444
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19445
+ SQL (7.3ms) DROP DATABASE arhp_test_4
19446
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19447
+ SQL (7.8ms) DROP DATABASE arhp_test_1
19448
+ SQL (0.1ms) SET NAMES 'utf8'
19449
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19450
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19451
+ SQL (0.2ms) select_db arhp_test_3
19452
+ SQL (9.0ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19453
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19454
+ SQL (0.6ms) SHOW TABLES
19455
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19456
+ SQL (9.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19457
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19458
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19459
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19460
+ SQL (19.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19461
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19462
+ SQL (0.4ms) SHOW TABLES
19463
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19464
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19465
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19466
+ SQL (1.2ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19467
+ SQL (0.1ms) SET NAMES 'utf8'
19468
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19469
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19470
+ SQL (0.1ms) select_db arhp_test_2
19471
+ SQL (9.5ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19472
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19473
+ SQL (0.9ms) SHOW TABLES
19474
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19475
+ SQL (10.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19476
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19477
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19478
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19479
+ SQL (17.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19480
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19481
+ SQL (0.3ms) SHOW TABLES
19482
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19483
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19484
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19485
+ SQL (1.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19486
+ SQL (0.1ms) SET NAMES 'utf8'
19487
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19488
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19489
+ SQL (0.2ms) select_db arhp_test_4
19490
+ SQL (10.0ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19491
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19492
+ SQL (0.7ms) SHOW TABLES
19493
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19494
+ SQL (9.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19495
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19496
+ SQL (0.7ms) SHOW KEYS FROM `schema_migrations`
19497
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19498
+ SQL (19.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19499
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19500
+ SQL (0.4ms) SHOW TABLES
19501
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19502
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19503
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19504
+ SQL (1.2ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19505
+ SQL (0.1ms) SET NAMES 'utf8'
19506
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19507
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19508
+ SQL (0.1ms) select_db arhp_test_1
19509
+ SQL (12.2ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19510
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19511
+ SQL (0.6ms) SHOW TABLES
19512
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19513
+ SQL (9.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19514
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19515
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19516
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19517
+ SQL (16.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19518
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19519
+ SQL (0.4ms) SHOW TABLES
19520
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19521
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19522
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19523
+ SQL (1.6ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19524
+ SQL (0.1ms) SET NAMES 'utf8'
19525
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19526
+ SQL (0.2ms) SET NAMES 'utf8'
19527
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19528
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19529
+ SQL (0.1ms) select_db arhp_test_1
19530
+ SQL (10.7ms) DROP DATABASE arhp_test_3
19531
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19532
+ SQL (7.5ms) DROP DATABASE arhp_test_2
19533
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19534
+ SQL (8.7ms) DROP DATABASE arhp_test_4
19535
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19536
+ SQL (8.6ms) DROP DATABASE arhp_test_1
19537
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19538
+ SQL (0.3ms) select_db arhp_test_3
19539
+ SQL (11.8ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19540
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19541
+ SQL (0.5ms) SHOW TABLES
19542
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19543
+ SQL (9.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19544
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19545
+ SQL (0.8ms) SHOW KEYS FROM `schema_migrations`
19546
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19547
+ SQL (19.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19548
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19549
+ SQL (0.5ms) SHOW TABLES
19550
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19551
+ SQL (0.5ms) SELECT version FROM `schema_migrations`
19552
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19553
+ SQL (1.6ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19554
+ SQL (0.1ms) SET NAMES 'utf8'
19555
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19556
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19557
+ SQL (0.1ms) select_db arhp_test_2
19558
+ SQL (5.3ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19559
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19560
+ SQL (0.4ms) SHOW TABLES
19561
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19562
+ SQL (4.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19563
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19564
+ SQL (0.7ms) SHOW KEYS FROM `schema_migrations`
19565
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19566
+ SQL (8.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19567
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19568
+ SQL (0.6ms) SHOW TABLES
19569
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19570
+ SQL (1.7ms) SELECT version FROM `schema_migrations`
19571
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19572
+ SQL (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19573
+ SQL (0.1ms) SET NAMES 'utf8'
19574
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19575
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19576
+ SQL (0.2ms) select_db arhp_test_4
19577
+ SQL (4.1ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19578
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19579
+ SQL (0.4ms) SHOW TABLES
19580
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19581
+ SQL (3.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19582
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19583
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19584
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19585
+ SQL (6.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19586
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19587
+ SQL (0.6ms) SHOW TABLES
19588
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19589
+ SQL (0.5ms) SELECT version FROM `schema_migrations`
19590
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19591
+ SQL (1.1ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19592
+ SQL (0.1ms) SET NAMES 'utf8'
19593
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19594
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19595
+ SQL (0.1ms) select_db arhp_test_1
19596
+ SQL (3.9ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19597
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19598
+ SQL (0.3ms) SHOW TABLES
19599
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19600
+ SQL (3.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19601
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19602
+ SQL (0.4ms) SHOW KEYS FROM `schema_migrations`
19603
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19604
+ SQL (7.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19605
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19606
+ SQL (0.5ms) SHOW TABLES
19607
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19608
+ SQL (0.5ms) SELECT version FROM `schema_migrations`
19609
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19610
+ SQL (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19611
+ SQL (0.1ms) SET NAMES 'utf8'
19612
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19613
+ SQL (0.2ms) SET NAMES 'utf8'
19614
+ SQL (0.3ms) SET SQL_AUTO_IS_NULL=0
19615
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19616
+ SQL (0.1ms) select_db arhp_test_1
19617
+ SQL (2.8ms) DROP DATABASE arhp_test_3
19618
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19619
+ SQL (2.1ms) DROP DATABASE arhp_test_2
19620
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19621
+ SQL (2.8ms) DROP DATABASE arhp_test_4
19622
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19623
+ SQL (2.5ms) DROP DATABASE arhp_test_1
19624
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19625
+ SQL (0.2ms) select_db arhp_test_3
19626
+ SQL (4.8ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19627
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19628
+ SQL (0.4ms) SHOW TABLES
19629
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19630
+ SQL (3.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19631
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19632
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19633
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19634
+ SQL (6.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19635
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19636
+ SQL (0.4ms) SHOW TABLES
19637
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19638
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19639
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19640
+ SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19641
+ SQL (0.1ms) SET NAMES 'utf8'
19642
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19643
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19644
+ SQL (0.1ms) select_db arhp_test_2
19645
+ SQL (4.1ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19646
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19647
+ SQL (0.3ms) SHOW TABLES
19648
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19649
+ SQL (3.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19650
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19651
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19652
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19653
+ SQL (8.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19654
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19655
+ SQL (0.5ms) SHOW TABLES
19656
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19657
+ SQL (1.2ms) SELECT version FROM `schema_migrations`
19658
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19659
+ SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19660
+ SQL (0.2ms) SET NAMES 'utf8'
19661
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19662
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19663
+ SQL (0.2ms) select_db arhp_test_4
19664
+ SQL (6.9ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19665
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19666
+ SQL (0.6ms) SHOW TABLES
19667
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19668
+ SQL (6.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19669
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19670
+ SQL (0.7ms) SHOW KEYS FROM `schema_migrations`
19671
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19672
+ SQL (9.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19673
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19674
+ SQL (0.5ms) SHOW TABLES
19675
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19676
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19677
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19678
+ SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19679
+ SQL (0.1ms) SET NAMES 'utf8'
19680
+ SQL (0.2ms) SET SQL_AUTO_IS_NULL=0
19681
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19682
+ SQL (0.1ms) select_db arhp_test_1
19683
+ SQL (4.7ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19684
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19685
+ SQL (0.3ms) SHOW TABLES
19686
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19687
+ SQL (4.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19688
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19689
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19690
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19691
+ SQL (7.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19692
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19693
+ SQL (0.5ms) SHOW TABLES
19694
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19695
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19696
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19697
+ SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19698
+ SQL (0.1ms) SET NAMES 'utf8'
19699
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19700
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19701
+ SQL (0.1ms) select_db arhp_test_1
19702
+ SQL (0.1ms) BEGIN
19703
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19704
+ ActiveSupport::TestCase::Test1 Create (0.4ms) INSERT INTO `tests` (`val`) VALUES('foo')
19705
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19706
+ SQL (0.4ms) COMMIT
19707
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19708
+ SQL (0.5ms) select DATABASE()
19709
+ SQL (0.2ms) SET NAMES 'utf8'
19710
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19711
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19712
+ SQL (0.1ms) select_db arhp_test_3
19713
+ ActiveSupport::TestCase::Test3 Columns (1.1ms) SHOW FIELDS FROM `tests`
19714
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19715
+ SQL (0.1ms) BEGIN
19716
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19717
+ ActiveSupport::TestCase::Test3 Create (0.2ms) INSERT INTO `tests` (`val`) VALUES('bar')
19718
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19719
+ SQL (0.4ms) COMMIT
19720
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19721
+ SQL (0.1ms) select DATABASE()
19722
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19723
+ SQL (0.2ms) select DATABASE()
19724
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_1 (I am 34850)
19725
+ SQL (0.2ms) select_db arhp_test_2
19726
+ ActiveSupport::TestCase::Test2 Columns (1.1ms) SHOW FIELDS FROM `tests`
19727
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19728
+ SQL (0.1ms) BEGIN
19729
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19730
+ ActiveSupport::TestCase::Test2 Create (0.2ms) INSERT INTO `tests` (`val`) VALUES('bar')
19731
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19732
+ SQL (0.4ms) COMMIT
19733
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19734
+ SQL (0.1ms) select DATABASE()
19735
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19736
+ ActiveSupport::TestCase::Test2 Load (0.3ms) SELECT * FROM `tests` WHERE (`tests`.`val` = 'bar') LIMIT 1
19737
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_2 (I am 34850)
19738
+ SQL (0.1ms) select_db arhp_test_1
19739
+ ActiveSupport::TestCase::Test1 Load (0.2ms) SELECT * FROM `tests` WHERE (`tests`.`val` = 'bar') LIMIT 1
19740
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19741
+ SQL (2.6ms) DROP DATABASE arhp_test_3
19742
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19743
+ SQL (2.4ms) DROP DATABASE arhp_test_2
19744
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19745
+ SQL (2.4ms) DROP DATABASE arhp_test_4
19746
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19747
+ SQL (2.3ms) DROP DATABASE arhp_test_1
19748
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19749
+ SQL (5.0ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19750
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19751
+ SQL (0.4ms) SHOW TABLES
19752
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19753
+ SQL (4.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19754
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19755
+ SQL (0.4ms) SHOW KEYS FROM `schema_migrations`
19756
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19757
+ SQL (6.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19758
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19759
+ SQL (0.4ms) SHOW TABLES
19760
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19761
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19762
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19763
+ SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19764
+ SQL (0.1ms) SET NAMES 'utf8'
19765
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19766
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19767
+ SQL (0.1ms) select_db arhp_test_2
19768
+ SQL (3.9ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19769
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19770
+ SQL (0.4ms) SHOW TABLES
19771
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19772
+ SQL (5.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19773
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19774
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19775
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19776
+ SQL (7.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19777
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19778
+ SQL (0.5ms) SHOW TABLES
19779
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19780
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19781
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19782
+ SQL (1.0ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19783
+ SQL (0.1ms) SET NAMES 'utf8'
19784
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19785
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19786
+ SQL (0.2ms) select_db arhp_test_4
19787
+ SQL (4.4ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19788
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19789
+ SQL (0.4ms) SHOW TABLES
19790
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19791
+ SQL (3.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19792
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19793
+ SQL (0.4ms) SHOW KEYS FROM `schema_migrations`
19794
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19795
+ SQL (6.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19796
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19797
+ SQL (0.5ms) SHOW TABLES
19798
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19799
+ SQL (0.5ms) SELECT version FROM `schema_migrations`
19800
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19801
+ SQL (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19802
+ SQL (0.1ms) SET NAMES 'utf8'
19803
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19804
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19805
+ SQL (0.1ms) select_db arhp_test_1
19806
+ SQL (4.7ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19807
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19808
+ SQL (0.4ms) SHOW TABLES
19809
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19810
+ SQL (4.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19811
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19812
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19813
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19814
+ SQL (6.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19815
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19816
+ SQL (0.4ms) SHOW TABLES
19817
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19818
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19819
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19820
+ SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19821
+ SQL (0.1ms) SET NAMES 'utf8'
19822
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19823
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19824
+ SQL (0.1ms) select_db arhp_test_1
19825
+ SQL (0.9ms) insert into tests values(NULL, 'foo')
19826
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19827
+ SQL (0.2ms) select DATABASE()
19828
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_1 (I am 34850)
19829
+ SQL (0.1ms) select_db arhp_test_2
19830
+ SQL (0.8ms) insert into tests values(NULL, 'foo')
19831
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19832
+ SQL (0.1ms) select DATABASE()
19833
+ SQL (0.1ms) SET NAMES 'utf8'
19834
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19835
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19836
+ SQL (0.1ms) select_db arhp_test_3
19837
+ SQL (0.8ms) insert into tests values(NULL, 'foo')
19838
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19839
+ SQL (0.1ms) select DATABASE()
19840
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_3 (I am 34850)
19841
+ SQL (0.2ms) select_db arhp_test_4
19842
+ SQL (0.8ms) insert into tests values(NULL, 'foo')
19843
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19844
+ SQL (0.2ms) select DATABASE()
19845
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_2 (I am 34850)
19846
+ SQL (0.1ms) select_db arhp_test_1
19847
+ SQL (3.0ms) DROP DATABASE arhp_test_3
19848
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19849
+ SQL (2.2ms) DROP DATABASE arhp_test_2
19850
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19851
+ SQL (2.8ms) DROP DATABASE arhp_test_4
19852
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19853
+ SQL (2.4ms) DROP DATABASE arhp_test_1
19854
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_4 (I am 34850)
19855
+ SQL (0.2ms) select_db arhp_test_3
19856
+ SQL (4.1ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19857
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19858
+ SQL (0.4ms) SHOW TABLES
19859
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19860
+ SQL (4.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19861
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19862
+ SQL (0.4ms) SHOW KEYS FROM `schema_migrations`
19863
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19864
+ SQL (6.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19865
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19866
+ SQL (0.4ms) SHOW TABLES
19867
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19868
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19869
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19870
+ SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19871
+ SQL (0.1ms) SET NAMES 'utf8'
19872
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19873
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19874
+ SQL (0.1ms) select_db arhp_test_2
19875
+ SQL (4.0ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19876
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19877
+ SQL (0.4ms) SHOW TABLES
19878
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19879
+ SQL (3.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19880
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19881
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
19882
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19883
+ SQL (9.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19884
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19885
+ SQL (0.5ms) SHOW TABLES
19886
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19887
+ SQL (1.0ms) SELECT version FROM `schema_migrations`
19888
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19889
+ SQL (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19890
+ SQL (0.2ms) SET NAMES 'utf8'
19891
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19892
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
19893
+ SQL (0.2ms) select_db arhp_test_4
19894
+ SQL (6.7ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19895
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19896
+ SQL (0.6ms) SHOW TABLES
19897
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19898
+ SQL (7.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19899
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19900
+ SQL (0.4ms) SHOW KEYS FROM `schema_migrations`
19901
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19902
+ SQL (5.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19903
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19904
+ SQL (0.3ms) SHOW TABLES
19905
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19906
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19907
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19908
+ SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19909
+ SQL (0.1ms) SET NAMES 'utf8'
19910
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19911
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19912
+ SQL (0.1ms) select_db arhp_test_1
19913
+ SQL (4.3ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19914
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19915
+ SQL (0.5ms) SHOW TABLES
19916
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19917
+ SQL (4.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19918
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19919
+ SQL (0.6ms) SHOW KEYS FROM `schema_migrations`
19920
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19921
+ SQL (8.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19922
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19923
+ SQL (0.4ms) SHOW TABLES
19924
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19925
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19926
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19927
+ SQL (1.3ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19928
+ SQL (0.1ms) SET NAMES 'utf8'
19929
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19930
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
19931
+ SQL (0.1ms) select_db arhp_test_1
19932
+ SQL (0.2ms) select 1
19933
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19934
+ SQL (0.1ms) select DATABASE()
19935
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_1 (I am 34850)
19936
+ SQL (0.1ms) select_db arhp_test_2
19937
+ SQL (0.2ms) select 1
19938
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19939
+ SQL (0.1ms) select DATABASE()
19940
+ SQL (0.1ms) SET NAMES 'utf8'
19941
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19942
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. (I am 34850)
19943
+ SQL (0.2ms) select_db arhp_test_3
19944
+ SQL (0.2ms) select 1
19945
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19946
+ SQL (0.2ms) select DATABASE()
19947
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_3 (I am 34850)
19948
+ SQL (0.2ms) select_db arhp_test_4
19949
+ SQL (0.2ms) select 1
19950
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
19951
+ SQL (0.1ms) select DATABASE()
19952
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_2 (I am 34850)
19953
+ SQL (0.1ms) select_db arhp_test_1
19954
+ SQL (9.3ms) DROP DATABASE arhp_test_3
19955
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19956
+ SQL (8.0ms) DROP DATABASE arhp_test_2
19957
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19958
+ SQL (8.7ms) DROP DATABASE arhp_test_4
19959
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
19960
+ SQL (9.5ms) DROP DATABASE arhp_test_1
19961
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_4 (I am 34850)
19962
+ SQL (0.2ms) select_db arhp_test_3
19963
+ SQL (9.4ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19964
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19965
+ SQL (0.5ms) SHOW TABLES
19966
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19967
+ SQL (9.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19968
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19969
+ SQL (0.8ms) SHOW KEYS FROM `schema_migrations`
19970
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19971
+ SQL (17.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19972
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19973
+ SQL (0.4ms) SHOW TABLES
19974
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19975
+ SQL (0.4ms) SELECT version FROM `schema_migrations`
19976
+ INFO (0.0ms) evaluating switchability: arhp_test_3 vs. arhp_test_3 (I am 34850)
19977
+ SQL (0.9ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19978
+ SQL (0.1ms) SET NAMES 'utf8'
19979
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
19980
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. (I am 34850)
19981
+ SQL (0.1ms) select_db arhp_test_2
19982
+ SQL (10.0ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
19983
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19984
+ SQL (0.7ms) SHOW TABLES
19985
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19986
+ SQL (9.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
19987
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19988
+ SQL (0.4ms) SHOW KEYS FROM `schema_migrations`
19989
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19990
+ SQL (16.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
19991
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19992
+ SQL (0.4ms) SHOW TABLES
19993
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19994
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
19995
+ INFO (0.0ms) evaluating switchability: arhp_test_2 vs. arhp_test_2 (I am 34850)
19996
+ SQL (1.3ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
19997
+ SQL (0.2ms) SET NAMES 'utf8'
19998
+ SQL (0.2ms) SET SQL_AUTO_IS_NULL=0
19999
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. (I am 34850)
20000
+ SQL (0.2ms) select_db arhp_test_4
20001
+ SQL (11.5ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
20002
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
20003
+ SQL (0.5ms) SHOW TABLES
20004
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
20005
+ SQL (10.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
20006
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
20007
+ SQL (0.7ms) SHOW KEYS FROM `schema_migrations`
20008
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
20009
+ SQL (18.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
20010
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
20011
+ SQL (0.4ms) SHOW TABLES
20012
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
20013
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
20014
+ INFO (0.0ms) evaluating switchability: arhp_test_4 vs. arhp_test_4 (I am 34850)
20015
+ SQL (1.0ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
20016
+ SQL (0.1ms) SET NAMES 'utf8'
20017
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
20018
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
20019
+ SQL (0.1ms) select_db arhp_test_1
20020
+ SQL (8.8ms) CREATE TABLE `tests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `val` varchar(255)) ENGINE=InnoDB
20021
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20022
+ SQL (0.6ms) SHOW TABLES
20023
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20024
+ SQL (9.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
20025
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20026
+ SQL (0.5ms) SHOW KEYS FROM `schema_migrations`
20027
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20028
+ SQL (16.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
20029
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20030
+ SQL (0.4ms) SHOW TABLES
20031
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20032
+ SQL (0.3ms) SELECT version FROM `schema_migrations`
20033
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20034
+ SQL (1.3ms) INSERT INTO `schema_migrations` (version) VALUES ('1')
20035
+ SQL (0.1ms) SET NAMES 'utf8'
20036
+ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
20037
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. (I am 34850)
20038
+ SQL (0.1ms) select_db arhp_test_1
20039
+ ActiveSupport::TestCase::Test1 Load (0.5ms) SELECT * FROM `tests` LIMIT 1
20040
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20041
+ ActiveSupport::TestCase::Test1 Load (0.2ms) SELECT * FROM `tests` LIMIT 1
20042
+ INFO (0.0ms) evaluating switchability: arhp_test_1 vs. arhp_test_1 (I am 34850)
20043
+ SQL (0.6ms) select @@pseudo_thread_id
20044
+ SQL (0.1ms) KILL 9984
20045
+ SQL (1.0ms) select DATABASE()
20046
+ SQL (8.5ms) DROP DATABASE arhp_test_3
20047
+ SQL (8.3ms) DROP DATABASE arhp_test_2
20048
+ SQL (7.9ms) DROP DATABASE arhp_test_4
20049
+ SQL (8.1ms) DROP DATABASE arhp_test_1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_host_pool
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Osheroff
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-07 00:00:00 -07:00
18
+ date: 2011-08-08 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency