Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.
|Comment:||Fix a typo in the documentation for sqlite3_snprintf(). No changes to code.|
|Downloads:||Tarball | ZIP archive | SQL archive|
|Timelines:||family | ancestors | descendants | both | trunk|
|Files:||files | file ages | folders|
|User & Date:||drh 2011-01-24 19:45:07|
|20:18||Modify the test_quote.c demonstration shim so that it works when SQLITE_THREADSAFE=0 is defined. (check-in: b70bccca user: drh tags: trunk)|
|19:45||Fix a typo in the documentation for sqlite3_snprintf(). No changes to code. (check-in: 8d106541 user: drh tags: trunk)|
|19:14||Fix a harmless compiler warning (a shadowed local variable) in analyze.c. (check-in: a1ad7fb3 user: drh tags: trunk)|
Changes to src/sqlite.h.in.
1845 1845 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their 1846 1846 ** results into memory obtained from [sqlite3_malloc()]. 1847 1847 ** The strings returned by these two routines should be 1848 1848 ** released by [sqlite3_free()]. ^Both routines return a 1849 1849 ** NULL pointer if [sqlite3_malloc()] is unable to allocate enough 1850 1850 ** memory to hold the resulting string. 1851 1851 ** 1852 -** ^(In sqlite3_snprintf() routine is similar to "snprintf()" from 1852 +** ^(The sqlite3_snprintf() routine is similar to "snprintf()" from 1853 1853 ** the standard C library. The result is written into the 1854 1854 ** buffer supplied as the second parameter whose size is given by 1855 1855 ** the first parameter. Note that the order of the 1856 1856 ** first two parameters is reversed from snprintf().)^ This is an 1857 1857 ** historical accident that cannot be fixed without breaking 1858 1858 ** backwards compatibility. ^(Note also that sqlite3_snprintf() 1859 1859 ** returns a pointer to its buffer instead of the number of