Commit ceb1bbe
committed
fix(pgsql): use "1=1" instead of integer 1 in Test_TX_Delete condition
PostgreSQL does not accept `WHERE 1` (integer as boolean condition).
MySQL auto-casts `1` to true, but PgSQL requires an explicit boolean
expression. Use `"1=1"` which is valid standard SQL across all dialects.
ref gogf#46891 parent c9fb0cd commit ceb1bbe
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1697 | 1697 | | |
1698 | 1698 | | |
1699 | 1699 | | |
1700 | | - | |
| 1700 | + | |
| 1701 | + | |
1701 | 1702 | | |
1702 | 1703 | | |
1703 | 1704 | | |
| |||
1716 | 1717 | | |
1717 | 1718 | | |
1718 | 1719 | | |
1719 | | - | |
| 1720 | + | |
| 1721 | + | |
1720 | 1722 | | |
1721 | 1723 | | |
1722 | 1724 | | |
| |||
0 commit comments