/ Check-in [5314ca39]
Login

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

Overview
Comment:Fix a typo in the IS_BIG_INT macro used by coverage test instrumentation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:5314ca3928dab1c76fa4ec5dbe110e3212c95e9f
User & Date: dan 2010-07-14 06:20:27
Context
2010-07-14
07:06
Test that a corrupted WAL hash-table does not put the library into an infinite loop. check-in: c73886ed user: dan tags: trunk
06:20
Fix a typo in the IS_BIG_INT macro used by coverage test instrumentation. check-in: 5314ca39 user: dan tags: trunk
01:45
Fix the unix driver to return an I/O error if unlink fails for any reason other than the file not existing in the first place. check-in: 90d73c66 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to src/sqliteInt.h.

273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
#endif

/*
** Return true (non-zero) if the input is a integer that is too large
** to fit in 32-bits.  This macro is used inside of various testcase()
** macros to verify that we have tested SQLite for large-file support.
*/
#define IS_BIG_INT(X)  (((X)&(i64)0xffffffff)!=0)

/*
** The macro unlikely() is a hint that surrounds a boolean
** expression that is usually false.  Macro likely() surrounds
** a boolean expression that is usually true.  GCC is able to
** use these hints to generate better code, sometimes.
*/







|







273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
#endif

/*
** Return true (non-zero) if the input is a integer that is too large
** to fit in 32-bits.  This macro is used inside of various testcase()
** macros to verify that we have tested SQLite for large-file support.
*/
#define IS_BIG_INT(X)  (((X)&~(i64)0xffffffff)!=0)

/*
** The macro unlikely() is a hint that surrounds a boolean
** expression that is usually false.  Macro likely() surrounds
** a boolean expression that is usually true.  GCC is able to
** use these hints to generate better code, sometimes.
*/