Skip to content

Commit

Permalink
Add charsernr to field debug info (#14)
Browse files Browse the repository at this point in the history
* Add charsernr to field debug info

* Fix pre-commit

---------

Co-authored-by: Pavlo Mishchenko <pmishchenko-ua@singlestore.com>
  • Loading branch information
pmishchenko-ua and pmishchenko-ua authored Jan 9, 2024
1 parent 579c845 commit 07b972f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion singlestoredb/mysql/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,14 @@ def get_column_length(self):
return self.length

def __str__(self):
return '%s %r.%r.%r, type=%s, flags=%x' % (
return '%s %r.%r.%r, type=%s, flags=%x, charsetnr=%s' % (
self.__class__,
self.db,
self.table_name,
self.name,
self.type_code,
self.flags,
self.charsetnr,
)


Expand Down

0 comments on commit 07b972f

Please sign in to comment.