You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client 2 connects and should see updated data but does not.
mysql> use dsimple;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> describe tblPersons;
+------------+--------------+------+------+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+------+---------+-------+
| person_id | int | NO | PRI | NULL | |
| first_name | varchar(100) | YES | | NULL | |
| last_name | varchar(200) | YES | | NULL | |
| random_txt | text | YES | | NULL | |
+------------+--------------+------+------+---------+-------+
4 rows in set (0.00 sec)
mysql> select * from tblPersons;
+-----------+------------+-----------+------------+
| person_id | first_name | last_name | random_txt |
+-----------+------------+-----------+------------+
| 1 | dasda | adasda | dasda |
+-----------+------------+-----------+------------+
1 row in set (0.01 sec)
This issue was found while integrating Dbeaver with Dolt. @jennifersp please do a deep dive of Dbeaver with Dolt as per the "First 50 steps" spreadsheet.
To fix this, we need to move the interface for transactions off of sql.Database onto sql.Session. Then the session implementation can decide what semantics it wants to enforce when dealing with multiple DBs being edited in the same session.
Consider the following example:
The offending line of code is here.
I will followup with a clear skipped bats or engine test
The text was updated successfully, but these errors were encountered: