回滚SQL查看报错-- 表不存在 #1914
GuishengZhou
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
版本:** docker / 1.9.1
报错信息:
(1146, 'Unknown error 1146') 对于MySQL error 号为表不存在
`mysql> show tables;
+-----------------------------------------+
| Tables_in_192_168_100_30_10703_test_dba |
+-----------------------------------------+
| $$inception_backup_information$$ |
| test |
+-----------------------------------------+
2 rows in set (0.00 sec)
mysql> select * from test;
+----+---------------------------------------------+--------------------------+
| id | rollback_statement | opid_time |
+----+---------------------------------------------+--------------------------+
| 1 | DELETE FROM
test_dba
.test
WHEREid
=1; | 1665653893_2494_00000001 || 2 | DELETE FROM
test_dba
.test
WHEREid
=2; | 1665656363_2510_00000001 |+----+---------------------------------------------+--------------------------+
2 rows in set (0.00 sec)
`
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/archery/sql/views.py", line 279, in rollback
list_backup_sql = query_engine.get_rollback(workflow=workflow)
File "/opt/archery/sql/engines/mysql.py", line 528, in get_rollback
return inception_engine.get_rollback(workflow)
File "/opt/archery/sql/engines/goinception.py", line 264, in get_rollback
raise Exception(e)
Exception: (1146, 'Unknown error 1146')
`
Beta Was this translation helpful? Give feedback.
All reactions