Revert "remove many usingnamespace, introduce new ref count and ref leak debugging tools (#18353)"

This reverts commit a199b85f2b. It does not compile on Windows.
This commit is contained in:
Jarred Sumner
2025-04-01 08:35:51 -07:00
parent a199b85f2b
commit 4806e84cc1
99 changed files with 1012 additions and 1851 deletions

View File

@@ -809,9 +809,9 @@ pub const ErrorResponse = struct {
const error_code: JSC.Error =
// https://www.postgresql.org/docs/8.1/errcodes-appendix.html
if (code.eqlComptime("42601"))
JSC.Error.ERR_POSTGRES_SYNTAX_ERROR
else
JSC.Error.ERR_POSTGRES_SERVER_ERROR;
JSC.Error.ERR_POSTGRES_SYNTAX_ERROR
else
JSC.Error.ERR_POSTGRES_SERVER_ERROR;
const err = error_code.fmt(globalObject, "{s}", .{b.allocatedSlice()[0..b.len]});
inline for (possible_fields) |field| {