-
Couldn't load subscription status.
- Fork 2
Open
Labels
bugConfirmed and unconfirmed bugs reported by us and customers.Confirmed and unconfirmed bugs reported by us and customers.
Description
This does not seem correct to me.
Neither 50 or NULL are placeholder values.
CREATE TABLE puf2017 (
Id int IDENTITY,
DrugTier nvarchar(max) NOT NULL,
PriorAuthorization bit NOT NULL,
QuantityLimit bit NOT NULL,
StepTherapy bit NOT NULL,
StandardComponentId nvarchar(50) NOT NULL,
BusinessYear int NOT NULL
)
GOCREATE TABLE puf2017 (
Id int IDENTITY,
DrugTier nvarchar(max) NOT ?,
PriorAuthorization bit NOT ?,
QuantityLimit bit NOT ?,
StepTherapy bit NOT ?,
StandardComponentId nvarchar(?) NOT ?,
BusinessYear int NOT ?
)
GOThese tests pass so the sanitation is definitely to blame, not lexing:
#[test]
fn test_not_null() {
let sql = "NOT NULL";
let written = helpers::lex_and_write(sql.to_string());
assert_eq!(written, sql);
}
#[test]
fn test_std_cmpnt_id() {
let sql = "StandardComponentId nvarchar(50) NOT NULL";
let written = helpers::lex_and_write(sql.to_string());
assert_eq!(written, sql);
}Metadata
Metadata
Assignees
Labels
bugConfirmed and unconfirmed bugs reported by us and customers.Confirmed and unconfirmed bugs reported by us and customers.