mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 02:27:55 +08:00
Return column number from mdb_bind_column()
To match the return from mdb_bind_column_by_name().
This commit is contained in:
@@ -91,7 +91,7 @@ int mdb_bind_column(MdbTableDef *table, int col_num, void *bind_ptr, int *len_pt
|
|||||||
if (len_ptr)
|
if (len_ptr)
|
||||||
col->len_ptr = len_ptr;
|
col->len_ptr = len_ptr;
|
||||||
|
|
||||||
return 0;
|
return col_num + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user