prisma / tiberius

TDS 7.2+ (Microsoft SQL Server) driver for Rust
Apache License 2.0
325 stars 121 forks source link

fix: bulk insert date token error #346

Open setenum opened 3 months ago

setenum commented 3 months ago

This PR fixes token error during BULK insert DATE type

Fix Daten len

Database Engine events and errors: code 4804: While reading current row from host, a premature end-of-message was encountered--an incoming data stream was interrupted when the server expected to see more data. The host program may have terminated. Ensure that you are using a supported client application programming interface (API).