diff options
author | drh <drh@noemail.net> | 2013-10-23 13:30:58 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-10-23 13:30:58 +0000 |
commit | ad124329ab8e45dafc04ca612c87768843d9ed4b (patch) | |
tree | 3c114a5fe81269f2e43c2a576527087ba41872fb /src/expr.c | |
parent | ec95c4417559b3f9c0fc43886bed9219c78a48bf (diff) | |
download | sqlite-ad124329ab8e45dafc04ca612c87768843d9ed4b.tar.gz sqlite-ad124329ab8e45dafc04ca612c87768843d9ed4b.zip |
Some inserts and queries working for multi-column primary keys
and WITHOUT ROWID.
FossilOrigin-Name: b21d831b2aa55507dd9def2acb02cdbffddf10d1
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 58895562d..99890d94c 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1728,7 +1728,7 @@ int sqlite3CodeSubselect( pExpr->iTable = pParse->nTab++; addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, pExpr->iTable, !isRowid); if( rMayHaveNull==0 ) sqlite3VdbeChangeP5(v, BTREE_UNORDERED); - pKeyInfo = isRowid ? 0 : sqlite3KeyInfoAlloc(pParse->db, 1); + pKeyInfo = isRowid ? 0 : sqlite3KeyInfoAlloc(pParse->db, 1, 1); if( ExprHasProperty(pExpr, EP_xIsSelect) ){ /* Case 1: expr IN (SELECT ...) |