From dcf823738378fd494d857d4645ad185e0273745c Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Fri, 3 Jan 2025 10:19:32 -0800 Subject: [PATCH] Update src/node_sqlite.cc Co-authored-by: Antoine du Hamel --- src/node_sqlite.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_sqlite.cc b/src/node_sqlite.cc index 93e32940554123..5c289d4fda030a 100644 --- a/src/node_sqlite.cc +++ b/src/node_sqlite.cc @@ -1035,7 +1035,7 @@ bool StatementSync::BindValue(const Local& value, const int index) { statement_, index, *val, val.length(), SQLITE_TRANSIENT); } else if (value->IsNull()) { r = sqlite3_bind_null(statement_, index); - } else if (value->IsArrayBufferView() || value->IsDataView()) { + } else if (value->IsArrayBufferView()) { ArrayBufferViewContents buf(value); r = sqlite3_bind_blob( statement_, index, buf.data(), buf.length(), SQLITE_TRANSIENT);