/ Check-in [8463f7e7]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Avoid exporting sqlite3_json_init() from amalgamation builds.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dll-build-fix
Files: files | file ages | folders
SHA1: 8463f7e7908d0a96ed036377dfa3805328c62925
User & Date: dan 2015-10-14 18:45:42
Context
2015-10-14
19:44
Fix fuzzcheck.c so that it assumes that JSON1 is already compiled in and does not need to be initialized further. Closed-Leaf check-in: ec003958 user: drh tags: dll-build-fix
18:45
Avoid exporting sqlite3_json_init() from amalgamation builds. check-in: 8463f7e7 user: dan tags: dll-build-fix
12:29
Version 3.9.0 check-in: a721fc0d user: drh tags: trunk, release, version-3.9.0
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/misc/json1.c.

  2018   2018       rc = sqlite3_create_module(db, aMod[i].zName, aMod[i].pModule, 0);
  2019   2019     }
  2020   2020   #endif
  2021   2021     return rc;
  2022   2022   }
  2023   2023   
  2024   2024   
         2025  +#ifndef SQLITE_CORE
  2025   2026   #ifdef _WIN32
  2026   2027   __declspec(dllexport)
  2027   2028   #endif
  2028   2029   int sqlite3_json_init(
  2029   2030     sqlite3 *db, 
  2030   2031     char **pzErrMsg, 
  2031   2032     const sqlite3_api_routines *pApi
  2032   2033   ){
  2033   2034     SQLITE_EXTENSION_INIT2(pApi);
  2034   2035     (void)pzErrMsg;  /* Unused parameter */
  2035   2036     return sqlite3Json1Init(db);
  2036   2037   }
         2038  +#endif
  2037   2039   #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_JSON1) */