#174 wrong type spec. for leg_cseq column in b2b_entities.c

1.6.x
closed-fixed
Anca Vamanu
modules (179)
5
2011-01-03
2011-01-02
Henk Hesselink
No

In the database schema the type for the leg_cseq column is INTEGER, but in the the b2b_entities.c the type is defined as string (DB_STR). This causes errors when writing to Postgres if the field is empty because the code tries to write an empty string instead of NULL.

Discussion

  • Henk Hesselink
    Henk Hesselink
    2011-01-02

    patch to change DB_STR to DB_INT

     
    Attachments
  • Anca Vamanu
    Anca Vamanu
    2011-01-03

    • assigned_to: nobody --> anca_vamanu
    • status: open --> closed-fixed
     
  • Anca Vamanu
    Anca Vamanu
    2011-01-03

    Hi Henk,

    Thank you, I have committed the fix.

    Regards,
    Anca