SQLite

Check-in [53491688cf]
Login

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

Overview
Comment:Do not typedef Tcl_Size if it is already #defined.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 53491688cf622ca317b3ff56156e601c2bdfffc94e4fe471ca82d5ba1d9e875f
User & Date: drh 2024-10-22 16:19:14.101
Context
2024-10-22
19:33
Add the SQLITE_IOCAP_SUBPAGE_READ bit to the possible returns values from xDeviceCharacteristics method of the system-IO abstract class. The direct-overflow-read optimization is disabled for any VFS that does not set this bit. The bit is set for standard VFSes. (check-in: 6e7d498cda user: drh tags: trunk)
18:00
Add the SQLITE_IOCAP_BYPASS device characteristic. Do not allow the SQLITE_DIRECT_OVERFLOW_READ optimization if that capability is missing. (check-in: f50ae00ce9 user: drh tags: bypass-iocap)
16:19
Do not typedef Tcl_Size if it is already #defined. (check-in: 53491688cf user: drh tags: trunk)
10:29
Further changes to sqlite3_rsync.c to work around Windows issues. (check-in: e2bd3219d9 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/tclsqlite.c.
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ifndef SQLITE_TCLAPI
#   define SQLITE_TCLAPI
# endif
#endif
/* Compatability between Tcl8.6 and Tcl9.0 */
#if TCL_MAJOR_VERSION==9
# define CONST const
#else
  typedef int Tcl_Size;
#endif
/**** End copy of tclsqlite.h ****/

#include <errno.h>

/*







|







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ifndef SQLITE_TCLAPI
#   define SQLITE_TCLAPI
# endif
#endif
/* Compatability between Tcl8.6 and Tcl9.0 */
#if TCL_MAJOR_VERSION==9
# define CONST const
#elif !defined(Tcl_Size)
  typedef int Tcl_Size;
#endif
/**** End copy of tclsqlite.h ****/

#include <errno.h>

/*
Changes to src/tclsqlite.h.
31
32
33
34
35
36
37
38
39
40
41
42
#endif

/******  Any edits to this file must mirrored in tclsqlite.c ***********/

/* Compatability between Tcl8.6 and Tcl9.0 */
#if TCL_MAJOR_VERSION==9
# define CONST const
#else
  typedef int Tcl_Size;
#endif

/******  Any edits to this file must mirrored in tclsqlite.c ***********/







|




31
32
33
34
35
36
37
38
39
40
41
42
#endif

/******  Any edits to this file must mirrored in tclsqlite.c ***********/

/* Compatability between Tcl8.6 and Tcl9.0 */
#if TCL_MAJOR_VERSION==9
# define CONST const
#elif !defined(Tcl_Size)
  typedef int Tcl_Size;
#endif

/******  Any edits to this file must mirrored in tclsqlite.c ***********/