Skip to content

Commit 0e11eea

Browse files
Merge pull request #8470 from jorisvandenbossche/sql-8314-time
SQL/ERR: raise error when insert failed with sqlite fallback (GH8341)
2 parents c350247 + 913ece8 commit 0e11eea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/io/sql.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,7 @@ def run_transaction(self):
11551155
self.con.commit()
11561156
except:
11571157
self.con.rollback()
1158+
raise
11581159
finally:
11591160
cur.close()
11601161

0 commit comments

Comments
 (0)