acts_as_nested_interval 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +15 -6
- data/lib/acts_as_nested_interval/class_methods.rb +35 -0
- data/lib/acts_as_nested_interval/instance_methods.rb +220 -0
- data/lib/acts_as_nested_interval/version.rb +1 -1
- data/lib/acts_as_nested_interval.rb +43 -282
- data/test/dummy/log/test.log +2820 -0
- metadata +8 -6
data/test/dummy/log/test.log
CHANGED
@@ -41045,3 +41045,2823 @@ SQLite3::BusyException: cannot rollback transaction - SQL statements in progress
|
|
41045
41045
|
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
41046
41046
|
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC[0m
|
41047
41047
|
[1m[35m (0.1ms)[0m rollback transaction
|
41048
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
41049
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
41050
|
+
[1m[36mSQL (91.6ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41051
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
41052
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41053
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41054
|
+
[1m[36mRegion Load (0.4ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41055
|
+
[1m[35mSQL (18.8ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41056
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41057
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41058
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41059
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41060
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41061
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41062
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41063
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41064
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41066
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41067
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL)
|
41068
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 1 AND lftp = 0)[0m
|
41069
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
41070
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)[0m
|
41071
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
41072
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41073
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41074
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41075
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41076
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
41077
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 LIMIT 1
|
41078
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41079
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41080
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41081
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41082
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41085
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41086
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41087
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41088
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41089
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41090
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41091
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41093
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41094
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41095
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL
|
41096
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41099
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41101
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41102
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41103
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41104
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41105
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41106
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41107
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41108
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41109
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41110
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41111
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41112
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41113
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41114
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41115
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41116
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41118
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41119
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41120
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41121
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41122
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41123
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41124
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41127
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41128
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41129
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41132
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41133
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41134
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41136
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41137
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41139
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41140
|
+
[1m[36m (2.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41142
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41143
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41146
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41147
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41148
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41149
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41151
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41152
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41153
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41154
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41156
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
41157
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
41158
|
+
)[0m
|
41159
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
41160
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
41161
|
+
)
|
41162
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 2 < "regions".lftp AND
|
41163
|
+
"regions".lft BETWEEN 0.6666666666666666 AND 1.0
|
41164
|
+
)[0m
|
41165
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 3 < "regions".lftp AND
|
41166
|
+
"regions".lft BETWEEN 0.6 AND 0.6666666666666666
|
41167
|
+
)
|
41168
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41170
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41171
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41174
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41175
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41176
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41178
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41179
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41180
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41181
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41184
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41185
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41186
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41187
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41189
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2
|
41190
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3[0m
|
41191
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
41192
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "regions" WHERE "regions"."id" = ?[0m [["id", 3]]
|
41193
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4
|
41194
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 4]]
|
41195
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 4]]
|
41196
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41197
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 2]]
|
41198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41199
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
41200
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
41201
|
+
)
|
41202
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41203
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41204
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41205
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", ""], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41206
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41208
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41209
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41210
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", ""], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41211
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41213
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41214
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41215
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", ""], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41216
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41217
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41218
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
41219
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1
|
41220
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.4], ["lftp", 2], ["lftq", 5], ["name", ""], ["region_id", 3], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41222
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41223
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
41224
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1[0m
|
41225
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.375], ["lftp", 3], ["lftq", 8], ["name", ""], ["region_id", 3], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
41226
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41227
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41228
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
41229
|
+
[1m[35mRegion Load (1.6ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
41230
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38461538461538464], ["lftp", 5], ["lftq", 13], ["name", ""], ["region_id", 5], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
41231
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41232
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41233
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 5]]
|
41234
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1[0m
|
41235
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38095238095238093], ["lftp", 8], ["lftq", 21], ["name", ""], ["region_id", 5], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
41236
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41237
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41238
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 7]]
|
41239
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1
|
41240
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38235294117647056], ["lftp", 13], ["lftq", 34], ["name", ""], ["region_id", 7], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
41241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41242
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41243
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 7]]
|
41244
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1[0m
|
41245
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38181818181818183], ["lftp", 21], ["lftq", 55], ["name", ""], ["region_id", 7], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
41246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41248
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 9]]
|
41249
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1
|
41250
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38202247191011235], ["lftp", 34], ["lftq", 89], ["name", ""], ["region_id", 9], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
41251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41253
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 9]]
|
41254
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1[0m
|
41255
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819444444444444], ["lftp", 55], ["lftq", 144], ["name", ""], ["region_id", 9], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
41256
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41258
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 11]]
|
41259
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1
|
41260
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38197424892703863], ["lftp", 89], ["lftq", 233], ["name", ""], ["region_id", 11], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
41261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41263
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 11]]
|
41264
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1[0m
|
41265
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819628647214854], ["lftp", 144], ["lftq", 377], ["name", ""], ["region_id", 11], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
41266
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41267
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41268
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 13]]
|
41269
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1
|
41270
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819672131147541], ["lftp", 233], ["lftq", 610], ["name", ""], ["region_id", 13], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
41271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41273
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 13]]
|
41274
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1[0m
|
41275
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819655521783181], ["lftp", 377], ["lftq", 987], ["name", ""], ["region_id", 13], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
41276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41278
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 15]]
|
41279
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1
|
41280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196618659987475], ["lftp", 610], ["lftq", 1597], ["name", ""], ["region_id", 15], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
41281
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41283
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 15]]
|
41284
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1[0m
|
41285
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196594427244585], ["lftp", 987], ["lftq", 2584], ["name", ""], ["region_id", 15], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
41286
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41287
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41288
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 17]]
|
41289
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1
|
41290
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196603683329344], ["lftp", 1597], ["lftq", 4181], ["name", ""], ["region_id", 17], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
41291
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41293
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 17]]
|
41294
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1[0m
|
41295
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660014781966], ["lftp", 2584], ["lftq", 6765], ["name", ""], ["region_id", 17], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
41296
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41297
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41298
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 19]]
|
41299
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1
|
41300
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601498264204], ["lftp", 4181], ["lftq", 10946], ["name", ""], ["region_id", 19], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
41301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41303
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 19]]
|
41304
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1[0m
|
41305
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196600982440293], ["lftp", 6765], ["lftq", 17711], ["name", ""], ["region_id", 19], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
41306
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41307
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41308
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 21]]
|
41309
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1
|
41310
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601179467493], ["lftp", 10946], ["lftq", 28657], ["name", ""], ["region_id", 21], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
41311
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41312
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41313
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 21]]
|
41314
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1[0m
|
41315
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.381966011042098], ["lftp", 17711], ["lftq", 46368], ["name", ""], ["region_id", 21], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
41316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41318
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 23]]
|
41319
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1
|
41320
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660113295568], ["lftp", 28657], ["lftq", 75025], ["name", ""], ["region_id", 23], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
41321
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41323
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 23]]
|
41324
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1[0m
|
41325
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112197573], ["lftp", 46368], ["lftq", 121393], ["name", ""], ["region_id", 23], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
41326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41327
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41328
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 25]]
|
41329
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1
|
41330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.381966011261697], ["lftp", 75025], ["lftq", 196418], ["name", ""], ["region_id", 25], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
41331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41333
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 25]]
|
41334
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1[0m
|
41335
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112456775], ["lftp", 121393], ["lftq", 317811], ["name", ""], ["region_id", 25], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
41336
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41337
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41338
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 27]]
|
41339
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1
|
41340
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125179636], ["lftp", 196418], ["lftq", 514229], ["name", ""], ["region_id", 27], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
41341
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41342
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41343
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 27]]
|
41344
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1[0m
|
41345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601124945917], ["lftp", 317811], ["lftq", 832040], ["name", ""], ["region_id", 27], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
41346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41347
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41348
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 29]]
|
41349
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1
|
41350
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112503519], ["lftp", 514229], ["lftq", 1346269], ["name", ""], ["region_id", 29], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
41351
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41352
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41353
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 29]]
|
41354
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1[0m
|
41355
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500109], ["lftp", 832040], ["lftq", 2178309], ["name", ""], ["region_id", 29], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
41356
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41358
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 31]]
|
41359
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1
|
41360
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501411], ["lftp", 1346269], ["lftq", 3524578], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
41361
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41362
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41363
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 31]]
|
41364
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1[0m
|
41365
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500914], ["lftp", 2178309], ["lftq", 5702887], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
41366
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41367
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41368
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 33]]
|
41369
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1
|
41370
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501104], ["lftp", 3524578], ["lftq", 9227465], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
41371
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41372
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41373
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 33]]
|
41374
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1[0m
|
41375
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010315], ["lftp", 5702887], ["lftq", 14930352], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
41376
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41377
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41378
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 35]]
|
41379
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1
|
41380
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010593], ["lftp", 9227465], ["lftq", 24157817], ["name", ""], ["region_id", 35], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
41381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41382
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41383
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 35]]
|
41384
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1[0m
|
41385
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501049], ["lftp", 14930352], ["lftq", 39088169], ["name", ""], ["region_id", 35], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
41386
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41388
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 37]]
|
41389
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1
|
41390
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010526], ["lftp", 24157817], ["lftq", 63245986], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
41391
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41392
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41393
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 37]]
|
41394
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1[0m
|
41395
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501051], ["lftp", 39088169], ["lftq", 102334155], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
41396
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41398
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 39]]
|
41399
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1
|
41400
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 63245986], ["lftq", 165580141], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
41401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41403
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 39]]
|
41404
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1[0m
|
41405
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 102334155], ["lftq", 267914296], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
41406
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41407
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41408
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 41]]
|
41409
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1
|
41410
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 165580141], ["lftq", 433494437], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
41411
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41412
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41413
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 41]]
|
41414
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1[0m
|
41415
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 267914296], ["lftq", 701408733], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
41416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41417
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41418
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 43]]
|
41419
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1
|
41420
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 433494437], ["lftq", 1134903170], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
41421
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41423
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 43]]
|
41424
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1[0m
|
41425
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 701408733], ["lftq", 1836311903], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 433494437], ["rgtq", 1134903170]]
|
41426
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41427
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41429
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41431
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41432
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41433
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41434
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41435
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41436
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41437
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41438
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41440
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41441
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41442
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41443
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41445
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41446
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41447
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41448
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41450
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41451
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41452
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
41453
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41454
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41455
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
41456
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
41457
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
41458
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41459
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41460
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Pacific"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41461
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41462
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
41463
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41464
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
41465
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
41466
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
41467
|
+
rgtp = 0 * rgtp + 1 * rgtq,
|
41468
|
+
rgtq = -1 * rgtp + 3 * rgtq
|
41469
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
41470
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
41471
|
+
)[0m
|
41472
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET rgt = 1.0 * rgtp / rgtq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
41473
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
41474
|
+
)
|
41475
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
41476
|
+
lftp = 0 * lftp + 1 * lftq,
|
41477
|
+
lftq = -1 * lftp + 3 * lftq
|
41478
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
41479
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
41480
|
+
)[0m
|
41481
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET lft = 1.0 * lftp / lftq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
41482
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
41483
|
+
)
|
41484
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "region_id" = 5, "lftp" = 2, "lftq" = 5, "rgtq" = 2, "lft" = 0.4, "rgt" = 0.5 WHERE "regions"."id" = 2[0m
|
41485
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41486
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
41487
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 4]]
|
41488
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
41489
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41490
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41491
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41492
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41493
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41494
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41495
|
+
[1m[35mRegion Load (15.5ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41496
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41497
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41499
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41500
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41501
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Antarctica"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41502
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41503
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41504
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41505
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41506
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41507
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41508
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41509
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41510
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41511
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41512
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41513
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
41514
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41517
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
41518
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41519
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41520
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41521
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41522
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41523
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41524
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41525
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41526
|
+
[1m[36mRegion Load (0.7ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
41527
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41528
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41530
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
41531
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
41532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41533
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET "lftp" = 0, "lftq" = 0, "rgtp" = 0, "rgtq" = 0, "lft" = 0, "rgt" = 0 WHERE ("regions".lftq > 0)
|
41534
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
41535
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
41536
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41537
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 2, "rgtp" = 1, "rgtq" = 1, "lft" = 0.5, "rgt" = 1.0 WHERE "regions"."id" = 1
|
41538
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41539
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
41540
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 AND ("regions".lftq > 0) LIMIT 1[0m
|
41541
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41542
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
41543
|
+
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
41544
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 2, "lftq" = 3, "rgtp" = 1, "rgtq" = 1, "lft" = 0.6666666666666666, "rgt" = 1.0 WHERE "regions"."id" = 2[0m
|
41545
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41546
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
41547
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
41548
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41549
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 3, "rgtp" = 1, "rgtq" = 2, "lft" = 0.3333333333333333, "rgt" = 0.5 WHERE "regions"."id" = 3
|
41550
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41551
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
41552
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
41553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41554
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 1, "lftq" = 4, "rgtp" = 1, "rgtq" = 3, "lft" = 0.25, "rgt" = 0.3333333333333333 WHERE "regions"."id" = 4[0m
|
41555
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41556
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
41557
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
41558
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
41559
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41560
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41561
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
41562
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41565
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41566
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41567
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41568
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41569
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41570
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
41571
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", true], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Krypton"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41573
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
41574
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND ( 1 < "regions".lftp AND
|
41575
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
41576
|
+
)[0m
|
41577
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41579
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41580
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
41581
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41582
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41583
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41584
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41585
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41586
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41589
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
41590
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41591
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41592
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41593
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
41594
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
41595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41596
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC[0m
|
41597
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
41598
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41599
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41600
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
41601
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "1"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41602
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41604
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
41605
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "2"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41606
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41607
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41608
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
41609
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "3"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
41610
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41611
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
41612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41613
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41614
|
+
[1m[36mSQL (12.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41615
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41617
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41618
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41619
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41620
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41622
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41623
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41624
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41627
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41628
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41629
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41630
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41631
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL)
|
41632
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 1 AND lftp = 0)[0m
|
41633
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
41634
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)[0m
|
41635
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
41636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41637
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41638
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41640
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41641
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 LIMIT 1
|
41642
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41643
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41644
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41646
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41647
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41648
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41649
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41650
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41651
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41652
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41654
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41656
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41657
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41658
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41659
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL
|
41660
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
41661
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41663
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41664
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41665
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41666
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41667
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41671
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41672
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41673
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41674
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41676
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41677
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41678
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41679
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41680
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41681
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41682
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41683
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41684
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41685
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41686
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41687
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41688
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41690
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41691
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41692
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41693
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41694
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41695
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41696
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41697
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41698
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41699
|
+
[1m[35m (1.8ms)[0m RELEASE SAVEPOINT active_record_1
|
41700
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
41701
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41703
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41705
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41706
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41707
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41708
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41710
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41711
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41712
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41713
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41714
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41715
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41716
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41717
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41719
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41720
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
41721
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
41722
|
+
)[0m
|
41723
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
41724
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
41725
|
+
)
|
41726
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 2 < "regions".lftp AND
|
41727
|
+
"regions".lft BETWEEN 0.6666666666666666 AND 1.0
|
41728
|
+
)[0m
|
41729
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 3 < "regions".lftp AND
|
41730
|
+
"regions".lft BETWEEN 0.6 AND 0.6666666666666666
|
41731
|
+
)
|
41732
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41733
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41735
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41737
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41738
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41739
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41740
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41743
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
41744
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
41745
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41746
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41747
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41748
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41749
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
41750
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
41751
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41752
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41753
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2
|
41754
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3[0m
|
41755
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
41756
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "regions" WHERE "regions"."id" = ?[0m [["id", 3]]
|
41757
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4
|
41758
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 4]]
|
41759
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 4]]
|
41760
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
41761
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 2]]
|
41762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41763
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
41764
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
41765
|
+
)
|
41766
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41769
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", ""], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41770
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41771
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41772
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
41773
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
41774
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", ""], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41775
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41776
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41777
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
41778
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
41779
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", ""], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41780
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41782
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
41783
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1
|
41784
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.4], ["lftp", 2], ["lftq", 5], ["name", ""], ["region_id", 3], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
41785
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41786
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41787
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
41788
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1[0m
|
41789
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.375], ["lftp", 3], ["lftq", 8], ["name", ""], ["region_id", 3], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
41790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41792
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
41793
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
41794
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38461538461538464], ["lftp", 5], ["lftq", 13], ["name", ""], ["region_id", 5], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
41795
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41796
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41797
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 5]]
|
41798
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1[0m
|
41799
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38095238095238093], ["lftp", 8], ["lftq", 21], ["name", ""], ["region_id", 5], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
41800
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41801
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41802
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 7]]
|
41803
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1
|
41804
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38235294117647056], ["lftp", 13], ["lftq", 34], ["name", ""], ["region_id", 7], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
41805
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41806
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41807
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 7]]
|
41808
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1[0m
|
41809
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38181818181818183], ["lftp", 21], ["lftq", 55], ["name", ""], ["region_id", 7], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
41810
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41811
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41812
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 9]]
|
41813
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1
|
41814
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38202247191011235], ["lftp", 34], ["lftq", 89], ["name", ""], ["region_id", 9], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
41815
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41817
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 9]]
|
41818
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1[0m
|
41819
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819444444444444], ["lftp", 55], ["lftq", 144], ["name", ""], ["region_id", 9], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
41820
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41821
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41822
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 11]]
|
41823
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1
|
41824
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38197424892703863], ["lftp", 89], ["lftq", 233], ["name", ""], ["region_id", 11], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
41825
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41826
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41827
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 11]]
|
41828
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1[0m
|
41829
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819628647214854], ["lftp", 144], ["lftq", 377], ["name", ""], ["region_id", 11], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
41830
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41831
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41832
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 13]]
|
41833
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1
|
41834
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819672131147541], ["lftp", 233], ["lftq", 610], ["name", ""], ["region_id", 13], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
41835
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41836
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41837
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 13]]
|
41838
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1[0m
|
41839
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819655521783181], ["lftp", 377], ["lftq", 987], ["name", ""], ["region_id", 13], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
41840
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41842
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 15]]
|
41843
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1
|
41844
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196618659987475], ["lftp", 610], ["lftq", 1597], ["name", ""], ["region_id", 15], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
41845
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41846
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41847
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 15]]
|
41848
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1[0m
|
41849
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196594427244585], ["lftp", 987], ["lftq", 2584], ["name", ""], ["region_id", 15], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
41850
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41851
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41852
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 17]]
|
41853
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1
|
41854
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196603683329344], ["lftp", 1597], ["lftq", 4181], ["name", ""], ["region_id", 17], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
41855
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41856
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41857
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 17]]
|
41858
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1[0m
|
41859
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660014781966], ["lftp", 2584], ["lftq", 6765], ["name", ""], ["region_id", 17], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
41860
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41861
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41862
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 19]]
|
41863
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1
|
41864
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601498264204], ["lftp", 4181], ["lftq", 10946], ["name", ""], ["region_id", 19], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
41865
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41866
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41867
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 19]]
|
41868
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1[0m
|
41869
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196600982440293], ["lftp", 6765], ["lftq", 17711], ["name", ""], ["region_id", 19], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
41870
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41872
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 21]]
|
41873
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1
|
41874
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601179467493], ["lftp", 10946], ["lftq", 28657], ["name", ""], ["region_id", 21], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
41875
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41877
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 21]]
|
41878
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1[0m
|
41879
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.381966011042098], ["lftp", 17711], ["lftq", 46368], ["name", ""], ["region_id", 21], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
41880
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41881
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41882
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 23]]
|
41883
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1
|
41884
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660113295568], ["lftp", 28657], ["lftq", 75025], ["name", ""], ["region_id", 23], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
41885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41886
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41887
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 23]]
|
41888
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1[0m
|
41889
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112197573], ["lftp", 46368], ["lftq", 121393], ["name", ""], ["region_id", 23], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
41890
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41892
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 25]]
|
41893
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1
|
41894
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.381966011261697], ["lftp", 75025], ["lftq", 196418], ["name", ""], ["region_id", 25], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
41895
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41896
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41897
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 25]]
|
41898
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1[0m
|
41899
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112456775], ["lftp", 121393], ["lftq", 317811], ["name", ""], ["region_id", 25], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
41900
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41901
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41902
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 27]]
|
41903
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1
|
41904
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125179636], ["lftp", 196418], ["lftq", 514229], ["name", ""], ["region_id", 27], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
41905
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41906
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41907
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 27]]
|
41908
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1[0m
|
41909
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601124945917], ["lftp", 317811], ["lftq", 832040], ["name", ""], ["region_id", 27], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
41910
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41912
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 29]]
|
41913
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1
|
41914
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112503519], ["lftp", 514229], ["lftq", 1346269], ["name", ""], ["region_id", 29], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
41915
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41916
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41917
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 29]]
|
41918
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1[0m
|
41919
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500109], ["lftp", 832040], ["lftq", 2178309], ["name", ""], ["region_id", 29], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
41920
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41921
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41922
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 31]]
|
41923
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1
|
41924
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501411], ["lftp", 1346269], ["lftq", 3524578], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
41925
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41926
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41927
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 31]]
|
41928
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1[0m
|
41929
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500914], ["lftp", 2178309], ["lftq", 5702887], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
41930
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41931
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41932
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 33]]
|
41933
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1
|
41934
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501104], ["lftp", 3524578], ["lftq", 9227465], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
41935
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41937
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 33]]
|
41938
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1[0m
|
41939
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010315], ["lftp", 5702887], ["lftq", 14930352], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
41940
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41942
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 35]]
|
41943
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1
|
41944
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010593], ["lftp", 9227465], ["lftq", 24157817], ["name", ""], ["region_id", 35], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
41945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41946
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41947
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 35]]
|
41948
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1[0m
|
41949
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501049], ["lftp", 14930352], ["lftq", 39088169], ["name", ""], ["region_id", 35], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
41950
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41951
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41952
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 37]]
|
41953
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1
|
41954
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010526], ["lftp", 24157817], ["lftq", 63245986], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
41955
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41956
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41957
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 37]]
|
41958
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1[0m
|
41959
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501051], ["lftp", 39088169], ["lftq", 102334155], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
41960
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41962
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 39]]
|
41963
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1
|
41964
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 63245986], ["lftq", 165580141], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
41965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41966
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41967
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 39]]
|
41968
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1[0m
|
41969
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 102334155], ["lftq", 267914296], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
41970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41972
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 41]]
|
41973
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1
|
41974
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 165580141], ["lftq", 433494437], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
41975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41977
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 41]]
|
41978
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1[0m
|
41979
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 267914296], ["lftq", 701408733], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
41980
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41981
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41982
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 43]]
|
41983
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1
|
41984
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 433494437], ["lftq", 1134903170], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
41985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41986
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41987
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 43]]
|
41988
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1[0m
|
41989
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 701408733], ["lftq", 1836311903], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 433494437], ["rgtq", 1134903170]]
|
41990
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41991
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
41992
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41993
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41996
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
41997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41999
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42000
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42001
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42002
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42003
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42004
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42005
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42006
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42009
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42010
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42011
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42012
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42013
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42014
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42015
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42016
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
42017
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42018
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42019
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
42020
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
42021
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42022
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42023
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42024
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Pacific"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42025
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42026
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42027
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42028
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
42029
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
42030
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
42031
|
+
rgtp = 0 * rgtp + 1 * rgtq,
|
42032
|
+
rgtq = -1 * rgtp + 3 * rgtq
|
42033
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42034
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42035
|
+
)[0m
|
42036
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET rgt = 1.0 * rgtp / rgtq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42037
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42038
|
+
)
|
42039
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
42040
|
+
lftp = 0 * lftp + 1 * lftq,
|
42041
|
+
lftq = -1 * lftp + 3 * lftq
|
42042
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42043
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42044
|
+
)[0m
|
42045
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET lft = 1.0 * lftp / lftq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42046
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42047
|
+
)
|
42048
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "region_id" = 5, "lftp" = 2, "lftq" = 5, "rgtq" = 2, "lft" = 0.4, "rgt" = 0.5 WHERE "regions"."id" = 2[0m
|
42049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42050
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
42051
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 4]]
|
42052
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
42053
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42054
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42055
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42056
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42057
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42058
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42059
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42060
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42061
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42062
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42063
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42064
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Antarctica"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42066
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42068
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42069
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42072
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42073
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42074
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42075
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42076
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42077
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
42078
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42079
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42080
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42081
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42082
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42083
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42084
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
42085
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42086
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42087
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42090
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42091
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42092
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42093
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42094
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42095
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
42096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42097
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET "lftp" = 0, "lftq" = 0, "rgtp" = 0, "rgtq" = 0, "lft" = 0, "rgt" = 0 WHERE ("regions".lftq > 0)
|
42098
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
42099
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
42100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42101
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 2, "rgtp" = 1, "rgtq" = 1, "lft" = 0.5, "rgt" = 1.0 WHERE "regions"."id" = 1
|
42102
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42103
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
42104
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 AND ("regions".lftq > 0) LIMIT 1[0m
|
42105
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42106
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
42107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42108
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 2, "lftq" = 3, "rgtp" = 1, "rgtq" = 1, "lft" = 0.6666666666666666, "rgt" = 1.0 WHERE "regions"."id" = 2[0m
|
42109
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42110
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
42111
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
42112
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42113
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 3, "rgtp" = 1, "rgtq" = 2, "lft" = 0.3333333333333333, "rgt" = 0.5 WHERE "regions"."id" = 3
|
42114
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42115
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
42116
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
42117
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42118
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 1, "lftq" = 4, "rgtp" = 1, "rgtq" = 3, "lft" = 0.25, "rgt" = 0.3333333333333333 WHERE "regions"."id" = 4[0m
|
42119
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42120
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
42121
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
42122
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42123
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42125
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42126
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42127
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42128
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42129
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42130
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42131
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42132
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42134
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42135
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", true], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Krypton"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42136
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42137
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
42138
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND ( 1 < "regions".lftp AND
|
42139
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42140
|
+
)[0m
|
42141
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42144
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42145
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42146
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42147
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42148
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42149
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42150
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42151
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42152
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42153
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42154
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42156
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42157
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42158
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
42159
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42160
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC[0m
|
42161
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42163
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42164
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42165
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "1"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42166
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42168
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42169
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "2"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42170
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42171
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42172
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42173
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "3"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
42174
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42175
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42176
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42177
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42178
|
+
[1m[36mSQL (12.8ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42179
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42180
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
42181
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42182
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42183
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42186
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42187
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42188
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42189
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42191
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42192
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42193
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42195
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL)
|
42196
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 1 AND lftp = 0)[0m
|
42197
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
42198
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)[0m
|
42199
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42201
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42202
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42203
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42205
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 LIMIT 1
|
42206
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42207
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42208
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42210
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42211
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42213
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42214
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42215
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42216
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42217
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42218
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42220
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42221
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42222
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42223
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL
|
42224
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42225
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42226
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42227
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42228
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42229
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42230
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42231
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42232
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42233
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42235
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42236
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42237
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42238
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42239
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42240
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42241
|
+
[1m[35mRegion Load (21.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42242
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42243
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42244
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42246
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42247
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42248
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42250
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42251
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42252
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42254
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42255
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42256
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42257
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42258
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42260
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42261
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42263
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42264
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42267
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42269
|
+
[1m[35m (3.0ms)[0m SAVEPOINT active_record_1
|
42270
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42271
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42272
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42273
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42275
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42276
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42277
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42278
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42279
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42280
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42281
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42282
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42283
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42284
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
42285
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
42286
|
+
)[0m
|
42287
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42288
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42289
|
+
)
|
42290
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 2 < "regions".lftp AND
|
42291
|
+
"regions".lft BETWEEN 0.6666666666666666 AND 1.0
|
42292
|
+
)[0m
|
42293
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 3 < "regions".lftp AND
|
42294
|
+
"regions".lft BETWEEN 0.6 AND 0.6666666666666666
|
42295
|
+
)
|
42296
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42299
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42302
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42303
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42304
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42307
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42308
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42312
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42313
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42314
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42316
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42317
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2
|
42318
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3[0m
|
42319
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
42320
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "regions" WHERE "regions"."id" = ?[0m [["id", 3]]
|
42321
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4
|
42322
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 4]]
|
42323
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 4]]
|
42324
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42325
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 2]]
|
42326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42327
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
42328
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
42329
|
+
)
|
42330
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42331
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42333
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", ""], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42335
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42336
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42337
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42338
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", ""], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42339
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42341
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42342
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42343
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", ""], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42344
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42345
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42346
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
42347
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1
|
42348
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.4], ["lftp", 2], ["lftq", 5], ["name", ""], ["region_id", 3], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42349
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42350
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42351
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
42352
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1[0m
|
42353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.375], ["lftp", 3], ["lftq", 8], ["name", ""], ["region_id", 3], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
42354
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42355
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42356
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
42357
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
42358
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38461538461538464], ["lftp", 5], ["lftq", 13], ["name", ""], ["region_id", 5], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
42359
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42361
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 5]]
|
42362
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1[0m
|
42363
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38095238095238093], ["lftp", 8], ["lftq", 21], ["name", ""], ["region_id", 5], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
42364
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42365
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42366
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 7]]
|
42367
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1
|
42368
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38235294117647056], ["lftp", 13], ["lftq", 34], ["name", ""], ["region_id", 7], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
42369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42370
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42371
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 7]]
|
42372
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1[0m
|
42373
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38181818181818183], ["lftp", 21], ["lftq", 55], ["name", ""], ["region_id", 7], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
42374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42376
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 9]]
|
42377
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1
|
42378
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38202247191011235], ["lftp", 34], ["lftq", 89], ["name", ""], ["region_id", 9], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
42379
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42380
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42381
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 9]]
|
42382
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1[0m
|
42383
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819444444444444], ["lftp", 55], ["lftq", 144], ["name", ""], ["region_id", 9], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
42384
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42386
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 11]]
|
42387
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1
|
42388
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38197424892703863], ["lftp", 89], ["lftq", 233], ["name", ""], ["region_id", 11], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
42389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42390
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42391
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 11]]
|
42392
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1[0m
|
42393
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819628647214854], ["lftp", 144], ["lftq", 377], ["name", ""], ["region_id", 11], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
42394
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42396
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 13]]
|
42397
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1
|
42398
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819672131147541], ["lftp", 233], ["lftq", 610], ["name", ""], ["region_id", 13], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
42399
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42400
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42401
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 13]]
|
42402
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1[0m
|
42403
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819655521783181], ["lftp", 377], ["lftq", 987], ["name", ""], ["region_id", 13], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
42404
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42405
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42406
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 15]]
|
42407
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1
|
42408
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196618659987475], ["lftp", 610], ["lftq", 1597], ["name", ""], ["region_id", 15], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
42409
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42410
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42411
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 15]]
|
42412
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1[0m
|
42413
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196594427244585], ["lftp", 987], ["lftq", 2584], ["name", ""], ["region_id", 15], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
42414
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42415
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42416
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 17]]
|
42417
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1
|
42418
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196603683329344], ["lftp", 1597], ["lftq", 4181], ["name", ""], ["region_id", 17], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
42419
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42420
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42421
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 17]]
|
42422
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1[0m
|
42423
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660014781966], ["lftp", 2584], ["lftq", 6765], ["name", ""], ["region_id", 17], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
42424
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42425
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42426
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 19]]
|
42427
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1
|
42428
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601498264204], ["lftp", 4181], ["lftq", 10946], ["name", ""], ["region_id", 19], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
42429
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42430
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42431
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 19]]
|
42432
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1[0m
|
42433
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196600982440293], ["lftp", 6765], ["lftq", 17711], ["name", ""], ["region_id", 19], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
42434
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42435
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42436
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 21]]
|
42437
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1
|
42438
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601179467493], ["lftp", 10946], ["lftq", 28657], ["name", ""], ["region_id", 21], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
42439
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42441
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 21]]
|
42442
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1[0m
|
42443
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.381966011042098], ["lftp", 17711], ["lftq", 46368], ["name", ""], ["region_id", 21], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
42444
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42445
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42446
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 23]]
|
42447
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1
|
42448
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660113295568], ["lftp", 28657], ["lftq", 75025], ["name", ""], ["region_id", 23], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
42449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42450
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42451
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 23]]
|
42452
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1[0m
|
42453
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112197573], ["lftp", 46368], ["lftq", 121393], ["name", ""], ["region_id", 23], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
42454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42456
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 25]]
|
42457
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1
|
42458
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.381966011261697], ["lftp", 75025], ["lftq", 196418], ["name", ""], ["region_id", 25], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
42459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42461
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 25]]
|
42462
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1[0m
|
42463
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112456775], ["lftp", 121393], ["lftq", 317811], ["name", ""], ["region_id", 25], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
42464
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42465
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42466
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 27]]
|
42467
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1
|
42468
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125179636], ["lftp", 196418], ["lftq", 514229], ["name", ""], ["region_id", 27], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
42469
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42470
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42471
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 27]]
|
42472
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1[0m
|
42473
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601124945917], ["lftp", 317811], ["lftq", 832040], ["name", ""], ["region_id", 27], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
42474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42475
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42476
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 29]]
|
42477
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1
|
42478
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112503519], ["lftp", 514229], ["lftq", 1346269], ["name", ""], ["region_id", 29], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
42479
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42480
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42481
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 29]]
|
42482
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1[0m
|
42483
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500109], ["lftp", 832040], ["lftq", 2178309], ["name", ""], ["region_id", 29], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
42484
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42485
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42486
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 31]]
|
42487
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1
|
42488
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501411], ["lftp", 1346269], ["lftq", 3524578], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
42489
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42490
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42491
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 31]]
|
42492
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1[0m
|
42493
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500914], ["lftp", 2178309], ["lftq", 5702887], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
42494
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42495
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42496
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 33]]
|
42497
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1
|
42498
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501104], ["lftp", 3524578], ["lftq", 9227465], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
42499
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42500
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42501
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 33]]
|
42502
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1[0m
|
42503
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010315], ["lftp", 5702887], ["lftq", 14930352], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
42504
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42505
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42506
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 35]]
|
42507
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1
|
42508
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010593], ["lftp", 9227465], ["lftq", 24157817], ["name", ""], ["region_id", 35], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
42509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42510
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42511
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 35]]
|
42512
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1[0m
|
42513
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501049], ["lftp", 14930352], ["lftq", 39088169], ["name", ""], ["region_id", 35], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
42514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42515
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42516
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 37]]
|
42517
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1
|
42518
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010526], ["lftp", 24157817], ["lftq", 63245986], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
42519
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42520
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42521
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 37]]
|
42522
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1[0m
|
42523
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501051], ["lftp", 39088169], ["lftq", 102334155], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
42524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42525
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
42526
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 39]]
|
42527
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1
|
42528
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 63245986], ["lftq", 165580141], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
42529
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42531
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 39]]
|
42532
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1[0m
|
42533
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 102334155], ["lftq", 267914296], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
42534
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42535
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42536
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 41]]
|
42537
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1
|
42538
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 165580141], ["lftq", 433494437], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
42539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42540
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42541
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 41]]
|
42542
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1[0m
|
42543
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 267914296], ["lftq", 701408733], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
42544
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42545
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42546
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 43]]
|
42547
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1
|
42548
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 433494437], ["lftq", 1134903170], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
42549
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42551
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 43]]
|
42552
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1[0m
|
42553
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 701408733], ["lftq", 1836311903], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 433494437], ["rgtq", 1134903170]]
|
42554
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42555
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42556
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42557
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42558
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42559
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42560
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42561
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42562
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42563
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42564
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42565
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42568
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42569
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42570
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42571
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
42572
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42573
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42574
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42575
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42576
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42577
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42578
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42579
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42580
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
42581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42582
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42583
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
42584
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
42585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42586
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42587
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42588
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Pacific"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42589
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42590
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42591
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42592
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
42593
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
42594
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
42595
|
+
rgtp = 0 * rgtp + 1 * rgtq,
|
42596
|
+
rgtq = -1 * rgtp + 3 * rgtq
|
42597
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42598
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42599
|
+
)[0m
|
42600
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "regions" SET rgt = 1.0 * rgtp / rgtq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42601
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42602
|
+
)
|
42603
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
42604
|
+
lftp = 0 * lftp + 1 * lftq,
|
42605
|
+
lftq = -1 * lftp + 3 * lftq
|
42606
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42607
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42608
|
+
)[0m
|
42609
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET lft = 1.0 * lftp / lftq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42610
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42611
|
+
)
|
42612
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "region_id" = 5, "lftp" = 2, "lftq" = 5, "rgtq" = 2, "lft" = 0.4, "rgt" = 0.5 WHERE "regions"."id" = 2[0m
|
42613
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42614
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
42615
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 4]]
|
42616
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
42617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42619
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42620
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42622
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42623
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42624
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42625
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42627
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42628
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42629
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Antarctica"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42630
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42632
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42633
|
+
[1m[35mRegion Load (0.7ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42634
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42635
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42636
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
42637
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42638
|
+
[1m[36mRegion Load (0.7ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42639
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42640
|
+
[1m[36m (0.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42641
|
+
[1m[35mRegion Load (0.7ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
42642
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
42643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42645
|
+
[1m[35mRegion Load (0.7ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42646
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42647
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42648
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42649
|
+
[1m[35mRegion Load (15.4ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42650
|
+
[1m[36mRegion Load (0.5ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42651
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42652
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42654
|
+
[1m[36mRegion Load (0.5ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42655
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42656
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42657
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
42658
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42659
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
42660
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42661
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "regions" SET "lftp" = 0, "lftq" = 0, "rgtp" = 0, "rgtq" = 0, "lft" = 0, "rgt" = 0 WHERE ("regions".lftq > 0)
|
42662
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
42663
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
42664
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42665
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 2, "rgtp" = 1, "rgtq" = 1, "lft" = 0.5, "rgt" = 1.0 WHERE "regions"."id" = 1
|
42666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42667
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
42668
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 AND ("regions".lftq > 0) LIMIT 1[0m
|
42669
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42670
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
42671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42672
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "regions" SET "lftp" = 2, "lftq" = 3, "rgtp" = 1, "rgtq" = 1, "lft" = 0.6666666666666666, "rgt" = 1.0 WHERE "regions"."id" = 2[0m
|
42673
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42674
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
42675
|
+
[1m[35mRegion Load (0.4ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
42676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42677
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 3, "rgtp" = 1, "rgtq" = 2, "lft" = 0.3333333333333333, "rgt" = 0.5 WHERE "regions"."id" = 3
|
42678
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42679
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
42680
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
42681
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42682
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 1, "lftq" = 4, "rgtp" = 1, "rgtq" = 3, "lft" = 0.25, "rgt" = 0.3333333333333333 WHERE "regions"."id" = 4[0m
|
42683
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42684
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
42685
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
42686
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
42687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42688
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42689
|
+
[1m[35mRegion Load (0.3ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42690
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42691
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42692
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42693
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42694
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42695
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42696
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42697
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42698
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42699
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", true], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Krypton"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42700
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42701
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
42702
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND ( 1 < "regions".lftp AND
|
42703
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42704
|
+
)[0m
|
42705
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42707
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42708
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42709
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42710
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42711
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42712
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42713
|
+
[1m[35mRegion Load (0.3ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42714
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42715
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42717
|
+
[1m[35mRegion Load (0.3ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42720
|
+
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
42721
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
42722
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
42723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42724
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC[0m
|
42725
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42728
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42729
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "1"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42730
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42731
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42732
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42733
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "2"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42736
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
42737
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "3"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
42738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42742
|
+
[1m[36mSQL (12.0ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42744
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42745
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42746
|
+
[1m[36mRegion Load (0.5ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42747
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42748
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42749
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42750
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42751
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42752
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42753
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42754
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42755
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42756
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42757
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42759
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL)
|
42760
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 1 AND lftp = 0)[0m
|
42761
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
42762
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)[0m
|
42763
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42765
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42766
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42767
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42769
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 LIMIT 1
|
42770
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42771
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42772
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42773
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42774
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42775
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42776
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42777
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42778
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42779
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42780
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42782
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42783
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42784
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42785
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42786
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42787
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL
|
42788
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42791
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42792
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42793
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42794
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42795
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42796
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42797
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42798
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42799
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42800
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42801
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42802
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42803
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42804
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42805
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42806
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42807
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42808
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42811
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42814
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42815
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42816
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42817
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42818
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42819
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42820
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42821
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42824
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42825
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42826
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42827
|
+
[1m[35m (1.8ms)[0m RELEASE SAVEPOINT active_record_1
|
42828
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
42829
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42830
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42831
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42832
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42833
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42834
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42835
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42836
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42837
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42838
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42839
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42840
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42841
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42842
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42844
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42845
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42846
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42847
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42848
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
42849
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
42850
|
+
)[0m
|
42851
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
42852
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
42853
|
+
)
|
42854
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 2 < "regions".lftp AND
|
42855
|
+
"regions".lft BETWEEN 0.6666666666666666 AND 1.0
|
42856
|
+
)[0m
|
42857
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 3 < "regions".lftp AND
|
42858
|
+
"regions".lft BETWEEN 0.6 AND 0.6666666666666666
|
42859
|
+
)
|
42860
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42861
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42863
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42865
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42866
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42867
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42868
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42870
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42871
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
42872
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
42873
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42874
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42875
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42876
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42877
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
42878
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
42879
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42880
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42881
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2
|
42882
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3[0m
|
42883
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
42884
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "regions" WHERE "regions"."id" = ?[0m [["id", 3]]
|
42885
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4
|
42886
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 4]]
|
42887
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 4]]
|
42888
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
42889
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 2]]
|
42890
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42891
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
42892
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
42893
|
+
)
|
42894
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42895
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42896
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42897
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", ""], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42898
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42900
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
42901
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
42902
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", ""], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
42903
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42904
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42905
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
42906
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
42907
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", ""], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42908
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42909
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42910
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
42911
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1
|
42912
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.4], ["lftp", 2], ["lftq", 5], ["name", ""], ["region_id", 3], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
42913
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42915
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
42916
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1[0m
|
42917
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.375], ["lftp", 3], ["lftq", 8], ["name", ""], ["region_id", 3], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
42918
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42919
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42920
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
42921
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
42922
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38461538461538464], ["lftp", 5], ["lftq", 13], ["name", ""], ["region_id", 5], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
42923
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42924
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42925
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 5]]
|
42926
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1[0m
|
42927
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38095238095238093], ["lftp", 8], ["lftq", 21], ["name", ""], ["region_id", 5], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
42928
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42929
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42930
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 7]]
|
42931
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1
|
42932
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38235294117647056], ["lftp", 13], ["lftq", 34], ["name", ""], ["region_id", 7], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
42933
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42935
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 7]]
|
42936
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1[0m
|
42937
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38181818181818183], ["lftp", 21], ["lftq", 55], ["name", ""], ["region_id", 7], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
42938
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42940
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 9]]
|
42941
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1
|
42942
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38202247191011235], ["lftp", 34], ["lftq", 89], ["name", ""], ["region_id", 9], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
42943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42944
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42945
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 9]]
|
42946
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1[0m
|
42947
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819444444444444], ["lftp", 55], ["lftq", 144], ["name", ""], ["region_id", 9], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
42948
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42949
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42950
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 11]]
|
42951
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1
|
42952
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38197424892703863], ["lftp", 89], ["lftq", 233], ["name", ""], ["region_id", 11], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
42953
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42954
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42955
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 11]]
|
42956
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1[0m
|
42957
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819628647214854], ["lftp", 144], ["lftq", 377], ["name", ""], ["region_id", 11], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
42958
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42960
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 13]]
|
42961
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1
|
42962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819672131147541], ["lftp", 233], ["lftq", 610], ["name", ""], ["region_id", 13], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
42963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42964
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42965
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 13]]
|
42966
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1[0m
|
42967
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819655521783181], ["lftp", 377], ["lftq", 987], ["name", ""], ["region_id", 13], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
42968
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42969
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42970
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 15]]
|
42971
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1
|
42972
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196618659987475], ["lftp", 610], ["lftq", 1597], ["name", ""], ["region_id", 15], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
42973
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42974
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42975
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 15]]
|
42976
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1[0m
|
42977
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196594427244585], ["lftp", 987], ["lftq", 2584], ["name", ""], ["region_id", 15], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
42978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42980
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 17]]
|
42981
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1
|
42982
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196603683329344], ["lftp", 1597], ["lftq", 4181], ["name", ""], ["region_id", 17], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
42983
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42985
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 17]]
|
42986
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1[0m
|
42987
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660014781966], ["lftp", 2584], ["lftq", 6765], ["name", ""], ["region_id", 17], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
42988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42989
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42990
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 19]]
|
42991
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1
|
42992
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601498264204], ["lftp", 4181], ["lftq", 10946], ["name", ""], ["region_id", 19], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
42993
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42994
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42995
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 19]]
|
42996
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1[0m
|
42997
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196600982440293], ["lftp", 6765], ["lftq", 17711], ["name", ""], ["region_id", 19], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
42998
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42999
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43000
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 21]]
|
43001
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1
|
43002
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601179467493], ["lftp", 10946], ["lftq", 28657], ["name", ""], ["region_id", 21], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
43003
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43004
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43005
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 21]]
|
43006
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1[0m
|
43007
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.381966011042098], ["lftp", 17711], ["lftq", 46368], ["name", ""], ["region_id", 21], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
43008
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43009
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43010
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 23]]
|
43011
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1
|
43012
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660113295568], ["lftp", 28657], ["lftq", 75025], ["name", ""], ["region_id", 23], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
43013
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43015
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 23]]
|
43016
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1[0m
|
43017
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112197573], ["lftp", 46368], ["lftq", 121393], ["name", ""], ["region_id", 23], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
43018
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43019
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43020
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 25]]
|
43021
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1
|
43022
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.381966011261697], ["lftp", 75025], ["lftq", 196418], ["name", ""], ["region_id", 25], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
43023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43025
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 25]]
|
43026
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1[0m
|
43027
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112456775], ["lftp", 121393], ["lftq", 317811], ["name", ""], ["region_id", 25], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
43028
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43030
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 27]]
|
43031
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1
|
43032
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125179636], ["lftp", 196418], ["lftq", 514229], ["name", ""], ["region_id", 27], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
43033
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43034
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43035
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 27]]
|
43036
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1[0m
|
43037
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601124945917], ["lftp", 317811], ["lftq", 832040], ["name", ""], ["region_id", 27], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
43038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43040
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 29]]
|
43041
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1
|
43042
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112503519], ["lftp", 514229], ["lftq", 1346269], ["name", ""], ["region_id", 29], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
43043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43044
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43045
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 29]]
|
43046
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1[0m
|
43047
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500109], ["lftp", 832040], ["lftq", 2178309], ["name", ""], ["region_id", 29], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
43048
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43050
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 31]]
|
43051
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1
|
43052
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501411], ["lftp", 1346269], ["lftq", 3524578], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
43053
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43054
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43055
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 31]]
|
43056
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1[0m
|
43057
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500914], ["lftp", 2178309], ["lftq", 5702887], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
43058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43060
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 33]]
|
43061
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1
|
43062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501104], ["lftp", 3524578], ["lftq", 9227465], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
43063
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43065
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 33]]
|
43066
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1[0m
|
43067
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010315], ["lftp", 5702887], ["lftq", 14930352], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
43068
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43070
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 35]]
|
43071
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1
|
43072
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010593], ["lftp", 9227465], ["lftq", 24157817], ["name", ""], ["region_id", 35], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
43073
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43074
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43075
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 35]]
|
43076
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1[0m
|
43077
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501049], ["lftp", 14930352], ["lftq", 39088169], ["name", ""], ["region_id", 35], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
43078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43079
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43080
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 37]]
|
43081
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1
|
43082
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010526], ["lftp", 24157817], ["lftq", 63245986], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
43083
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43085
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 37]]
|
43086
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1[0m
|
43087
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501051], ["lftp", 39088169], ["lftq", 102334155], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
43088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43090
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 39]]
|
43091
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1
|
43092
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 63245986], ["lftq", 165580141], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
43093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43095
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 39]]
|
43096
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1[0m
|
43097
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 102334155], ["lftq", 267914296], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
43098
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43099
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43100
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 41]]
|
43101
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1
|
43102
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 165580141], ["lftq", 433494437], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
43103
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43104
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43105
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 41]]
|
43106
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1[0m
|
43107
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 267914296], ["lftq", 701408733], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
43108
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43109
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43110
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 43]]
|
43111
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1
|
43112
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 433494437], ["lftq", 1134903170], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
43113
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43114
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43115
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 43]]
|
43116
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1[0m
|
43117
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 701408733], ["lftq", 1836311903], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 433494437], ["rgtq", 1134903170]]
|
43118
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43119
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43121
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43124
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43127
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43128
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43129
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43132
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43133
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43134
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43136
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43137
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43138
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43140
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43141
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43142
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43143
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43144
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
43145
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43146
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43147
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
43148
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
43149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43150
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43151
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43152
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Pacific"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43153
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43154
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43155
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43156
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
43157
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
43158
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
43159
|
+
rgtp = 0 * rgtp + 1 * rgtq,
|
43160
|
+
rgtq = -1 * rgtp + 3 * rgtq
|
43161
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43162
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43163
|
+
)[0m
|
43164
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET rgt = 1.0 * rgtp / rgtq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43165
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43166
|
+
)
|
43167
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
43168
|
+
lftp = 0 * lftp + 1 * lftq,
|
43169
|
+
lftq = -1 * lftp + 3 * lftq
|
43170
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43171
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43172
|
+
)[0m
|
43173
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET lft = 1.0 * lftp / lftq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43174
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43175
|
+
)
|
43176
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "region_id" = 5, "lftp" = 2, "lftq" = 5, "rgtq" = 2, "lft" = 0.4, "rgt" = 0.5 WHERE "regions"."id" = 2[0m
|
43177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43178
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
43179
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 4]]
|
43180
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43182
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43183
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43186
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43187
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43188
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43189
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43191
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43192
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43193
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Antarctica"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43196
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43197
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43198
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43199
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43201
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43202
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43203
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43205
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
43206
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43207
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43209
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43210
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43211
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43213
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43214
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43215
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43216
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43217
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43218
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43219
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43220
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43221
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43222
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43223
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
43224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43225
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET "lftp" = 0, "lftq" = 0, "rgtp" = 0, "rgtq" = 0, "lft" = 0, "rgt" = 0 WHERE ("regions".lftq > 0)
|
43226
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
43227
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
43228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43229
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 2, "rgtp" = 1, "rgtq" = 1, "lft" = 0.5, "rgt" = 1.0 WHERE "regions"."id" = 1
|
43230
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43231
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
43232
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 AND ("regions".lftq > 0) LIMIT 1[0m
|
43233
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43234
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
43235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43236
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 2, "lftq" = 3, "rgtp" = 1, "rgtq" = 1, "lft" = 0.6666666666666666, "rgt" = 1.0 WHERE "regions"."id" = 2[0m
|
43237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43238
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
43239
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
43240
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43241
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 3, "rgtp" = 1, "rgtq" = 2, "lft" = 0.3333333333333333, "rgt" = 0.5 WHERE "regions"."id" = 3
|
43242
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43243
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
43244
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
43245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43246
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 1, "lftq" = 4, "rgtp" = 1, "rgtq" = 3, "lft" = 0.25, "rgt" = 0.3333333333333333 WHERE "regions"."id" = 4[0m
|
43247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43248
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
43249
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
43250
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43253
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43254
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43257
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43258
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43259
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43260
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43261
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43262
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43263
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", true], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Krypton"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43265
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
43266
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND ( 1 < "regions".lftp AND
|
43267
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43268
|
+
)[0m
|
43269
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43272
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43273
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43275
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43276
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43277
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43278
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43280
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43281
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43282
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43283
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43284
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43285
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43286
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
43287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43288
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC[0m
|
43289
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43291
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43292
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43293
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "1"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43296
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43297
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "2"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43300
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43301
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "3"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
43302
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43304
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43305
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
43306
|
+
[1m[36mSQL (66.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43307
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43309
|
+
[1m[35mRegion Load (0.3ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43310
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43311
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43314
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43315
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43316
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43317
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43318
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43319
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43320
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43321
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43322
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43323
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL)
|
43324
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 1 AND lftp = 0)[0m
|
43325
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
43326
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)[0m
|
43327
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43329
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43330
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43333
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 LIMIT 1
|
43334
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43335
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43336
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43337
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43338
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43341
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43342
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43343
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43344
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43345
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43349
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43350
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43351
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL
|
43352
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43354
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43355
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43356
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43358
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43359
|
+
[1m[35mRegion Load (0.6ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43360
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43361
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
43362
|
+
[1m[36m (13.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43363
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43364
|
+
[1m[36mRegion Load (1.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43365
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43367
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
43368
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43369
|
+
[1m[35mRegion Load (0.5ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43370
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43371
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
43372
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
43373
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43374
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
43375
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43376
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43377
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43378
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43379
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43380
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43381
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43382
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43383
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43384
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43385
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43386
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43387
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43388
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43389
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43390
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43391
|
+
[1m[35m (1.7ms)[0m RELEASE SAVEPOINT active_record_1
|
43392
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43395
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43396
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43398
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43399
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43400
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43403
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43404
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43405
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43406
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43407
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43408
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43409
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43410
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43412
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
43413
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
43414
|
+
)[0m
|
43415
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43416
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43417
|
+
)
|
43418
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 2 < "regions".lftp AND
|
43419
|
+
"regions".lft BETWEEN 0.6666666666666666 AND 1.0
|
43420
|
+
)[0m
|
43421
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 3 < "regions".lftp AND
|
43422
|
+
"regions".lft BETWEEN 0.6 AND 0.6666666666666666
|
43423
|
+
)
|
43424
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43425
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43426
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43427
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43428
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43429
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43430
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43431
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43432
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43434
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43435
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43436
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43437
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43438
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43440
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43441
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43442
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43443
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43445
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2
|
43446
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3[0m
|
43447
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
43448
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "regions" WHERE "regions"."id" = ?[0m [["id", 3]]
|
43449
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4
|
43450
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 4]]
|
43451
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 4]]
|
43452
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43453
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "regions" WHERE "regions"."id" = ? [["id", 2]]
|
43454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43455
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND ( 0 < "regions".lftp AND
|
43456
|
+
"regions".lft BETWEEN 0.0 AND 1.0
|
43457
|
+
)
|
43458
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43461
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", ""], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43462
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43464
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43465
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43466
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", ""], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43467
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43468
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43469
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43470
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43471
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", ""], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43472
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43473
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43474
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
43475
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1
|
43476
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.4], ["lftp", 2], ["lftq", 5], ["name", ""], ["region_id", 3], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43478
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43479
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
43480
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 ORDER BY lftq DESC LIMIT 1[0m
|
43481
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.375], ["lftp", 3], ["lftq", 8], ["name", ""], ["region_id", 3], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
43482
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43483
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43484
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
43485
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
43486
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38461538461538464], ["lftp", 5], ["lftq", 13], ["name", ""], ["region_id", 5], ["rgt", 0.4], ["rgtp", 2], ["rgtq", 5]]
|
43487
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43488
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43489
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 5]]
|
43490
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1[0m
|
43491
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38095238095238093], ["lftp", 8], ["lftq", 21], ["name", ""], ["region_id", 5], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
43492
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43493
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43494
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 7]]
|
43495
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1
|
43496
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38235294117647056], ["lftp", 13], ["lftq", 34], ["name", ""], ["region_id", 7], ["rgt", 0.38461538461538464], ["rgtp", 5], ["rgtq", 13]]
|
43497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43499
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 7]]
|
43500
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 7 ORDER BY lftq DESC LIMIT 1[0m
|
43501
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38181818181818183], ["lftp", 21], ["lftq", 55], ["name", ""], ["region_id", 7], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
43502
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43503
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43504
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 9]]
|
43505
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1
|
43506
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38202247191011235], ["lftp", 34], ["lftq", 89], ["name", ""], ["region_id", 9], ["rgt", 0.38235294117647056], ["rgtp", 13], ["rgtq", 34]]
|
43507
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43508
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43509
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 9]]
|
43510
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 9 ORDER BY lftq DESC LIMIT 1[0m
|
43511
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819444444444444], ["lftp", 55], ["lftq", 144], ["name", ""], ["region_id", 9], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
43512
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43513
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43514
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 11]]
|
43515
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1
|
43516
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38197424892703863], ["lftp", 89], ["lftq", 233], ["name", ""], ["region_id", 11], ["rgt", 0.38202247191011235], ["rgtp", 34], ["rgtq", 89]]
|
43517
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43518
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43519
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 11]]
|
43520
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 11 ORDER BY lftq DESC LIMIT 1[0m
|
43521
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819628647214854], ["lftp", 144], ["lftq", 377], ["name", ""], ["region_id", 11], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
43522
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43523
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43524
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 13]]
|
43525
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1
|
43526
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819672131147541], ["lftp", 233], ["lftq", 610], ["name", ""], ["region_id", 13], ["rgt", 0.38197424892703863], ["rgtp", 89], ["rgtq", 233]]
|
43527
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43528
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43529
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 13]]
|
43530
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 13 ORDER BY lftq DESC LIMIT 1[0m
|
43531
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819655521783181], ["lftp", 377], ["lftq", 987], ["name", ""], ["region_id", 13], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
43532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43533
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43534
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 15]]
|
43535
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1
|
43536
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196618659987475], ["lftp", 610], ["lftq", 1597], ["name", ""], ["region_id", 15], ["rgt", 0.3819672131147541], ["rgtp", 233], ["rgtq", 610]]
|
43537
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43538
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43539
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 15]]
|
43540
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 15 ORDER BY lftq DESC LIMIT 1[0m
|
43541
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196594427244585], ["lftp", 987], ["lftq", 2584], ["name", ""], ["region_id", 15], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
43542
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43544
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 17]]
|
43545
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1
|
43546
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196603683329344], ["lftp", 1597], ["lftq", 4181], ["name", ""], ["region_id", 17], ["rgt", 0.38196618659987475], ["rgtp", 610], ["rgtq", 1597]]
|
43547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43548
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43549
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 17]]
|
43550
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 17 ORDER BY lftq DESC LIMIT 1[0m
|
43551
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660014781966], ["lftp", 2584], ["lftq", 6765], ["name", ""], ["region_id", 17], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
43552
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43554
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 19]]
|
43555
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1
|
43556
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601498264204], ["lftp", 4181], ["lftq", 10946], ["name", ""], ["region_id", 19], ["rgt", 0.38196603683329344], ["rgtp", 1597], ["rgtq", 4181]]
|
43557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43558
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43559
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 19]]
|
43560
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 19 ORDER BY lftq DESC LIMIT 1[0m
|
43561
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196600982440293], ["lftp", 6765], ["lftq", 17711], ["name", ""], ["region_id", 19], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
43562
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43563
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43564
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 21]]
|
43565
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1
|
43566
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601179467493], ["lftp", 10946], ["lftq", 28657], ["name", ""], ["region_id", 21], ["rgt", 0.38196601498264204], ["rgtp", 4181], ["rgtq", 10946]]
|
43567
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43568
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43569
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 21]]
|
43570
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 21 ORDER BY lftq DESC LIMIT 1[0m
|
43571
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.381966011042098], ["lftp", 17711], ["lftq", 46368], ["name", ""], ["region_id", 21], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
43572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43574
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 23]]
|
43575
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1
|
43576
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660113295568], ["lftp", 28657], ["lftq", 75025], ["name", ""], ["region_id", 23], ["rgt", 0.38196601179467493], ["rgtp", 10946], ["rgtq", 28657]]
|
43577
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43579
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 23]]
|
43580
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 23 ORDER BY lftq DESC LIMIT 1[0m
|
43581
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112197573], ["lftp", 46368], ["lftq", 121393], ["name", ""], ["region_id", 23], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
43582
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43583
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43584
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 25]]
|
43585
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1
|
43586
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.381966011261697], ["lftp", 75025], ["lftq", 196418], ["name", ""], ["region_id", 25], ["rgt", 0.3819660113295568], ["rgtp", 28657], ["rgtq", 75025]]
|
43587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43589
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 25]]
|
43590
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 25 ORDER BY lftq DESC LIMIT 1[0m
|
43591
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112456775], ["lftp", 121393], ["lftq", 317811], ["name", ""], ["region_id", 25], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
43592
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43594
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 27]]
|
43595
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1
|
43596
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125179636], ["lftp", 196418], ["lftq", 514229], ["name", ""], ["region_id", 27], ["rgt", 0.381966011261697], ["rgtp", 75025], ["rgtq", 196418]]
|
43597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43598
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43599
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 27]]
|
43600
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 27 ORDER BY lftq DESC LIMIT 1[0m
|
43601
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601124945917], ["lftp", 317811], ["lftq", 832040], ["name", ""], ["region_id", 27], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
43602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43604
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 29]]
|
43605
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1
|
43606
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112503519], ["lftp", 514229], ["lftq", 1346269], ["name", ""], ["region_id", 29], ["rgt", 0.38196601125179636], ["rgtp", 196418], ["rgtq", 514229]]
|
43607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43608
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43609
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 29]]
|
43610
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 29 ORDER BY lftq DESC LIMIT 1[0m
|
43611
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500109], ["lftp", 832040], ["lftq", 2178309], ["name", ""], ["region_id", 29], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
43612
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43613
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43614
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 31]]
|
43615
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1
|
43616
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501411], ["lftp", 1346269], ["lftq", 3524578], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112503519], ["rgtp", 514229], ["rgtq", 1346269]]
|
43617
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43619
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 31]]
|
43620
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 31 ORDER BY lftq DESC LIMIT 1[0m
|
43621
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112500914], ["lftp", 2178309], ["lftq", 5702887], ["name", ""], ["region_id", 31], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
43622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43624
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 33]]
|
43625
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1
|
43626
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3819660112501104], ["lftp", 3524578], ["lftq", 9227465], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501411], ["rgtp", 1346269], ["rgtq", 3524578]]
|
43627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43628
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43629
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 33]]
|
43630
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 33 ORDER BY lftq DESC LIMIT 1[0m
|
43631
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010315], ["lftp", 5702887], ["lftq", 14930352], ["name", ""], ["region_id", 33], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
43632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43633
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43634
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 35]]
|
43635
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1
|
43636
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010593], ["lftp", 9227465], ["lftq", 24157817], ["name", ""], ["region_id", 35], ["rgt", 0.3819660112501104], ["rgtp", 3524578], ["rgtq", 9227465]]
|
43637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43638
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43639
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 35]]
|
43640
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 35 ORDER BY lftq DESC LIMIT 1[0m
|
43641
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501049], ["lftp", 14930352], ["lftq", 39088169], ["name", ""], ["region_id", 35], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
43642
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43644
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 37]]
|
43645
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1
|
43646
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010526], ["lftp", 24157817], ["lftq", 63245986], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010593], ["rgtp", 9227465], ["rgtq", 24157817]]
|
43647
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43648
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43649
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 37]]
|
43650
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 37 ORDER BY lftq DESC LIMIT 1[0m
|
43651
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3819660112501051], ["lftp", 39088169], ["lftq", 102334155], ["name", ""], ["region_id", 37], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
43652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43653
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43654
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 39]]
|
43655
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1
|
43656
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 63245986], ["lftq", 165580141], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010526], ["rgtp", 24157817], ["rgtq", 63245986]]
|
43657
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43659
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 39]]
|
43660
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 39 ORDER BY lftq DESC LIMIT 1[0m
|
43661
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 102334155], ["lftq", 267914296], ["name", ""], ["region_id", 39], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
43662
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43664
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 41]]
|
43665
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1
|
43666
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 165580141], ["lftq", 433494437], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 63245986], ["rgtq", 165580141]]
|
43667
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43668
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43669
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 41]]
|
43670
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 41 ORDER BY lftq DESC LIMIT 1[0m
|
43671
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 267914296], ["lftq", 701408733], ["name", ""], ["region_id", 41], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
43672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43674
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 43]]
|
43675
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1
|
43676
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 433494437], ["lftq", 1134903170], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 165580141], ["rgtq", 433494437]]
|
43677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43678
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43679
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 43]]
|
43680
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 43 ORDER BY lftq DESC LIMIT 1[0m
|
43681
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.38196601125010515], ["lftp", 701408733], ["lftq", 1836311903], ["name", ""], ["region_id", 43], ["rgt", 0.38196601125010515], ["rgtp", 433494437], ["rgtq", 1134903170]]
|
43682
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43683
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43685
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43688
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43690
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43691
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43692
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43693
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43694
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43695
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43696
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43697
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43698
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43699
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43701
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43702
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43703
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43705
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43706
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43707
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43708
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
43709
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43710
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43711
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 3]]
|
43712
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
43713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43714
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43715
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43716
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Pacific"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43717
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43718
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43719
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43720
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 5]]
|
43721
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 5 ORDER BY lftq DESC LIMIT 1
|
43722
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
43723
|
+
rgtp = 0 * rgtp + 1 * rgtq,
|
43724
|
+
rgtq = -1 * rgtp + 3 * rgtq
|
43725
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43726
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43727
|
+
)[0m
|
43728
|
+
[1m[35mSQL (9.7ms)[0m UPDATE "regions" SET rgt = 1.0 * rgtp / rgtq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43729
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43730
|
+
)
|
43731
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "regions" SET
|
43732
|
+
lftp = 0 * lftp + 1 * lftq,
|
43733
|
+
lftq = -1 * lftp + 3 * lftq
|
43734
|
+
WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43735
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43736
|
+
)[0m
|
43737
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "regions" SET lft = 1.0 * lftp / lftq WHERE "regions"."fiction" = 'f' AND ( 1 < "regions".lftp AND
|
43738
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43739
|
+
)
|
43740
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "region_id" = 5, "lftp" = 2, "lftq" = 5, "rgtq" = 2, "lft" = 0.4, "rgt" = 0.5 WHERE "regions"."id" = 2[0m
|
43741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43742
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 3]]
|
43743
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 4]]
|
43744
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43745
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43746
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43747
|
+
[1m[35mSQL (1.9ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.0], ["lftp", 0], ["lftq", 1], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43748
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43749
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
43750
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43751
|
+
[1m[35mRegion Load (0.7ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43752
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43753
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43755
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43756
|
+
[1m[36mRegion Load (0.7ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43757
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Antarctica"], ["region_id", 1], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43758
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43759
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
43760
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 2]]
|
43761
|
+
[1m[35mRegion Load (0.8ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1
|
43762
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Australia"], ["region_id", 2], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43763
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
43764
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43765
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 2]]
|
43766
|
+
[1m[36mRegion Load (0.6ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 ORDER BY lftq DESC LIMIT 1[0m
|
43767
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6], ["lftp", 3], ["lftq", 5], ["name", "New Zealand"], ["region_id", 2], ["rgt", 0.6666666666666666], ["rgtp", 2], ["rgtq", 3]]
|
43768
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43769
|
+
[1m[35mRegion Load (0.6ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
43770
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
43771
|
+
[1m[35m (0.3ms)[0m begin transaction
|
43772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43773
|
+
[1m[35mRegion Load (0.6ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43774
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43775
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
43776
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43777
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43778
|
+
[1m[36mRegion Load (0.5ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43779
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43780
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43781
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43782
|
+
[1m[36mRegion Load (0.5ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43783
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43784
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43785
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43786
|
+
[1m[36mRegion Load (8.9ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43787
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
43788
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43789
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "regions" SET "lftp" = 0, "lftq" = 0, "rgtp" = 0, "rgtq" = 0, "lft" = 0, "rgt" = 0 WHERE ("regions".lftq > 0)
|
43790
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
43791
|
+
[1m[35mRegion Load (0.4ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
43792
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43793
|
+
[1m[35m (0.3ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 2, "rgtp" = 1, "rgtq" = 1, "lft" = 0.5, "rgt" = 1.0 WHERE "regions"."id" = 1
|
43794
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43795
|
+
[1m[35mRegion Load (0.4ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
43796
|
+
[1m[36mRegion Load (4.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = 1 AND ("regions".lftq > 0) LIMIT 1[0m
|
43797
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43798
|
+
[1m[36mRegion Load (0.6ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
43799
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43800
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 2, "lftq" = 3, "rgtp" = 1, "rgtq" = 1, "lft" = 0.6666666666666666, "rgt" = 1.0 WHERE "regions"."id" = 2[0m
|
43801
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43802
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 2 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
43803
|
+
[1m[35mRegion Load (0.3ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1
|
43804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43805
|
+
[1m[35m (0.1ms)[0m UPDATE "regions" SET "lftp" = 1, "lftq" = 3, "rgtp" = 1, "rgtq" = 2, "lft" = 0.3333333333333333, "rgt" = 0.5 WHERE "regions"."id" = 3
|
43806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43807
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 3 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000
|
43808
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL AND ("regions".lftq > 0) ORDER BY lftq DESC LIMIT 1[0m
|
43809
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43810
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "regions" SET "lftp" = 1, "lftq" = 4, "rgtp" = 1, "rgtq" = 3, "lft" = 0.25, "rgt" = 0.3333333333333333 WHERE "regions"."id" = 4[0m
|
43811
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43812
|
+
[1m[36mRegion Load (0.2ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 4 AND ("regions"."id" >= 0) ORDER BY "regions"."id" ASC LIMIT 1000[0m
|
43813
|
+
[1m[35mRegion Load (0.4ms)[0m SELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC
|
43814
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
43815
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43816
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43817
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43818
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Earth"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43819
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43820
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43821
|
+
[1m[35mRegion Load (0.0ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1 [["id", 1]]
|
43822
|
+
[1m[36mRegion Load (0.3ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1[0m
|
43823
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Oceania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43824
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43825
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43826
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43827
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", true], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Krypton"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43829
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND (NULL OR lftq = 2 AND lftp = 1 OR lftq = 1 AND lftp = 0)
|
43830
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 't' AND ( 1 < "regions".lftp AND
|
43831
|
+
"regions".lft BETWEEN 0.5 AND 1.0
|
43832
|
+
)[0m
|
43833
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43835
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43836
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43837
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "Europe"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43838
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43839
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43840
|
+
[1m[36mRegion Load (0.0ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."id" = ? LIMIT 1[0m [["id", 1]]
|
43841
|
+
[1m[35mRegion Load (0.2ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 ORDER BY lftq DESC LIMIT 1
|
43842
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.6666666666666666], ["lftp", 2], ["lftq", 3], ["name", "Romania"], ["region_id", 1], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43843
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43844
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43845
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43846
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "Asia"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43847
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43848
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43849
|
+
[1m[35mRegion Load (0.1ms)[0m SELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1
|
43850
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "America"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
43851
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43852
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" ORDER BY rgt DESC, lftp ASC[0m
|
43853
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43854
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43855
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43856
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43857
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.5], ["lftp", 1], ["lftq", 2], ["name", "1"], ["region_id", nil], ["rgt", 1.0], ["rgtp", 1], ["rgtq", 1]]
|
43858
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43859
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43860
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43861
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.3333333333333333], ["lftp", 1], ["lftq", 3], ["name", "2"], ["region_id", nil], ["rgt", 0.5], ["rgtp", 1], ["rgtq", 2]]
|
43862
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43864
|
+
[1m[36mRegion Load (0.1ms)[0m [1mSELECT "regions".* FROM "regions" WHERE "regions"."fiction" = 'f' AND "regions"."region_id" IS NULL ORDER BY lftq DESC LIMIT 1[0m
|
43865
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "regions" ("fiction", "lft", "lftp", "lftq", "name", "region_id", "rgt", "rgtp", "rgtq") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["fiction", false], ["lft", 0.25], ["lftp", 1], ["lftq", 4], ["name", "3"], ["region_id", nil], ["rgt", 0.3333333333333333], ["rgtp", 1], ["rgtq", 3]]
|
43866
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43867
|
+
[1m[35m (0.1ms)[0m rollback transaction
|