Bug #35653 | executeQuery() in Statement.java let "TRUNCATE" queries being executed | ||
---|---|---|---|
Submitted: | 28 Mar 2008 15:46 | Modified: | 22 Jan 2013 22:56 |
Reporter: | Vincent VILLEGENTE | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | Current | OS: | Any |
Assigned to: | Alexander Soklakov | CPU Architecture: | Any |
[28 Mar 2008 15:46]
Vincent VILLEGENTE
[31 Mar 2008 15:41]
Tonci Grgin
Hi Vincent and thanks for your report. Verified by looking into latest c/J 5.0 code.
[22 Jan 2013 22:56]
John Russell
Added to changelog for 5.1.23: executeQuery() in Statement.java let TRUNCATE queries be executed, although that method is supposed to block any request that modifies the database. TRUNCATE and RENAME are now filtered for executeQuery().