Skip to content

Commit bd46375

Browse files
committed
Added support for BIT columns in Microsoft SQL Server.
fix #666 also add more tests for database type decoding
1 parent a72cb74 commit bd46375

File tree

5 files changed

+270
-61
lines changed

5 files changed

+270
-61
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Fixed a bug where [timeline chart tooltips displayed the wrong labels](https://github.com/sqlpage/SQLPage/issues/659).
77
- Fixed an incorrect warning polluting logs when using sqlpage functions with json arguments in sqlite: `WARN sqlpage::webserver::database::execute_queries] The column _sqlpage_f0_a1 is missing from the result set, so it cannot be converted to JSON.`.
88
- Fixed Microsoft SQL Server driver not being able to read VARCHAR columns from databases with non-european collations.
9+
- Added support for `BIT` columns in Microsoft SQL Server.
910

1011
## 0.30.1 (2024-10-31)
1112
- fix a bug where table sorting would break if table search was not also enabled.

Cargo.lock

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ panic = "abort"
1818
codegen-units = 2
1919

2020
[dependencies]
21-
sqlx = { package = "sqlx-oldapi", version = "0.6.30", features = [
21+
sqlx = { package = "sqlx-oldapi", version = "0.6.32", features = [
2222
"any",
2323
"runtime-actix-rustls",
2424
"sqlite",

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# You can easily switch between different databases by changing the value of COMPOSE_PROFILES in the .env file.
2+
3+
# possible database connection strings:
4+
# DATABASE_URL='postgres://root:Password123!@localhost/sqlpage'
5+
# DATABASE_URL='mssql://root:Password123!@localhost/sqlpage'
6+
# DATABASE_URL='mysql://root:Password123!@localhost/sqlpage'
27
services:
38
web:
49
build: { context: "." }

0 commit comments

Comments
 (0)