2814ce28c7ec02571f6dce4e72439719da953ff3 hiram Tue Apr 16 10:09:16 2019 -0700 using needMem() instead of stack memory to expand limit of JSON strings to 500,000,000 output refs #18869 diff --git src/lib/jsonWrite.c src/lib/jsonWrite.c index 8ed3e02..5be6dc8 100644 --- src/lib/jsonWrite.c +++ src/lib/jsonWrite.c @@ -1,259 +1,260 @@ /* jsonWrite - Helper routines for writing out JSON. */ /* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hash.h" #include "dystring.h" #include "sqlNum.h" #include "jsonParse.h" #include "jsonWrite.h" // Separator between elements; set this to "\n" to see elements on separate lines. // Newlines are fine in Javascript, e.g. in an embedded