File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1409,6 +1409,7 @@ static void exprAnalyze(
1409
1409
pNew -> eOperator = (operatorMask (pDup -> op ) + eExtraOp ) & opMask ;
1410
1410
}else if ( op == TK_ISNULL && 0 == sqlite3ExprCanBeNull (pLeft ) ){
1411
1411
pExpr -> op = TK_TRUEFALSE ;
1412
+ pExpr -> u .zToken = "false" ;
1412
1413
ExprSetProperty (pExpr , EP_IsFalse );
1413
1414
pTerm -> prereqAll = 0 ;
1414
1415
pTerm -> eOperator = 0 ;
Original file line number Diff line number Diff line change @@ -86,6 +86,16 @@ do_vmstep_test 1.5.2 {
86
86
)
87
87
} +100000 {1000}
88
88
89
+ #-------------------------------------------------------------------------
90
+ reset_db
91
+ do_execsql_test 2.0 {
92
+ CREATE TABLE T1(a INTEGER PRIMARY KEY, b);
93
+ CREATE TABLE T3(k, v);
94
+ }
95
+
96
+ do_execsql_test 2.1 {
97
+ SELECT * FROM (SELECT a, b FROM t1) LEFT JOIN t3 ON a IS NULL;
98
+ }
89
99
90
100
finish_test
91
101
You can’t perform that action at this time.
0 commit comments