/ Check-in [8b9c8eab]
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:Remove an unreachable branch from sqlite3SkipAccumulatorLoad().
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8b9c8eab60b692e45c55a718d76b70e63040416040696907463692cbf83fb0c5
User & Date: drh 2018-01-23 19:24:54
Context
2018-01-23
20:22
Increase the version number to 3.23.0 for the next development cycle. check-in: b58b60b2 user: drh tags: trunk
19:24
Remove an unreachable branch from sqlite3SkipAccumulatorLoad(). check-in: 8b9c8eab user: drh tags: trunk
17:33
Work around a problem with GCC on 32-bit machines that cause the CAST operator to generate a floating-point result for strings that could be represented as very large integers. check-in: 1b027319 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/func.c.

31
32
33
34
35
36
37

38
39
40
41
42
43
44
45
}

/*
** Indicate that the accumulator load should be skipped on this
** iteration of the aggregate loop.
*/
static void sqlite3SkipAccumulatorLoad(sqlite3_context *context){

  if( context->isError==0 ) context->isError = -1;
  context->skipFlag = 1;
}

/*
** Implementation of the non-aggregate min() and max() functions
*/
static void minmaxFunc(







>
|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
}

/*
** Indicate that the accumulator load should be skipped on this
** iteration of the aggregate loop.
*/
static void sqlite3SkipAccumulatorLoad(sqlite3_context *context){
  assert( context->isError<=0 );
  context->isError = -1;
  context->skipFlag = 1;
}

/*
** Implementation of the non-aggregate min() and max() functions
*/
static void minmaxFunc(