Fix handling of numeric types in ODBC driver

Fixes #255 and supersedes #256
This commit is contained in:
Evan Miller
2021-02-15 19:50:15 -05:00
parent b9c065885c
commit e655cba907
3 changed files with 14 additions and 6 deletions

View File

@@ -544,6 +544,10 @@ void mdb_set_boolean_fmt_words(MdbHandle *mdb);
void mdb_set_boolean_fmt_numbers(MdbHandle *mdb);
int mdb_read_row(MdbTableDef *table, unsigned int row);
/* money.c */
char *mdb_money_to_string(MdbHandle *mdb, int start);
char *mdb_numeric_to_string(MdbHandle *mdb, int start, int scale, int prec);
/* dump.c */
void mdb_buffer_dump(const void *buf, off_t start, size_t len);