add column escaper function

This commit is contained in:
Simon Vieille 2024-07-18 17:05:30 +02:00
commit 5eb3701f9f
Signed by untrusted user: deblan
GPG key ID: 579388D585F70417
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ func TestEscapeColumn(t *testing.T) {
t.Fatalf("TestEscapeColumn: mysql check failed")
}
if EscapeTable("postgres", "foo") != "\"foo\"" {
if EscapeColumn("postgres", "foo") != "\"foo\"" {
t.Fatalf("TestEscapeColumn: postgres check failed")
}
}