albertZhangTJ / sqlancer-lancerfuzz

Detecting Logic Bugs in DBMS
http://www.sqlancer.com/
MIT License
1 stars 0 forks source link

Update identifier cache to track the entire hierarchy #31

Closed albertZhangTJ closed 6 months ago

albertZhangTJ commented 6 months ago

This can be used to support expression typing.

When querying target DBMS for type, knowing the column name itself is not enough - table name is also needed.

Therefore, we record the entire hierarchy of identifiers (possibly database name --> table name --> column name).

This won't change the current features too much, since we will put the direct parent identifier at the end of the list and have the current API call we use to return that.

albertZhangTJ commented 6 months ago

Feature added with 5e8ecd7c6bd8a80d74e70de41148d47f0b91f16f