Skip to content

Commit b1e4f35

Browse files
committed
BUG26839844: Fix KeyError when using RowLock in pure Python implementation
This patch adds the missing 'Mysqlx.Crud.Find.RowLock' enum in the messages descriptors variable.
1 parent 2c0342d commit b1e4f35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/mysqlx/protobuf/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
# Mysqlx.Crud
9494
for key, val in mysqlx_crud_pb2.DataModel.items():
9595
_MESSAGES["Mysqlx.Crud.DataModel.{0}".format(key)] = val
96+
for key, val in mysqlx_crud_pb2.Find.RowLock.items():
97+
_MESSAGES["Mysqlx.Crud.Find.RowLock.{0}".format(key)] = val
9698
for key, val in mysqlx_crud_pb2.Order.Direction.items():
9799
_MESSAGES["Mysqlx.Crud.Order.Direction.{0}".format(key)] = val
98100
for key, val in mysqlx_crud_pb2.UpdateOperation.UpdateType.items():

0 commit comments

Comments
 (0)