Skip to content

Commit 7789883

Browse files
committed
feat(cubesql): Support date type for parameter binding
1 parent 5ef4ab2 commit 7789883

File tree

1 file changed

+1
-1
lines changed
  • rust/cubesql/pg-srv/src/values

1 file changed

+1
-1
lines changed

rust/cubesql/pg-srv/src/values/date.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl ToProtocolValue for NaiveDate {
3737
}
3838

3939
impl FromProtocolValue for NaiveDate {
40-
// date_in - https://github.com/postgres/postgres/blob/REL_14_4/src/backend/utils/adt/date.c#L110
40+
// date_in - https://github.com/postgres/postgres/blob/REL_14_4/src/backend/utils/adt/date.c#L111
4141
fn from_text(raw: &[u8]) -> Result<Self, ProtocolError> {
4242
let as_str = std::str::from_utf8(raw).map_err(|err| ProtocolError::ErrorResponse {
4343
source: ErrorResponse::error(ErrorCode::ProtocolViolation, err.to_string()),

0 commit comments

Comments
 (0)