mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	v3.2.692-preview20230314 - 修复 Oracle Merge Into byte[] 参数化判断 bug;#1459
This commit is contained in:
		@@ -122,7 +122,7 @@ namespace FreeSql.Odbc.Oracle
 | 
			
		||||
                var valueBytes = value as byte[];
 | 
			
		||||
                if (valueBytes != null)
 | 
			
		||||
                {
 | 
			
		||||
                    if (valueBytes.Length < 4000) return $"hextoraw('{CommonUtils.BytesSqlRaw(valueBytes)}')";
 | 
			
		||||
                    if (valueBytes.Length < 2000) return $"hextoraw('{CommonUtils.BytesSqlRaw(valueBytes)}')";
 | 
			
		||||
                    var pam = AppendParamter(specialParams, $"p_{specialParams?.Count}{specialParamFlag}", col, type, value);
 | 
			
		||||
                    return pam.ParameterName;
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user