Opened 12 years ago
Last modified 7 years ago
#10384 closed defect
Properly cast `authenticated` field for subscription_attribute table — at Version 2
Reported by: | Eygene Ryabinkin | Owned by: | Robert Corsaro |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | |
Cc: | Steffen Hoffmann, scottso@…, Bas van der Vlies | Trac Release: | 0.12 |
Description (last modified by )
authenticated
is an integer in SQL schema, so it should be properly cast: for example, PostgreSQL is picky about this.
Change History (3)
Changed 12 years ago by
Attachment: | patch-announcer-model-authenticated-typecasts added |
---|
comment:1 Changed 11 years ago by
Cc: | Steffen Hoffmann added; anonymous removed |
---|
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Summary: | Properly cast "authenticated" field for subscription_attribute table → Properly cast `authenticated` field for subscription_attribute table |
Note: See
TracTickets for help on using
tickets.
This patch looks correct to me.
authenticated
is anINT
in the database schema (t:TracDev/DatabaseSchema) and is abool
in the Session class, where it is cast toint
before writing to the database.