Skip to content

Commit

Permalink
- fix: Firebird rdb$description
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 committed Dec 5, 2024
1 parent 893f59c commit 905cefe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Providers/FreeSql.Provider.Firebird/FirebirdDbFirst.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,11 @@ public List<DbTableInfo> GetTables(string[] database, string tablename, bool ign

var sql = @"
select
rdb$system_flag,
trim(rdb$relation_name) as id,
trim(rdb$owner_name) as owner,
trim(rdb$relation_name) as name,
trim(rdb$external_description) as comment,
trim(rdb$description) as comment,
rdb$relation_type as type
from rdb$relations
where rdb$system_flag=0" + (tbname == null ? "" : $" and {(ignoreCase ? "upper(trim(rdb$relation_name))" : "trim(rdb$relation_name)")} = {_commonUtils.FormatSql("{0}", tbname.Last())}");
Expand Down

0 comments on commit 905cefe

Please sign in to comment.