mirror of
https://github.com/enso-org/enso.git
synced 2024-11-26 08:52:58 +03:00
6f78570115
- 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. |
||
---|---|---|
.. | ||
AWS/0.0.0-dev | ||
Base/0.0.0-dev | ||
Database/0.0.0-dev | ||
Examples/0.0.0-dev | ||
Geo/0.0.0-dev | ||
Google_Api/0.0.0-dev | ||
Image/0.0.0-dev | ||
Searcher/0.0.0-dev | ||
Table/0.0.0-dev | ||
Test/0.0.0-dev | ||
Visualization/0.0.0-dev |