This commit is contained in:
sunkaixuan
2017-07-18 10:36:43 +08:00
parent 62a5c86782
commit 4a6cfc209b
2 changed files with 3 additions and 3 deletions

View File

@@ -106,12 +106,12 @@ namespace SqlSugar
}
public virtual bool IsAnySystemTablePermissions()
{
this.Context.Ado.CheckConnection();
string sql = this.CheckSystemTablePermissionsSql;
try
{
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent;
this.Context.Ado.IsEnableLogEvent = false;
this.Context.Ado.CheckConnection();
this.Context.Ado.ExecuteCommand(sql);
this.Context.Ado.IsEnableLogEvent = oldIsEnableLog;
return true;

View File

@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.2.1.1")]
[assembly: AssemblyFileVersion("4.2.1.1")]
[assembly: AssemblyVersion("4.2.1.2")]
[assembly: AssemblyFileVersion("4.2.1.2")]