Prompt:
We need to make an repro to prove some behiour about sqlite3. We need to make a single C file which demonstrates it's possible to open two connections to the same in memory database one with read/write and one with read only. To prove this we should create the two connections then do three queries. One on the rw connection to create and populate a table. One on the ro connection to show it can see these rows and finally a query on the ro connection which attemtps (and fails) to write to this table. And each query we should printf and explanation of what is happening. Finally we should add a bash script which compiles and runs this file. Think super hard about this. Let do the first steps of this now.
Cost:
Total cost: $0.78
Total duration (API): 4m 57.5s
Total duration (wall): 11m 10.8s