enso/test
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_Tests S3 Read Access, Input Stream based reading (#7776) 2023-09-20 15:09:11 +00:00
Benchmarks Fix inconsistency when building a Mixed column, fixes to Union (#7919) 2023-10-03 20:33:34 +02:00
Examples_Tests S3 Read Access, Input Stream based reading (#7776) 2023-09-20 15:09:11 +00:00
Exploratory_Benchmarks Support for BigInteger values in Table (#7715) 2023-09-12 13:18:04 +00:00
Geo_Tests All Enso objects are hasheable (#3878) 2023-01-19 10:33:25 +01:00
Google_Api_Test Parse the standard library (#3830) 2022-10-31 16:19:12 +00:00
Image_Tests Improve Non_Unique_Primary_Key error, split file format detection into read/write, improve SQLite format detection (#6604) 2023-05-09 17:15:44 +00:00
Meta_Test_Suite_Tests Remove old (Java) Regex library and replace with new (Truffle) library. (#6195) 2023-04-04 19:58:26 +00:00
micro-distribution expressionUpdates do not contain Method Pointer of operators (#7659) 2023-09-15 08:01:21 +00:00
Table_Tests Fix a DROP table bug, add SQL debug logging (#8007) 2023-10-10 13:16:06 +00:00
Tests Instrumenter to observe behavior of nodes with UUID (#7833) 2023-10-10 02:36:59 +00:00
Visualization_Tests Drop-down widgets for extension functions via UnresolvedSymbol (#7115) 2023-06-27 15:19:42 +00:00