don-tay / simpledb

Subset of SQL-compliant DBMS
0 stars 0 forks source link

Fix wrong pred evaluated with wrong plan #49

Closed don-tay closed 2 years ago

don-tay commented 2 years ago

Changes in this PR

Overview

This fixes the following query when avg num of rows in table is 50 (in #47):

select sid,sname,eid,sectid from student, enroll, section where sid=studentid and sectionid=sectid