@@ -250,10 +250,10 @@ func traceCallback(ctx context.Context, mod api.Module, evt TraceEvent, pDB, pAr
250250 return rc
251251}
252252
253- // WalCheckpoint checkpoints a WAL database.
253+ // WALCheckpoint checkpoints a WAL database.
254254//
255255// https://sqlite.org/c3ref/wal_checkpoint_v2.html
256- func (c * Conn ) WalCheckpoint (schema string , mode CheckpointMode ) (nLog , nCkpt int , err error ) {
256+ func (c * Conn ) WALCheckpoint (schema string , mode CheckpointMode ) (nLog , nCkpt int , err error ) {
257257 defer c .arena .mark ()()
258258 nLogPtr := c .arena .new (ptrlen )
259259 nCkptPtr := c .arena .new (ptrlen )
@@ -266,19 +266,19 @@ func (c *Conn) WalCheckpoint(schema string, mode CheckpointMode) (nLog, nCkpt in
266266 return nLog , nCkpt , c .error (r )
267267}
268268
269- // WalAutoCheckpoint configures WAL auto-checkpoints.
269+ // WALAutoCheckpoint configures WAL auto-checkpoints.
270270//
271271// https://sqlite.org/c3ref/wal_autocheckpoint.html
272- func (c * Conn ) WalAutoCheckpoint (pages int ) error {
272+ func (c * Conn ) WALAutoCheckpoint (pages int ) error {
273273 r := c .call ("sqlite3_wal_autocheckpoint" , uint64 (c .handle ), uint64 (pages ))
274274 return c .error (r )
275275}
276276
277- // WalHook registers a callback function to be invoked
277+ // WALHook registers a callback function to be invoked
278278// each time data is committed to a database in WAL mode.
279279//
280280// https://sqlite.org/c3ref/wal_hook.html
281- func (c * Conn ) WalHook (cb func (db * Conn , schema string , pages int ) error ) {
281+ func (c * Conn ) WALHook (cb func (db * Conn , schema string , pages int ) error ) {
282282 var enable uint64
283283 if cb != nil {
284284 enable = 1
0 commit comments