mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 02:32:50 +08:00
- 优化 AsTreeCte 内部;
This commit is contained in:
parent
142f14ee2f
commit
f11419d0d2
@ -436,6 +436,7 @@ public static partial class FreeSqlGlobalExtensions
|
|||||||
mysqlVersion = select._connection.ServerVersion;
|
mysqlVersion = select._connection.ServerVersion;
|
||||||
if (isclosed) select._connection.Close();
|
if (isclosed) select._connection.Close();
|
||||||
}
|
}
|
||||||
|
_dicMySqlVersion.TryAdd(mysqlConnectionString, mysqlVersion);
|
||||||
}
|
}
|
||||||
if (int.TryParse((mysqlVersion ?? "").Split('.')[0], out var mysqlVersionFirst) && mysqlVersionFirst < 8)
|
if (int.TryParse((mysqlVersion ?? "").Split('.')[0], out var mysqlVersionFirst) && mysqlVersionFirst < 8)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user