bpo-44329: Refactor sqlite3 statement creation (GH-26566)
Call SQLite API's first, and return early in case of error. At the end, allocate the object and initialise members. We now avoid unneeded alloc/dealloc's in case the statement creation fails.
E
Erlend Egeberg Aasland committed
1c02655fb08043b3027748ca1179c416c21a4277
Parent: 3fe921c
Committed by GitHub <noreply@github.com>
on 6/8/2021, 3:00:56 PM