enso/distribution
Radosław Waśko 6f78570115
Fix a DROP table bug, add SQL debug logging (#8007)
- Fixes a bug where creating a temporary table could accidentally issue a `DROP` statement of the table name that the user provided, risking destruction of user data.
- Fortunately, the bad scenario was almost impossible, because the `DROP` statement was only issued _if_ we previously checked that the mentioned table _does not exist_ - dropping a nonexistent table does not do any harm.
- It could have been dangerous in a very unlikely scenario that a table was created just between the _existence check_ and the _drop_.
- After the fix the existence check and any modifications are done within a transaction to avoid interference from concurrent modifications, and the DROP is correctly applied to a temporary Enso table instead of the original one.
- Replaced a temporary log with proper simple logging of SQL statements into a file, if an Environment variable is set.
- Used that feature to test that no unexpected statements occur.
2023-10-10 13:16:06 +00:00
..
bin Enso Integration with Ideal Graph Visualizer (#3533) 2022-06-23 04:43:49 +00:00
engine/THIRD-PARTY Execution Context integration for Database write operations (#7072) 2023-06-27 15:51:21 +00:00
launcher Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
lib/Standard Fix a DROP table bug, add SQL debug logging (#8007) 2023-10-10 13:16:06 +00:00
project-manager/THIRD-PARTY Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
enso.bundle.template Better component handling in the project manager (#1399) 2021-01-15 15:26:51 +00:00
launcher-manifest.yaml Bump the development version number (#1389) 2021-01-06 08:57:02 +00:00
manifest.template.yaml Update GraalVM to 17.0.7 (23.0.0 JDK17) (#7176) 2023-07-20 15:11:30 +00:00