mirror of
https://github.com/mariadb-corporation/mariadb-connector-python.git
synced 2025-08-07 11:39:43 +00:00
Fix for CONPY-9 and CONPY-17:
description attribute is now implemented as getter function(). Changes: - for strings length will now report the number of codepoints (instead) of bytes - variable length datatypes will report -1 (packed len < 1). - For floating point values (decimal, float, double) the values for precision and scale will be zero, in case the server sends decimals=31 (which means no precision/scale) was specified for the column.
This commit is contained in:
@ -134,7 +134,6 @@ typedef struct {
|
||||
MYSQL_FIELD *fields;
|
||||
char *statement;
|
||||
unsigned long statement_len;
|
||||
PyObject *description;
|
||||
PyObject **values;
|
||||
PyStructSequence_Desc sequence_desc;
|
||||
PyStructSequence_Field *sequence_fields;
|
||||
|
Reference in New Issue
Block a user