dolthub / dolthub/dolt

`decimal.Decimal` loses precision when prepared

Closed
#7,668 0 comments 0 reactions 1 assignee Claimed by @zachmu View on GitHub
bug prepared statements sql
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

A skipped tests is added here:
https://github.com/dolthub/go-mysql-server/pull/2423

```sql
prepare stmt from 'select ?';
set @a = cast(123.45 as decimal(5,2));
execute stmt using @a;
```

Related issue: https://github.com/dolthub/dolt/issues/7665

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.