sqlite: pass conflict type to conflict resolution handler · nodejs/node@3462263 · GitHub
Skip to content

Commit 3462263

Browse files
louwersaduh95
authored andcommitted
sqlite: pass conflict type to conflict resolution handler
PR-URL: #56352 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9761e7d commit 3462263

4 files changed

Lines changed: 298 additions & 42 deletions

File tree

doc/api/sqlite.md

Lines changed: 60 additions & 7 deletions

src/env_properties.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,13 @@
144144
V(entry_type_string, "entryType") \
145145
V(env_pairs_string, "envPairs") \
146146
V(env_var_settings_string, "envVarSettings") \
147+
V(err_sqlite_error_string, "ERR_SQLITE_ERROR") \
148+
V(errcode_string, "errcode") \
147149
V(errno_string, "errno") \
148150
V(error_string, "error") \
149-
V(events, "events") \
151+
V(errstr_string, "errstr") \
150152
V(events_waiting, "eventsWaiting") \
153+
V(events, "events") \
151154
V(exchange_string, "exchange") \
152155
V(expire_string, "expire") \
153156
V(exponent_string, "exponent") \

src/node_sqlite.cc

Lines changed: 51 additions & 15 deletions

0 commit comments

Comments
 (0)