mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Fix problems in test scripts. Add new test cases to improve test coverage. (CVS 5521)
FossilOrigin-Name: b65f493c7519e8a5ee632a395b57d45269741dda
This commit is contained in:
11
src/select.c
11
src/select.c
@@ -12,7 +12,7 @@
|
||||
** This file contains C code routines that are called by the parser
|
||||
** to handle SELECT statements in SQLite.
|
||||
**
|
||||
** $Id: select.c,v 1.460 2008/07/28 19:34:53 drh Exp $
|
||||
** $Id: select.c,v 1.461 2008/08/01 18:47:02 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -2017,10 +2017,11 @@ static int multiSelect(
|
||||
|
||||
/* Code the current SELECT statement
|
||||
*/
|
||||
switch( p->op ){
|
||||
case TK_EXCEPT: op = SRT_Except; break;
|
||||
case TK_UNION: op = SRT_Union; break;
|
||||
case TK_ALL: op = SRT_Table; break;
|
||||
if( p->op==TK_EXCEPT ){
|
||||
op = SRT_Except;
|
||||
}else{
|
||||
assert( p->op==TK_UNION );
|
||||
op = SRT_Union;
|
||||
}
|
||||
p->pPrior = 0;
|
||||
p->disallowOrderBy = 0;
|
||||
|
||||
Reference in New Issue
Block a user