mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
code optimization
This commit is contained in:
@@ -482,7 +482,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
var old = result;
|
var old = result;
|
||||||
var regex = @"^SELECT .* FROM \(((.|\n|\r)*)\) t $";
|
var regex = @"^SELECT .* FROM \(((.|\n|\r)*)\) t $";
|
||||||
if (this.Context.CurrentConnectionConfig.DbType .IsIn( DbType.MySql,DbType.PostgreSQL))
|
if (this.Context.CurrentConnectionConfig.DbType .IsIn( DbType.MySql,DbType.PostgreSQL,DbType.Sqlite))
|
||||||
{
|
{
|
||||||
result = result.Substring(0,result.Length-1);
|
result = result.Substring(0,result.Length-1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user