Skip to content

Bug in column type definition: TINYINT() should be TINYINT #157

@pivotal-tabernash

Description

@pivotal-tabernash

Hi,

updating to 3.1.5 from 3.0.18 our code started breaking with tinyint columns causing invalid syntax:

EXEC sp_executesql N'INSERT INTO [MyTable] ([Column1]) VALUES (@0); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 tinyint()', @0 = 2

should be

EXEC sp_executesql N'INSERT INTO [MyTable] ([Column1]) VALUES (@0); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 tinyint', @0 = 2

We have a potential fix for this issue, but do not currently have the dev setup to run the tests.

Our fix is here:
pivotal-tabernash@6be061a

-- David and Stephan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions