/ Check-in [f18f5f58]
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:Fix a signed integer overflow problem in the testcase() macro.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f18f5f5893a0d37ecedcfcfdddbe06cdbe0b4243
User & Date: drh 2011-04-11 15:35:24
Context
2011-04-11
15:36
Updates to the OS/2 patches. This change also move the location of a global variable declaration in shell.c which might effect other build targets. check-in: 73906b67 user: drh tags: trunk
15:35
Fix a signed integer overflow problem in the testcase() macro. check-in: f18f5f58 user: drh tags: trunk
13:57
Apply OS2 WAL patch. Changes to os_os2.c only. check-in: eac17106 user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/util.c.

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#endif

/*
** Routine needed to support the testcase() macro.
*/
#ifdef SQLITE_COVERAGE_TEST
void sqlite3Coverage(int x){
  static int dummy = 0;
  dummy += x;
}
#endif

#ifndef SQLITE_OMIT_FLOATING_POINT
/*
** Return true if the floating point value is Not a Number (NaN).
**







|
|







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#endif

/*
** Routine needed to support the testcase() macro.
*/
#ifdef SQLITE_COVERAGE_TEST
void sqlite3Coverage(int x){
  static unsigned dummy = 0;
  dummy += (unsigned)x;
}
#endif

#ifndef SQLITE_OMIT_FLOATING_POINT
/*
** Return true if the floating point value is Not a Number (NaN).
**