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 Ryan J Ollos)

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 Eygene Ryabinkin

comment:1 Changed 11 years ago by Ryan J Ollos

Cc: Steffen Hoffmann added; anonymous removed

This patch looks correct to me. authenticated is an INT in the database schema (t:TracDev/DatabaseSchema) and is a bool in the Session class, where it is cast to int before writing to the database.

comment:2 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)
Summary: Properly cast "authenticated" field for subscription_attribute tableProperly cast `authenticated` field for subscription_attribute table
Note: See TracTickets for help on using tickets.