Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions internal/session/sqldb/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,12 @@ const (
// MySQLErrDuplicateEntry is the error code when a duplicate entry violates a unique constraint
// Error 1062: Duplicate entry for key
MySQLErrDuplicateEntry uint16 = 1062

// MySQLErrLockWaitTimeout is the error code when lock wait timeout is exceeded.
// Error 1205: Lock wait timeout exceeded
MySQLErrLockWaitTimeout uint16 = 1205

// MySQLErrLockDeadlock is the error code when a deadlock is found.
// Error 1213: Deadlock found when trying to get lock
MySQLErrLockDeadlock uint16 = 1213
)
Loading
Loading