/ Check-in [a98f07d9]
Login

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

Overview
Comment:Compiler warning fix associated with date/time functions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a98f07d942f0b8cc15da57b84e6340efae72ff19516fa04624242240af43a697
User & Date: drh 2017-07-24 14:44:15
Context
2017-07-24
15:29
Additional documentation on sqlite3_bind_pointer() and sqlite3_result_pointer(). No changes to code. check-in: b1572d4e user: drh tags: trunk
14:44
Compiler warning fix associated with date/time functions. check-in: a98f07d9 user: drh tags: trunk
2017-07-21
20:31
Remove stray (and incomplete) comment from a test file. No changes to code. check-in: 8de20fc7 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

  1658   1658     {nArg, SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
  1659   1659      SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, #zName, {0} }
  1660   1660   #define DFUNCTION(zName, nArg, iArg, bNC, xFunc) \
  1661   1661     {nArg, SQLITE_FUNC_SLOCHNG|SQLITE_UTF8, \
  1662   1662      0, 0, xFunc, 0, #zName, {0} }
  1663   1663   #define PURE_DATE(zName, nArg, iArg, bNC, xFunc) \
  1664   1664     {nArg, SQLITE_FUNC_SLOCHNG|SQLITE_UTF8|SQLITE_FUNC_CONSTANT, \
  1665         -   (void*)xFunc, 0, xFunc, 0, #zName, {0} }
         1665  +   (void*)&sqlite3Config, 0, xFunc, 0, #zName, {0} }
  1666   1666   #define FUNCTION2(zName, nArg, iArg, bNC, xFunc, extraFlags) \
  1667   1667     {nArg,SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL)|extraFlags,\
  1668   1668      SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, #zName, {0} }
  1669   1669   #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
  1670   1670     {nArg, SQLITE_FUNC_SLOCHNG|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
  1671   1671      pArg, 0, xFunc, 0, #zName, }
  1672   1672   #define LIKEFUNC(zName, nArg, arg, flags) \