witch_doctor 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/dummy/log/test.log
CHANGED
@@ -1242,3 +1242,1247 @@ Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
|
1242
1242
|
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1243
1243
|
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1244
1244
|
[1m[35m (0.1ms)[0m rollback transaction
|
1245
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1246
|
+
Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
1247
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1248
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1249
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1250
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1251
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1252
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1253
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1254
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1255
|
+
Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
1256
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1257
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1258
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1259
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1260
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1261
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1264
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1265
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1266
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1267
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1268
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1269
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1270
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1272
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1273
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1274
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1275
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1276
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1277
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1278
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1279
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1280
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1281
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1282
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1283
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1284
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1285
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1286
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1287
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1288
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1289
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1290
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1291
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1292
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1293
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1294
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1295
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1296
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1297
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1298
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1299
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1300
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1301
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1302
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1304
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1305
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1306
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1307
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1308
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1309
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1311
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1312
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1313
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1314
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1315
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1316
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1317
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1318
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1320
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1321
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1322
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1323
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1324
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1325
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1328
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1329
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1330
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1331
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1332
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1333
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1334
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1336
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1337
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1338
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1339
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1340
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1341
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1342
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1344
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1345
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1346
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1347
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1348
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1349
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1350
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1351
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1352
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1353
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1354
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1355
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1356
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1357
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1358
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1360
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1361
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1362
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1363
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1364
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1365
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1368
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1369
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1370
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1371
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1372
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1373
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1374
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1375
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1376
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1377
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1378
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1379
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1380
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1381
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1382
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1383
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1384
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1385
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1386
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1387
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1388
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1389
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1390
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1391
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1392
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1393
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1394
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1395
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1396
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1397
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1398
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1399
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1400
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1401
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1402
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1403
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1404
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1405
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1406
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1408
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1409
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1410
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1411
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1412
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1413
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1414
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1416
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1417
|
+
[1m[36mSQL (6.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1418
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1419
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1420
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1421
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1422
|
+
[1m[35mVirusScan Load (0.5ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1423
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1424
|
+
Parameters: {"token"=>"999", "id"=>"1"}
|
1425
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1426
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1427
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1428
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1429
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1430
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1431
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1432
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1433
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1434
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1435
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1436
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1437
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1438
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1439
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1440
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1441
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1442
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1443
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Clean"}, "id"=>"1"}
|
1444
|
+
[1m[36mWitchDoctor::VirusScan Load (0.2ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1446
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "virus_scans" SET "scan_result" = ?, "updated_at" = ?, "scanned_at" = ? WHERE "virus_scans"."id" = 1[0m [["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["scanned_at", Mon, 07 Mar 2016 00:00:00 UTC +00:00]]
|
1447
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1448
|
+
[1m[36mWitchDoctor::VirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1449
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
1450
|
+
Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
1451
|
+
[1m[36mVirusScan Load (0.3ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1452
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1453
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1454
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1455
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1456
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1457
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1458
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1459
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1460
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1461
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1462
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1463
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1464
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1465
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1466
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1467
|
+
Processing by WitchDoctor::VirusScansController#update as HTML
|
1468
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Clean"}, "id"=>"1"}
|
1469
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1470
|
+
[1m[36mVirusScan Load (0.4ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1471
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1472
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1473
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1474
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1475
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1476
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1477
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1479
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1480
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1481
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1482
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1483
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:24 UTC +00:00]]
|
1484
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1485
|
+
[1m[35mVirusScan Load (0.2ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1486
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1487
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Wazaaap"}, "id"=>"1"}
|
1488
|
+
[1m[36mWitchDoctor::VirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1489
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1490
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1491
|
+
Completed 400 Bad Request in 8ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1492
|
+
[1m[35mVirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1493
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
1494
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1495
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
1496
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
1497
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1498
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
1499
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1501
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1502
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1505
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1507
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1508
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1509
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{}, "id"=>"1"}
|
1510
|
+
[1m[35mWitchDoctor::VirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1 [["id", "1"]]
|
1511
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1512
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1513
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1514
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1515
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1516
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1517
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1518
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1519
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1520
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1521
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1522
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1523
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1524
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1525
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1526
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1527
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1528
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1529
|
+
Parameters: {"id"=>"1"}
|
1530
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1531
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1532
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1533
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1534
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1535
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1536
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1537
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1538
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1539
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1540
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1541
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1542
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1543
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1544
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1545
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1547
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1550
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1552
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
1553
|
+
Parameters: {"token"=>999}
|
1554
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1555
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1556
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1557
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1558
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1559
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1560
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1561
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1562
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1563
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1564
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1565
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1566
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1567
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1569
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1570
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1571
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1572
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1573
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1574
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1575
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1576
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1577
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1579
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1580
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1581
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
1582
|
+
Parameters: {"token"=>"1234"}
|
1583
|
+
[1m[35mWitchDoctor::VirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL LIMIT 10
|
1584
|
+
[1m[36mDocument Load (0.0ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 1]]
|
1585
|
+
[1m[35mDocument Load (0.0ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 3]]
|
1586
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1587
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
1588
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1589
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
1590
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
1591
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1592
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
1593
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1594
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1595
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1596
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1597
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1598
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1599
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1600
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1601
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1602
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1603
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1604
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1605
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1608
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1609
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1610
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1611
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1612
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1613
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
1614
|
+
[1m[36mWitchDoctor::VirusScan Load (0.2ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL LIMIT 10[0m
|
1615
|
+
[1m[35mDocument Load (0.0ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
1616
|
+
[1m[36mDocument Load (0.0ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 3]]
|
1617
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1618
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1619
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1620
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1621
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1622
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1623
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1624
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1625
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1626
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1627
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1628
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1630
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1631
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1633
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1634
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1635
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1636
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1637
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1638
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1639
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1640
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1641
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1642
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1643
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1644
|
+
Processing by WitchDoctor::VirusScansController#index as HTML
|
1645
|
+
Parameters: {"token"=>"1234"}
|
1646
|
+
Completed 406 Not Acceptable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1647
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1648
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1649
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1650
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1651
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1652
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1653
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1655
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1656
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1657
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1659
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1660
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1661
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1662
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1663
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1664
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1665
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1666
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1671
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1673
|
+
Processing by WitchDoctor::VirusScansController#index as HTML
|
1674
|
+
Parameters: {"token"=>"1234"}
|
1675
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1676
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1677
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1678
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1679
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1680
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1681
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1682
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1684
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1685
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1686
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1687
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1688
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1689
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1690
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1691
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1692
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1693
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1694
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1695
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1696
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
1697
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1698
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1699
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1700
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1701
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1702
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1703
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1704
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1705
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1706
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1707
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1708
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1709
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1710
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1711
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1712
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1714
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1715
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1716
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1717
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1718
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1719
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1720
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1722
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1723
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1724
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1725
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1726
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1727
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1728
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1729
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1730
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1731
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1732
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1733
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1734
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1735
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1736
|
+
[1m[35mVirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL
|
1737
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL[0m
|
1738
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1739
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1740
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1741
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1742
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1743
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1744
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1745
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1746
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1747
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1748
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1750
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1751
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1752
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1753
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1754
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1755
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1756
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1757
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1758
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1759
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1760
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1761
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1762
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "virus_scans"
|
1763
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1764
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 1]]
|
1765
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."resource_id" = ? AND "virus_scans"."resource_type" = ? AND "virus_scans"."mount_point" = 'attachment'[0m [["resource_id", 1], ["resource_type", "Document"]]
|
1766
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "virus_scans" WHERE "virus_scans"."id" = ? [["id", 1]]
|
1767
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1768
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "virus_scans"
|
1769
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "documents";[0m
|
1770
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1771
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
1772
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
1773
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1774
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
1775
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1776
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1778
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1779
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1780
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1781
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1782
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1783
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1784
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1785
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "virus_scans" SET "scan_result" = ?, "updated_at" = ?, "scanned_at" = ? WHERE "virus_scans"."id" = 2[0m [["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["scanned_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1786
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1787
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
1788
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1789
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
1790
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
1791
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1792
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
1793
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1796
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1797
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1798
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1799
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1800
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:01:25 UTC +00:00]]
|
1801
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1802
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1803
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1804
|
+
[1m[35m (0.0ms)[0m DELETE FROM "documents";
|
1805
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1806
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1807
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1808
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1809
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1810
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1812
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1813
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1814
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1815
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1816
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1817
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1818
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1820
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1821
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1822
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1823
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1824
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1825
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1826
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1828
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1829
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1830
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1831
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1832
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1833
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1834
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1836
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1837
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1838
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1839
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1840
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1841
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1842
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1844
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1845
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1846
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1847
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1848
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1849
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1850
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1852
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1853
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1854
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1855
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1856
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1857
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1858
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1859
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1860
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
1861
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1862
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1863
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1864
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1865
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1866
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1867
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1868
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1869
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1870
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1871
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1872
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1873
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1874
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1875
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1876
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1877
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1878
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1879
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1880
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1881
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1882
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1884
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
1885
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1886
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1887
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1888
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1889
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1890
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1892
|
+
[1m[35m (0.4ms)[0m DELETE FROM "documents";
|
1893
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1894
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1895
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1896
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1897
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1898
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1900
|
+
[1m[35m (0.5ms)[0m DELETE FROM "documents";
|
1901
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1902
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1903
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1904
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1905
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1906
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1907
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1908
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
1909
|
+
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1910
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1911
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1912
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1913
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1914
|
+
[1m[35mVirusScan Load (0.2ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1915
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1916
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Clean"}, "id"=>"1"}
|
1917
|
+
[1m[36mWitchDoctor::VirusScan Load (0.2ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1918
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1919
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "virus_scans" SET "scan_result" = ?, "updated_at" = ?, "scanned_at" = ? WHERE "virus_scans"."id" = 1[0m [["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["scanned_at", Mon, 07 Mar 2016 00:00:00 UTC +00:00]]
|
1920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1921
|
+
[1m[36mWitchDoctor::VirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1922
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
1923
|
+
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
1924
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1925
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1926
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1927
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1928
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1929
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1930
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1931
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1933
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1934
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1935
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1937
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1938
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1939
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1940
|
+
Processing by WitchDoctor::VirusScansController#update as HTML
|
1941
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Clean"}, "id"=>"1"}
|
1942
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1943
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1944
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1945
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1946
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1947
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1948
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1949
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1950
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1952
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1953
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1954
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1955
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1956
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1957
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1958
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1959
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1960
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Wazaaap"}, "id"=>"1"}
|
1961
|
+
[1m[36mWitchDoctor::VirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1962
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1963
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1964
|
+
Completed 400 Bad Request in 10ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1965
|
+
[1m[35mVirusScan Load (0.4ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
1966
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
1967
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1968
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
1969
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
1970
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1971
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
1972
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1973
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1974
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1975
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1976
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1977
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1978
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1979
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1980
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1981
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
1982
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{}, "id"=>"1"}
|
1983
|
+
[1m[35mWitchDoctor::VirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1 [["id", "1"]]
|
1984
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1985
|
+
[1m[36mVirusScan Load (0.5ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
1986
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
1987
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1988
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
1989
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
1990
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1991
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
1992
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1994
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1995
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1996
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1997
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1998
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
1999
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2000
|
+
[1m[35mVirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
2001
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
2002
|
+
Parameters: {"id"=>"1"}
|
2003
|
+
Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2004
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
2005
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
2006
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2007
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2008
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2009
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2010
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2011
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2012
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2013
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2014
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2015
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2016
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2017
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2018
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2019
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
2020
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
2021
|
+
Parameters: {"token"=>"999", "id"=>"1"}
|
2022
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2023
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
2024
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
2025
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2026
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2027
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2028
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2029
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2032
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2033
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2034
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2036
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2037
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2038
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2039
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2040
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2041
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2042
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2043
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2044
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
2045
|
+
Parameters: {"token"=>999}
|
2046
|
+
Completed 403 Forbidden in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2047
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
2048
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2049
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2050
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2051
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2052
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2053
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2054
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2055
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2056
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2057
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2058
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2059
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2060
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2061
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2063
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2066
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2068
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2069
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2071
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2072
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2073
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
2074
|
+
Parameters: {"token"=>"1234"}
|
2075
|
+
[1m[35mWitchDoctor::VirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL LIMIT 10
|
2076
|
+
[1m[36mDocument Load (0.0ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 1]]
|
2077
|
+
[1m[35mDocument Load (0.0ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 3]]
|
2078
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
2079
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
2080
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2081
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
2082
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
2083
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2084
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
2085
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2086
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2087
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2088
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2089
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2091
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2092
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2093
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2094
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2095
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2096
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2097
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2098
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2099
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2100
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2101
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2103
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2104
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2105
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
2106
|
+
[1m[36mWitchDoctor::VirusScan Load (0.2ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL LIMIT 10[0m
|
2107
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
2108
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 3]]
|
2109
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2110
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
2111
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2112
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2113
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2114
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2115
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2116
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2119
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2121
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2122
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2123
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2124
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2125
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2126
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2127
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2128
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2131
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2132
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2133
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2134
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:44 UTC +00:00]]
|
2135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2136
|
+
Processing by WitchDoctor::VirusScansController#index as HTML
|
2137
|
+
Parameters: {"token"=>"1234"}
|
2138
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2139
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
2140
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2141
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2142
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2143
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2144
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2145
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2147
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2148
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2149
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2150
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2151
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2152
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2153
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2154
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2156
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2157
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2158
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2159
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2160
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2161
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2163
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2164
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2165
|
+
Processing by WitchDoctor::VirusScansController#index as HTML
|
2166
|
+
Parameters: {"token"=>"1234"}
|
2167
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2168
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
2169
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2170
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2171
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2172
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2173
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2174
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2177
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2179
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2180
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2181
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2182
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2183
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2184
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2186
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2187
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2188
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
2189
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2190
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
2191
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2192
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2193
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2194
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2195
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2196
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2198
|
+
Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
2199
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
2200
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2201
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2202
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2203
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2204
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2205
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2207
|
+
Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
2208
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2209
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2210
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2211
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2212
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2213
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2216
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2217
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2218
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2219
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2220
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2221
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2222
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2223
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2224
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2225
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
2226
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2227
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
2228
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
2229
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2230
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
2231
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2232
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2233
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2234
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2235
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2236
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2237
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2238
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2239
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2240
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2241
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "virus_scans" SET "scan_result" = ?, "updated_at" = ?, "scanned_at" = ? WHERE "virus_scans"."id" = 2[0m [["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["scanned_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2242
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2243
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
2244
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2245
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
2246
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
2247
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2248
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
2249
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2250
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2252
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2253
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2254
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2255
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "documents";[0m
|
2256
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2257
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
2258
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
2259
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2260
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
2261
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2263
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "documents";[0m
|
2264
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2265
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
2266
|
+
[1m[35m (0.1ms)[0m DELETE FROM "virus_scans";
|
2267
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2268
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
2269
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2270
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2271
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "documents";[0m
|
2272
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2273
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
2274
|
+
[1m[35m (0.1ms)[0m DELETE FROM "virus_scans";
|
2275
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2276
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
2277
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2279
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2280
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2281
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2282
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2283
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2284
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2285
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2286
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2288
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2290
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2291
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2292
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2293
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL[0m
|
2294
|
+
[1m[35mVirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL
|
2295
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "documents";[0m
|
2296
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2297
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
2298
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
2299
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2300
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
2301
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2302
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2303
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2304
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2305
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Mon, 07 Mar 2016 11:55:45 UTC +00:00]]
|
2306
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2307
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "virus_scans"[0m
|
2308
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2309
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "documents" WHERE "documents"."id" = ?[0m [["id", 1]]
|
2310
|
+
[1m[35mVirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."resource_id" = ? AND "virus_scans"."resource_type" = ? AND "virus_scans"."mount_point" = 'attachment' [["resource_id", 1], ["resource_type", "Document"]]
|
2311
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "virus_scans" WHERE "virus_scans"."id" = ?[0m [["id", 1]]
|
2312
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2313
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "virus_scans"[0m
|
2314
|
+
[1m[35m (0.0ms)[0m DELETE FROM "documents";
|
2315
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2316
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2317
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2318
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2319
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2322
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2323
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2324
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2325
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2326
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2327
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2328
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2329
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2330
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2331
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2332
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2333
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2334
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2335
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2336
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2338
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2339
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2340
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2341
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2342
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2343
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2344
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2346
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2347
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2348
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2349
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2350
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2351
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2354
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2355
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2356
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2357
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2358
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2359
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2360
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2361
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2362
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2363
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2364
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2365
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2366
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2367
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2368
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2370
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2371
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2372
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2373
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2374
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2375
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2376
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2378
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2379
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2380
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2381
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2382
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2383
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2384
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2385
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2386
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2387
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2388
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2389
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2390
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2391
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2394
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2395
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2396
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2397
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2398
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2399
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2400
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2402
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2403
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2404
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2405
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2406
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2407
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2409
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2410
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2411
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2412
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2413
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2414
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2415
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2416
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2417
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2418
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2419
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2420
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2421
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2422
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2423
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2424
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2426
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2427
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2428
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2429
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2430
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2431
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2432
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2434
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
2435
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2436
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2437
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2438
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2439
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2441
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2442
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2443
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2444
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2445
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2446
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2447
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2450
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2451
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2452
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2453
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2454
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2455
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2456
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2457
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2458
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2459
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2460
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2461
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2462
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2463
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2464
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2465
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2466
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2467
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2468
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2469
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2470
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2471
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2472
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2473
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2474
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2475
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2476
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2477
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2478
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2479
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2480
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2482
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
2483
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2484
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
2485
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
2486
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
2487
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
2488
|
+
[1m[35m (0.1ms)[0m rollback transaction
|