mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Fixing mysql_field.
FIELD had the wrong size which made mysql.fetch_fields() useless.
This commit is contained in:
@@ -418,6 +418,7 @@ type
|
||||
decimals*: cuint # Number of decimals in field
|
||||
charsetnr*: cuint # Character set
|
||||
ftype*: Enum_field_types # Type of field. See mysql_com.h for types
|
||||
extension*: pointer
|
||||
|
||||
FIELD* = St_mysql_field
|
||||
PFIELD* = ptr FIELD
|
||||
|
||||
Reference in New Issue
Block a user