From 28b3325150cdad6f7945d2ee95cf33710c9a0493 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sat, 7 Oct 2017 12:20:02 +0800 Subject: [PATCH] - --- .../Realization/Oracle/DbMaintenance/OracleDbMaintenance.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/Asp.Net/SqlSugar/Realization/Oracle/DbMaintenance/OracleDbMaintenance.cs b/Src/Asp.Net/SqlSugar/Realization/Oracle/DbMaintenance/OracleDbMaintenance.cs index ca135e0d0..f02944684 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Oracle/DbMaintenance/OracleDbMaintenance.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Oracle/DbMaintenance/OracleDbMaintenance.cs @@ -217,6 +217,7 @@ namespace SqlSugar () => { var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent; + this.Context.Ado.IsEnableLogEvent = false; string sql = @" select cu.COLUMN_name KEYNAME from user_cons_columns cu, user_constraints au where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = '" +tableName.ToUpper()+ @"'";