mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 02:27:55 +08:00
precision and scale were used other way around. Flipped their usage
in all places
This commit is contained in:
@@ -247,7 +247,7 @@ int ret;
|
||||
//fprintf(stdout,"len %d size %d\n",len, col->col_size);
|
||||
char *str;
|
||||
if (col->col_type == MDB_NUMERIC) {
|
||||
str = mdb_numeric_to_string(mdb, start, col->col_prec, col->col_scale);
|
||||
str = mdb_numeric_to_string(mdb, start, col->col_scale, col->col_prec);
|
||||
} else {
|
||||
str = mdb_col_to_string(mdb, mdb->pg_buf, start, col->col_type, len);
|
||||
}
|
||||
|
Reference in New Issue
Block a user