Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 129110 | Differences between
and this patch

Collapse All | Expand All

(-)mcs_orig/class/System.Data.OracleClient/System.Data.OracleClient/OracleParameter.cs (-3 / +3 lines)
Lines 490-496 Link Here
490
					bindSize = v.ToString ().Length;
490
					bindSize = v.ToString ().Length;
491
				}
491
				}
492
				else {
492
				else {
493
					string svalue = v.ToString ();
493
					string svalue = v.ToString () + '\0';
494
					rsize = 0;
494
					rsize = 0;
495
			
495
			
496
					// Get size of buffer
496
					// Get size of buffer
Lines 500-507 Link Here
500
					bytes = new byte[rsize];
500
					bytes = new byte[rsize];
501
					OciCalls.OCIUnicodeToCharSet (statement.Parent, bytes, svalue, out rsize);
501
					OciCalls.OCIUnicodeToCharSet (statement.Parent, bytes, svalue, out rsize);
502
502
503
					bindType = OciDataType.VarChar2;
503
					bindType = OciDataType.String;
504
					bindSize = v.ToString ().Length;
504
					bindSize = v.ToString ().Length+1;
505
				}
505
				}
506
			}
506
			}
507
507

Return to bug 129110