active_record_simple_execute 0.9.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -1
  3. data/README.md +64 -44
  4. data/Rakefile +0 -9
  5. data/lib/active_record_simple_execute/version.rb +1 -3
  6. data/lib/active_record_simple_execute.rb +13 -22
  7. metadata +10 -114
  8. data/test/dummy_app/Rakefile +0 -7
  9. data/test/dummy_app/app/assets/config/manifest.js +0 -3
  10. data/test/dummy_app/app/assets/javascripts/application.js +0 -0
  11. data/test/dummy_app/app/assets/stylesheets/application.css +0 -3
  12. data/test/dummy_app/app/controllers/application_controller.rb +0 -3
  13. data/test/dummy_app/app/models/application_record.rb +0 -3
  14. data/test/dummy_app/app/models/post.rb +0 -3
  15. data/test/dummy_app/app/views/layouts/application.html.erb +0 -14
  16. data/test/dummy_app/config/application.rb +0 -70
  17. data/test/dummy_app/config/boot.rb +0 -10
  18. data/test/dummy_app/config/database.yml +0 -20
  19. data/test/dummy_app/config/environment.rb +0 -5
  20. data/test/dummy_app/config/environments/development.rb +0 -30
  21. data/test/dummy_app/config/environments/production.rb +0 -60
  22. data/test/dummy_app/config/environments/test.rb +0 -41
  23. data/test/dummy_app/config/initializers/backtrace_silencers.rb +0 -7
  24. data/test/dummy_app/config/initializers/inflections.rb +0 -10
  25. data/test/dummy_app/config/initializers/mime_types.rb +0 -5
  26. data/test/dummy_app/config/initializers/secret_token.rb +0 -11
  27. data/test/dummy_app/config/initializers/session_store.rb +0 -8
  28. data/test/dummy_app/config/initializers/wrap_parameters.rb +0 -14
  29. data/test/dummy_app/config/locales/en.yml +0 -5
  30. data/test/dummy_app/config/routes.rb +0 -6
  31. data/test/dummy_app/config/secrets.yml +0 -22
  32. data/test/dummy_app/config.ru +0 -4
  33. data/test/dummy_app/db/migrate/20210128155312_set_up_test_tables.rb +0 -28
  34. data/test/dummy_app/db/test +0 -0
  35. data/test/dummy_app/db/test.sqlite3 +0 -0
  36. data/test/dummy_app/log/test.log +0 -612
  37. data/test/test_helper.rb +0 -43
  38. data/test/unit/active_record_simple_execute_test.rb +0 -63
@@ -1,612 +0,0 @@
1
-  (1.1ms) SELECT sqlite_version(*)
2
-  (0.1ms) begin transaction
3
- -------------------------------------------------
4
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
5
- -------------------------------------------------
6
-  (0.0ms) rollback transaction
7
-  (0.0ms) begin transaction
8
- ----------------------------------------------
9
- ActiveRecordSimpleExecuteTest: test_no_results
10
- ----------------------------------------------
11
-  (0.2ms) select * from posts where orders.title = 'bar'
12
-  (0.0ms) rollback transaction
13
-  (0.0ms) begin transaction
14
- -----------------------------------------------
15
- ActiveRecordSimpleExecuteTest: test_has_results
16
- -----------------------------------------------
17
-  (0.1ms) select * from posts where orders.title = 'bar'
18
-  (0.0ms) rollback transaction
19
-  (0.7ms) SELECT sqlite_version(*)
20
-  (0.1ms) begin transaction
21
- -------------------------------------------------
22
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
23
- -------------------------------------------------
24
-  (0.0ms) rollback transaction
25
-  (0.0ms) begin transaction
26
- -----------------------------------------------
27
- ActiveRecordSimpleExecuteTest: test_has_results
28
- -----------------------------------------------
29
-  (0.1ms) select * from posts where posts.title = 'bar'
30
-  (0.0ms) rollback transaction
31
-  (0.0ms) begin transaction
32
- ----------------------------------------------
33
- ActiveRecordSimpleExecuteTest: test_no_results
34
- ----------------------------------------------
35
-  (0.1ms) select * from posts where posts.title = 'bar'
36
-  (0.0ms) rollback transaction
37
-  (1.0ms) SELECT sqlite_version(*)
38
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
39
-  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
40
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
41
- Migrating to SetUpTestTables (20210128155312)
42
-  (0.0ms) begin transaction
43
-  (0.4ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" varchar, "number" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
44
-  (0.1ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "post_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
45
-  (0.1ms) CREATE INDEX "index_comments_on_user_id" ON "comments" ("user_id")
46
-  (0.1ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")
47
-  (0.1ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
48
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210128155312"]]
49
-  (0.7ms) commit transaction
50
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
51
-  (0.0ms) begin transaction
52
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-05-20 05:52:52.993598"], ["updated_at", "2021-05-20 05:52:52.993598"]]
53
-  (2.0ms) commit transaction
54
-  (0.9ms) DELETE FROM posts;
55
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
56
-  (0.0ms) begin transaction
57
- -----------------------------------------------
58
- ActiveRecordSimpleExecuteTest: test_has_results
59
- -----------------------------------------------
60
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
61
-  (0.0ms) rollback transaction
62
-  (0.0ms) begin transaction
63
- -------------------------------------------------
64
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
65
- -------------------------------------------------
66
-  (0.1ms) rollback transaction
67
-  (0.0ms) begin transaction
68
- ----------------------------------------------
69
- ActiveRecordSimpleExecuteTest: test_no_results
70
- ----------------------------------------------
71
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
72
-  (0.0ms) rollback transaction
73
-  (0.7ms) SELECT sqlite_version(*)
74
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
75
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
76
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
77
-  (1.5ms) DELETE FROM posts;
78
-  (0.2ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
79
-  (0.0ms) begin transaction
80
- -----------------------------------------------
81
- ActiveRecordSimpleExecuteTest: test_has_results
82
- -----------------------------------------------
83
-  (0.0ms) SAVEPOINT active_record_1
84
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:53:30.883973"], ["updated_at", "2021-05-20 05:53:30.883973"]]
85
-  (0.0ms) RELEASE SAVEPOINT active_record_1
86
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
87
-  (0.2ms) rollback transaction
88
-  (0.0ms) begin transaction
89
- ----------------------------------------------
90
- ActiveRecordSimpleExecuteTest: test_no_results
91
- ----------------------------------------------
92
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
93
-  (0.0ms) rollback transaction
94
-  (0.0ms) begin transaction
95
- -------------------------------------------------
96
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
97
- -------------------------------------------------
98
-  (0.0ms) rollback transaction
99
-  (0.8ms) SELECT sqlite_version(*)
100
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
101
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
102
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
103
-  (1.3ms) DELETE FROM posts;
104
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
105
-  (0.1ms) begin transaction
106
- -----------------------------------------------
107
- ActiveRecordSimpleExecuteTest: test_has_results
108
- -----------------------------------------------
109
-  (0.0ms) SAVEPOINT active_record_1
110
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:53:54.976875"], ["updated_at", "2021-05-20 05:53:54.976875"]]
111
-  (0.0ms) RELEASE SAVEPOINT active_record_1
112
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
113
-  (0.2ms) rollback transaction
114
-  (0.1ms) begin transaction
115
- -------------------------------------------------
116
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
117
- -------------------------------------------------
118
-  (0.0ms) rollback transaction
119
-  (0.0ms) begin transaction
120
- ----------------------------------------------
121
- ActiveRecordSimpleExecuteTest: test_no_results
122
- ----------------------------------------------
123
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
124
-  (0.0ms) rollback transaction
125
-  (0.7ms) SELECT sqlite_version(*)
126
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
127
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
128
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
129
-  (1.5ms) DELETE FROM posts;
130
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
131
-  (0.0ms) begin transaction
132
- -------------------------------------------------
133
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
134
- -------------------------------------------------
135
-  (0.0ms) rollback transaction
136
-  (0.0ms) begin transaction
137
- -----------------------------------------------
138
- ActiveRecordSimpleExecuteTest: test_has_results
139
- -----------------------------------------------
140
-  (0.0ms) SAVEPOINT active_record_1
141
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:54:08.825470"], ["updated_at", "2021-05-20 05:54:08.825470"]]
142
-  (0.0ms) RELEASE SAVEPOINT active_record_1
143
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
144
-  (0.2ms) rollback transaction
145
-  (0.0ms) begin transaction
146
- ----------------------------------------------
147
- ActiveRecordSimpleExecuteTest: test_no_results
148
- ----------------------------------------------
149
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
150
-  (0.0ms) rollback transaction
151
-  (0.7ms) SELECT sqlite_version(*)
152
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
153
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
154
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
155
-  (1.8ms) DELETE FROM posts;
156
-  (0.3ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
157
-  (0.1ms) begin transaction
158
- -----------------------------------------------
159
- ActiveRecordSimpleExecuteTest: test_has_results
160
- -----------------------------------------------
161
-  (0.0ms) SAVEPOINT active_record_1
162
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:54:33.237152"], ["updated_at", "2021-05-20 05:54:33.237152"]]
163
-  (0.0ms) RELEASE SAVEPOINT active_record_1
164
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
165
-  (0.2ms) rollback transaction
166
-  (0.0ms) begin transaction
167
- ----------------------------------------------
168
- ActiveRecordSimpleExecuteTest: test_no_results
169
- ----------------------------------------------
170
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
171
-  (0.0ms) rollback transaction
172
-  (0.0ms) begin transaction
173
- -------------------------------------------------
174
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
175
- -------------------------------------------------
176
-  (0.0ms) rollback transaction
177
-  (0.7ms) SELECT sqlite_version(*)
178
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
179
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
180
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
181
-  (1.3ms) DELETE FROM posts;
182
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
183
-  (0.0ms) begin transaction
184
- -----------------------------------------------
185
- ActiveRecordSimpleExecuteTest: test_has_results
186
- -----------------------------------------------
187
-  (0.0ms) SAVEPOINT active_record_1
188
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:54:45.670452"], ["updated_at", "2021-05-20 05:54:45.670452"]]
189
-  (0.0ms) RELEASE SAVEPOINT active_record_1
190
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
191
-  (0.2ms) rollback transaction
192
-  (0.0ms) begin transaction
193
- ----------------------------------------------
194
- ActiveRecordSimpleExecuteTest: test_no_results
195
- ----------------------------------------------
196
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
197
-  (0.0ms) rollback transaction
198
-  (0.0ms) begin transaction
199
- -------------------------------------------------
200
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
201
- -------------------------------------------------
202
-  (0.0ms) rollback transaction
203
-  (1.1ms) SELECT sqlite_version(*)
204
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
205
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
206
- ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
207
-  (1.4ms) DELETE FROM posts;
208
-  (0.6ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
209
-  (0.0ms) begin transaction
210
- ----------------------------------------------
211
- ActiveRecordSimpleExecuteTest: test_no_results
212
- ----------------------------------------------
213
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
214
-  (0.0ms) rollback transaction
215
-  (0.0ms) begin transaction
216
- -------------------------------------------------
217
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
218
- -------------------------------------------------
219
-  (0.0ms) rollback transaction
220
-  (0.0ms) begin transaction
221
- -----------------------------------------------
222
- ActiveRecordSimpleExecuteTest: test_has_results
223
- -----------------------------------------------
224
-  (0.0ms) SAVEPOINT active_record_1
225
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:56:31.198693"], ["updated_at", "2021-05-20 05:56:31.198693"]]
226
-  (0.0ms) RELEASE SAVEPOINT active_record_1
227
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
228
-  (0.2ms) rollback transaction
229
-  (1.1ms) SELECT sqlite_version(*)
230
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
231
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
232
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
233
-  (1.0ms) DELETE FROM posts;
234
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
235
-  (0.0ms) begin transaction
236
- -----------------------------------------------
237
- ActiveRecordSimpleExecuteTest: test_has_results
238
- -----------------------------------------------
239
-  (0.0ms) SAVEPOINT active_record_1
240
- Post Create (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:58:47.688330"], ["updated_at", "2021-05-20 05:58:47.688330"]]
241
-  (0.0ms) RELEASE SAVEPOINT active_record_1
242
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
243
-  (0.2ms) rollback transaction
244
-  (0.0ms) begin transaction
245
- ----------------------------------------------
246
- ActiveRecordSimpleExecuteTest: test_no_results
247
- ----------------------------------------------
248
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
249
-  (0.0ms) rollback transaction
250
-  (0.0ms) begin transaction
251
- -------------------------------------------------
252
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
253
- -------------------------------------------------
254
-  (0.1ms) rollback transaction
255
-  (1.1ms) SELECT sqlite_version(*)
256
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
257
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
258
- ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
259
-  (1.3ms) DELETE FROM posts;
260
-  (0.6ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
261
-  (0.1ms) begin transaction
262
- -----------------------------------------------
263
- ActiveRecordSimpleExecuteTest: test_has_results
264
- -----------------------------------------------
265
-  (0.0ms) SAVEPOINT active_record_1
266
- Post Create (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:59:21.953471"], ["updated_at", "2021-05-20 05:59:21.953471"]]
267
-  (0.0ms) RELEASE SAVEPOINT active_record_1
268
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
269
-  (0.2ms) rollback transaction
270
-  (0.0ms) begin transaction
271
- ----------------------------------------------
272
- ActiveRecordSimpleExecuteTest: test_no_results
273
- ----------------------------------------------
274
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
275
-  (0.1ms) rollback transaction
276
-  (0.0ms) begin transaction
277
- -------------------------------------------------
278
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
279
- -------------------------------------------------
280
-  (0.0ms) rollback transaction
281
-  (0.7ms) SELECT sqlite_version(*)
282
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
283
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
284
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
285
-  (1.7ms) DELETE FROM posts;
286
-  (0.2ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
287
-  (0.0ms) begin transaction
288
- -----------------------------------------------
289
- ActiveRecordSimpleExecuteTest: test_has_results
290
- -----------------------------------------------
291
-  (0.0ms) SAVEPOINT active_record_1
292
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 05:59:59.169170"], ["updated_at", "2021-05-20 05:59:59.169170"]]
293
-  (0.0ms) RELEASE SAVEPOINT active_record_1
294
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
295
-  (0.2ms) rollback transaction
296
-  (0.0ms) begin transaction
297
- ----------------------------------------------
298
- ActiveRecordSimpleExecuteTest: test_no_results
299
- ----------------------------------------------
300
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
301
-  (0.0ms) rollback transaction
302
-  (0.0ms) begin transaction
303
- -------------------------------------------------
304
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
305
- -------------------------------------------------
306
-  (0.0ms) rollback transaction
307
-  (0.7ms) SELECT sqlite_version(*)
308
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
309
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
310
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
311
-  (1.4ms) DELETE FROM posts;
312
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
313
-  (0.0ms) begin transaction
314
- -------------------------------------------------
315
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
316
- -------------------------------------------------
317
-  (0.0ms) rollback transaction
318
-  (0.0ms) begin transaction
319
- -----------------------------------------------
320
- ActiveRecordSimpleExecuteTest: test_has_results
321
- -----------------------------------------------
322
-  (0.0ms) SAVEPOINT active_record_1
323
- Post Create (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:00:32.253301"], ["updated_at", "2021-05-20 06:00:32.253301"]]
324
-  (0.0ms) RELEASE SAVEPOINT active_record_1
325
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
326
-  (0.2ms) rollback transaction
327
-  (0.0ms) begin transaction
328
- ----------------------------------------------
329
- ActiveRecordSimpleExecuteTest: test_no_results
330
- ----------------------------------------------
331
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
332
-  (0.0ms) rollback transaction
333
-  (0.7ms) SELECT sqlite_version(*)
334
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
335
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
336
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
337
-  (1.4ms) DELETE FROM posts;
338
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
339
-  (0.0ms) begin transaction
340
- -----------------------------------------------
341
- ActiveRecordSimpleExecuteTest: test_has_results
342
- -----------------------------------------------
343
-  (0.1ms) SAVEPOINT active_record_1
344
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:01:41.533312"], ["updated_at", "2021-05-20 06:01:41.533312"]]
345
-  (0.0ms) RELEASE SAVEPOINT active_record_1
346
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
347
-  (0.2ms) rollback transaction
348
-  (0.0ms) begin transaction
349
- ----------------------------------------------
350
- ActiveRecordSimpleExecuteTest: test_no_results
351
- ----------------------------------------------
352
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
353
-  (0.0ms) rollback transaction
354
-  (0.0ms) begin transaction
355
- -------------------------------------------------
356
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
357
- -------------------------------------------------
358
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
359
-  (0.0ms) rollback transaction
360
-  (0.8ms) SELECT sqlite_version(*)
361
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
362
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
363
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
364
-  (1.4ms) DELETE FROM posts;
365
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
366
-  (0.0ms) begin transaction
367
- -----------------------------------------------
368
- ActiveRecordSimpleExecuteTest: test_has_results
369
- -----------------------------------------------
370
-  (0.0ms) SAVEPOINT active_record_1
371
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:02:01.592052"], ["updated_at", "2021-05-20 06:02:01.592052"]]
372
-  (0.0ms) RELEASE SAVEPOINT active_record_1
373
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
374
-  (0.2ms) rollback transaction
375
-  (0.0ms) begin transaction
376
- ----------------------------------------------
377
- ActiveRecordSimpleExecuteTest: test_no_results
378
- ----------------------------------------------
379
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
380
-  (0.0ms) rollback transaction
381
-  (0.0ms) begin transaction
382
- -------------------------------------------------
383
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
384
- -------------------------------------------------
385
-  (0.0ms) SAVEPOINT active_record_1
386
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:02:01.594501"], ["updated_at", "2021-05-20 06:02:01.594501"]]
387
-  (0.0ms) RELEASE SAVEPOINT active_record_1
388
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
389
-  (0.2ms) rollback transaction
390
-  (1.1ms) SELECT sqlite_version(*)
391
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
392
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
393
- ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
394
-  (1.5ms) DELETE FROM posts;
395
-  (0.6ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
396
-  (0.0ms) begin transaction
397
- ---------------------------------------------------
398
- ActiveRecordSimpleExecuteTest: test_exposes_version
399
- ---------------------------------------------------
400
-  (0.0ms) rollback transaction
401
-  (0.0ms) begin transaction
402
- -----------------------------------------------
403
- ActiveRecordSimpleExecuteTest: test_has_results
404
- -----------------------------------------------
405
-  (0.0ms) SAVEPOINT active_record_1
406
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:11:33.566934"], ["updated_at", "2021-05-20 06:11:33.566934"]]
407
-  (0.0ms) RELEASE SAVEPOINT active_record_1
408
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
409
-  (0.2ms) rollback transaction
410
-  (0.0ms) begin transaction
411
- ----------------------------------------------
412
- ActiveRecordSimpleExecuteTest: test_no_results
413
- ----------------------------------------------
414
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
415
-  (0.0ms) rollback transaction
416
-  (0.0ms) begin transaction
417
- -------------------------------------------------
418
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
419
- -------------------------------------------------
420
-  (0.1ms) SAVEPOINT active_record_1
421
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:11:33.569228"], ["updated_at", "2021-05-20 06:11:33.569228"]]
422
-  (0.0ms) RELEASE SAVEPOINT active_record_1
423
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
424
-  (0.2ms) rollback transaction
425
-  (1.1ms) SELECT sqlite_version(*)
426
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
427
-  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
428
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
429
- Migrating to SetUpTestTables (20210128155312)
430
-  (0.1ms) begin transaction
431
-  (0.4ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" varchar, "number" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
432
-  (0.1ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "post_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
433
-  (0.1ms) CREATE INDEX "index_comments_on_user_id" ON "comments" ("user_id")
434
-  (0.1ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")
435
-  (0.1ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
436
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210128155312"]]
437
-  (0.8ms) commit transaction
438
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
439
-  (0.0ms) begin transaction
440
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-05-20 06:29:00.161778"], ["updated_at", "2021-05-20 06:29:00.161778"]]
441
-  (0.8ms) commit transaction
442
-  (0.6ms) DELETE FROM posts;
443
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
444
-  (0.0ms) begin transaction
445
- -----------------------------------------------
446
- ActiveRecordSimpleExecuteTest: test_has_results
447
- -----------------------------------------------
448
-  (0.1ms) SAVEPOINT active_record_1
449
- Post Create (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:29:00.209495"], ["updated_at", "2021-05-20 06:29:00.209495"]]
450
-  (0.0ms) RELEASE SAVEPOINT active_record_1
451
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
452
-  (0.2ms) rollback transaction
453
-  (0.0ms) begin transaction
454
- ----------------------------------------------
455
- ActiveRecordSimpleExecuteTest: test_no_results
456
- ----------------------------------------------
457
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
458
-  (0.0ms) rollback transaction
459
-  (0.0ms) begin transaction
460
- -------------------------------------------------
461
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
462
- -------------------------------------------------
463
-  (0.0ms) SAVEPOINT active_record_1
464
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:29:00.212013"], ["updated_at", "2021-05-20 06:29:00.212013"]]
465
-  (0.0ms) RELEASE SAVEPOINT active_record_1
466
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
467
-  (0.2ms) rollback transaction
468
-  (0.0ms) begin transaction
469
- ---------------------------------------------------
470
- ActiveRecordSimpleExecuteTest: test_exposes_version
471
- ---------------------------------------------------
472
-  (0.0ms) rollback transaction
473
-  (0.7ms) SELECT sqlite_version(*)
474
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
475
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
476
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
477
-  (1.2ms) DELETE FROM posts;
478
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
479
-  (0.0ms) begin transaction
480
- ---------------------------------------------------
481
- ActiveRecordSimpleExecuteTest: test_exposes_version
482
- ---------------------------------------------------
483
-  (0.0ms) rollback transaction
484
-  (0.0ms) begin transaction
485
- -----------------------------------------------
486
- ActiveRecordSimpleExecuteTest: test_has_results
487
- -----------------------------------------------
488
-  (0.0ms) SAVEPOINT active_record_1
489
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:29:04.738175"], ["updated_at", "2021-05-20 06:29:04.738175"]]
490
-  (0.0ms) RELEASE SAVEPOINT active_record_1
491
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
492
-  (0.2ms) rollback transaction
493
-  (0.0ms) begin transaction
494
- ----------------------------------------------
495
- ActiveRecordSimpleExecuteTest: test_no_results
496
- ----------------------------------------------
497
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
498
-  (0.0ms) rollback transaction
499
-  (0.0ms) begin transaction
500
- -------------------------------------------------
501
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
502
- -------------------------------------------------
503
-  (0.0ms) SAVEPOINT active_record_1
504
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:29:04.740508"], ["updated_at", "2021-05-20 06:29:04.740508"]]
505
-  (0.0ms) RELEASE SAVEPOINT active_record_1
506
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
507
-  (0.2ms) rollback transaction
508
-  (0.7ms) SELECT sqlite_version(*)
509
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
510
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
511
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
512
-  (1.2ms) DELETE FROM posts;
513
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
514
-  (0.0ms) begin transaction
515
- ----------------------------------------------
516
- ActiveRecordSimpleExecuteTest: test_no_results
517
- ----------------------------------------------
518
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
519
-  (0.0ms) rollback transaction
520
-  (0.0ms) begin transaction
521
- ---------------------------------------------------
522
- ActiveRecordSimpleExecuteTest: test_exposes_version
523
- ---------------------------------------------------
524
-  (0.0ms) rollback transaction
525
-  (0.0ms) begin transaction
526
- -----------------------------------------------
527
- ActiveRecordSimpleExecuteTest: test_has_results
528
- -----------------------------------------------
529
-  (0.0ms) SAVEPOINT active_record_1
530
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:31:43.704792"], ["updated_at", "2021-05-20 06:31:43.704792"]]
531
-  (0.0ms) RELEASE SAVEPOINT active_record_1
532
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
533
-  (0.2ms) rollback transaction
534
-  (0.0ms) begin transaction
535
- -------------------------------------------------
536
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
537
- -------------------------------------------------
538
-  (0.0ms) SAVEPOINT active_record_1
539
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:31:43.706486"], ["updated_at", "2021-05-20 06:31:43.706486"]]
540
-  (0.0ms) RELEASE SAVEPOINT active_record_1
541
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
542
-  (0.2ms) rollback transaction
543
-  (0.7ms) SELECT sqlite_version(*)
544
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
545
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
546
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
547
-  (1.5ms) DELETE FROM posts;
548
-  (0.1ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
549
-  (0.0ms) begin transaction
550
- ----------------------------------------------
551
- ActiveRecordSimpleExecuteTest: test_no_results
552
- ----------------------------------------------
553
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
554
-  (0.1ms) rollback transaction
555
-  (0.0ms) begin transaction
556
- -------------------------------------------------
557
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
558
- -------------------------------------------------
559
-  (0.0ms) SAVEPOINT active_record_1
560
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:45:14.401653"], ["updated_at", "2021-05-20 06:45:14.401653"]]
561
-  (0.0ms) RELEASE SAVEPOINT active_record_1
562
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
563
-  (0.2ms) rollback transaction
564
-  (0.0ms) begin transaction
565
- -----------------------------------------------
566
- ActiveRecordSimpleExecuteTest: test_has_results
567
- -----------------------------------------------
568
-  (0.0ms) SAVEPOINT active_record_1
569
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 06:45:14.403420"], ["updated_at", "2021-05-20 06:45:14.403420"]]
570
-  (0.0ms) RELEASE SAVEPOINT active_record_1
571
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
572
-  (0.2ms) rollback transaction
573
-  (0.0ms) begin transaction
574
- ---------------------------------------------------
575
- ActiveRecordSimpleExecuteTest: test_exposes_version
576
- ---------------------------------------------------
577
-  (0.0ms) rollback transaction
578
-  (1.2ms) SELECT sqlite_version(*)
579
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
580
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
581
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
582
-  (1.4ms) DELETE FROM posts;
583
-  (0.6ms) UPDATE `sqlite_sequence` SET `seq` = 0 WHERE `name` = 'posts';
584
-  (0.0ms) begin transaction
585
- ---------------------------------------------------
586
- ActiveRecordSimpleExecuteTest: test_exposes_version
587
- ---------------------------------------------------
588
-  (0.0ms) rollback transaction
589
-  (0.0ms) begin transaction
590
- ----------------------------------------------
591
- ActiveRecordSimpleExecuteTest: test_no_results
592
- ----------------------------------------------
593
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
594
-  (0.0ms) rollback transaction
595
-  (0.0ms) begin transaction
596
- -------------------------------------------------
597
- ActiveRecordSimpleExecuteTest: test_with_sql_vars
598
- -------------------------------------------------
599
-  (0.0ms) SAVEPOINT active_record_1
600
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 07:00:33.593182"], ["updated_at", "2021-05-20 07:00:33.593182"]]
601
-  (0.0ms) RELEASE SAVEPOINT active_record_1
602
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
603
-  (0.2ms) rollback transaction
604
-  (0.0ms) begin transaction
605
- -----------------------------------------------
606
- ActiveRecordSimpleExecuteTest: test_has_results
607
- -----------------------------------------------
608
-  (0.0ms) SAVEPOINT active_record_1
609
- Post Create (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "bar"], ["created_at", "2021-05-20 07:00:33.595145"], ["updated_at", "2021-05-20 07:00:33.595145"]]
610
-  (0.0ms) RELEASE SAVEPOINT active_record_1
611
-  (0.1ms) SELECT * FROM posts WHERE posts.title = 'bar'
612
-  (0.2ms) rollback transaction