We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18bcba1 commit 0811406Copy full SHA for 0811406
Provider/src/FirebirdSql.Data.FirebirdClient/Schema/FbColumns.cs
@@ -148,7 +148,10 @@ protected override DataTable ProcessResult(DataTable schema)
148
149
if (dbType == FbDbType.Char || dbType == FbDbType.VarChar)
150
{
151
- row["COLUMN_SIZE"] = row["CHARACTER_MAX_LENGTH"];
+ if (!row.IsNull("CHARACTER_MAX_LENGTH"))
152
+ {
153
+ row["COLUMN_SIZE"] = row["CHARACTER_MAX_LENGTH"];
154
+ }
155
}
156
else
157
0 commit comments