enso/distribution/lib/Standard
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
..
AWS/0.0.0-dev Fix a DROP table bug, add SQL debug logging (#8007) 2023-10-10 13:16:06 +00:00
Base/0.0.0-dev Instrumenter to observe behavior of nodes with UUID (#7833) 2023-10-10 02:36:59 +00:00
Database/0.0.0-dev Fix a DROP table bug, add SQL debug logging (#8007) 2023-10-10 13:16:06 +00:00
Examples/0.0.0-dev S3 Read Access, Input Stream based reading (#7776) 2023-09-20 15:09:11 +00:00
Geo/0.0.0-dev Rename Decimal to Float (#7807) 2023-09-14 15:01:30 +00:00
Google_Api/0.0.0-dev S3 Read Access, Input Stream based reading (#7776) 2023-09-20 15:09:11 +00:00
Image/0.0.0-dev Add GROUP to functions (#7622) 2023-08-23 13:20:38 +00:00
Searcher/0.0.0-dev New Data.post for sending a payload to a Web API (#7700) 2023-09-19 11:26:29 +00:00
Table/0.0.0-dev Implement Table.lookup_and_replace for in-memory (#7979) 2023-10-10 10:42:06 +00:00
Test/0.0.0-dev Fix inconsistency when building a Mixed column, fixes to Union (#7919) 2023-10-03 20:33:34 +02:00
Visualization/0.0.0-dev S3 Read Access, Input Stream based reading (#7776) 2023-09-20 15:09:11 +00:00