Understanding and Detecting SQL Function Bugs: Using Simple Boundary Arguments to Trigger Hundreds of DBMS Bugs
Built-in SQL functions are crucial in Database Management Systems (DBMSs), supporting various operations and computations across multiple data types. They are essential for querying, data transformation, and aggregation. Despite their importance, the bugs in SQL functions have caused widespread problems in the real world, from system failures to arbitrary code execution. However, the understanding of the bug characteristics is limited. More importantly, conventional function testing methods struggle to generate semantically correct SQL test cases, while DBMS testing efforts are hard to measure built-in SQL functions.
Authors
- Jie Liang (ORCID: https://orcid.org/0000-0003-1046-0337)
- Yu Jiang (ORCID: https://orcid.org/0000-0003-0955-503X)
- Zhiyong Wu (ORCID: https://orcid.org/0000-0003-1908-5043)
- Yanyang Zhao (ORCID: https://orcid.org/0000-0002-1663-8901)
- Jingzhou Fu (ORCID: https://orcid.org/0000-0001-9759-878X)
- Shanshan Li (ORCID: https://orcid.org/0000-0003-0798-974X)
Institutions
- National University of Defense Technology (CN)
- Tsinghua University (CN)
Publication Details
- Published
- 2025-03-26
- DOI
- https://doi.org/10.1145/3689031.3696064
- Citations
- 2
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 4.62