Commit Graph
67 Commits
Author SHA1 Message Date
Neale Ferguson 3f740f3d94 Fixes 19752 -
Users have been complaining about strange errors arising when using the OracleClient classes.
I have tracked it down to the OciDefineHandle and OciDefineByPos calls, and OracleParameter
handling of amanged objects by unmanaged code. Currently two of the parameters passed to the
above OCI  call are short variables. They are passed as "ref" fields as Oracle uses their
address to put size and indicator data once the data is fetched. However, being defined as
short means that they are eligible for being moved during garbage collection. Thus if that
field is moved between the OciDefineByPos call and the fetch of the data then what Oracle is
pointing to may no longer be variable. I'm thinking it may be better to define these fields as
IntPtr and allocate them and retrieve their values via Marshal.ReadInt16. As for OracleParameter,
it uses a managed object "indicator" that is also used in a similar way. This reference is replaced
by a IntPtr and a get/set method to access the contents.
2014-09-12 11:25:57 -04:00
Neale Ferguson 0b26afc182 Fix memory leaks in Oracle Client. The largest leaks come from the cursors being created but never freed in OracleParameter.cs. The size of the memory used by these cursors varies from tens to thousands of bytes depending on the statement being executed. Several hours of transactions can lead to OOM errors. The other fixes are relatively minor but they do clean up other unmanaged memory not being returned. 2013-10-10 13:17:17 -04:00
Neale 66c4520fa2 Correct marshalling of size variables used in CharSetToUnicode (and vice-versa). They were specified as integers but for these calls they are, in C parlance, size_t so use SysUInt instead. 2013-04-16 22:48:58 -04:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Daniel Morgan e58afa6bd2 2009-11-25 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleParameter.cs: add
	parameter support for LONG RAW and RAW data types

	* System.Data.OracleClient.Oci/OciDefineHandle.cs: flush
	extra assigning of types

svn path=/trunk/mcs/; revision=146885
2009-11-25 05:51:06 +00:00
Daniel Morgan 70f4be0bce svn path=/trunk/mcs/; revision=146672 2009-11-21 05:45:47 +00:00
Daniel Morgan 147d957068 2009-11-19 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleConnection.cs
	* System.Data.OracleClient/OciGlue.cs
	* System.Data.OracleClient.Oci/OciCalls.cs
	* System.Data.OracleClient.Oci/OciServiceHandle.cs
	* System.Data.OracleClient.Oci/OciSessionHandle.cs: add method
		OpenWithNewPassword to OracleConnection for
		Oracle.DataAccess

svn path=/trunk/mcs/; revision=146595
2009-11-20 05:03:02 +00:00
Veerapuram Varadhan 790b52755b 2009-10-29 Veerapuram Varadhan <[email protected]>
** Fixes #321718
	* OciCalls.cs: Add stub for OCILobCharSetForm to get the charset
        form associated with a CLOB/NCLOB.

        * OciLobLocator.cs: Add Environment handle property that is
        required to call OCILobCharSetForm and pass the output value to
	OCILobRead.

        * OciDefineHandler.cs: Update Environment property of
        OCILobLocator.

svn path=/trunk/mcs/; revision=144980
2009-10-29 02:02:12 +00:00
Joerg Rosenkranz 29a70ee7f9 2009-10-27 Joerg Rosenkranz <[email protected]>
* OciCalls.cs: Wrong function name in trace.

svn path=/trunk/mcs/; revision=144931
2009-10-28 08:36:34 +00:00
Veerapuram Varadhan 90a2705cf5 2009-03-29 Veerapuram Varadhan <[email protected]>
* Fixes #480377
		* OciCalls.cs:
		* OciDataType.cs:
		* OciDefineHandle.cs:
		* OciHandle.cs:
		* OciIntervalDescriptor.cs:
		* OciParameterDescriptor.cs: Implement INTERVAL_YEAR_TO_MONTH and
		INTERVAL_DAY_TO_SECOND OCI types.

svn path=/trunk/mcs/; revision=130490
2009-03-29 03:48:36 +00:00
Veerapuram Varadhan 0cff3be341 New: IntervalDescriptor implementation file
Implements OCI calls that are required for basic OciInterval types handling

svn path=/trunk/mcs/; revision=130489
2009-03-29 03:48:15 +00:00
Veerapuram Varadhan d5d4cf26ee INTERVAL_DAY_TO_SECOND and INTERVAL_YEAR_TO_MONTH implementations
svn path=/trunk/mcs/; revision=130488
2009-03-29 03:47:56 +00:00
Veerapuram Varadhan 256eaefdb3 OciInterval implementation
svn path=/trunk/mcs/; revision=130487
2009-03-29 03:47:35 +00:00
Veerapuram Varadhan 175f56c90f * OciDefineHandle.cs (GetValue): Use connection's environment
handle instead of Parent handle.


svn path=/trunk/mcs/; revision=121735
2008-12-17 23:13:03 +00:00
Miguel de Icaza 8e07acf772 Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
 

svn path=/trunk/mcs/; revision=121711
2008-12-17 17:56:25 +00:00
Daniel Morgan 5bac14c9b0 2008-09-16 Daniel Morgan <[email protected]>
* Test/TestOracleClient.cs: add tests
	for TIMESTAMP Input, Output, InputOutput, Return 
	parameters and handle DBNull.Value too

	* System.Data.OracleClient/OracleCommandBuilder.cs
	* System.Data.OracleClient/OracleDataAdapter.cs: cleanup warnings
	for default profile

	* System.Data.OracleClient.Oci/OciDateTimeDescriptor.cs
	* System.Data.OracleClient/OracleParameter.cs: fix parameters
	for TIMESTAMP Input, Output, InputOutput, Return
	parameters and handle DBNUll.Value via indicator = -1
	However, TIMESTAMP WITH TIMEZONE and TIMESTAMP WITH LOCAL TIMESTAMP
	not tested.

svn path=/trunk/mcs/; revision=113244
2008-09-17 00:35:36 +00:00
Daniel Morgan b575dfd355 2008-09-13 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleConnection.cs: add stubs
	for method GetSchema which is part of NET_2_0, and clean up warnings

	* System.Data.OracleClient/OracleCommand.cs
	* ystem.Data.OracleClient/OracleParameter.cs
	* System.Data.OracleClient/OracleBFile.cs
	* System.Data.OracleClient.Oci/OciHandle.cs: clean up warnings

	* System.Data.OracleClient.Oci/OciDescriptorHandle.cs
	* System.Data.OracleClient.Oci/OciDefineHandle.cs: make methods internal

svn path=/trunk/mcs/; revision=112925
2008-09-13 05:31:30 +00:00
Daniel Morgan 55ffdd0ba3 2008-09-10 Daniel Morgan <[email protected]>
* Test/TestOracleClient.cs: fix typo,
	  enable more test,
          Tests pass for parameters for Character, Number, and Date
	  for Input, Output, InputOutput, and ReturnValue and
	  situations when any of these could be DBNull.Value

	* System.Data.OracleClient/OracleParameter.cs: fix
	handling of parameters for character, number, and date
	types.  Need to redo all the other types based on the above.

	* System.Data.OracleClient.Oci/OciDefineHandle.cs: rename private
	method DefineLong to DefineLongVarChar

svn path=/trunk/mcs/; revision=112641
2008-09-10 04:56:56 +00:00
Daniel Morgan 61c5bd311b 2008-09-06 Daniel Morgan <[email protected]>
* Test/TestOracleClient.cs: get oracle connected tests
	going again
	
	*  System.Data.OracleClient.Oci/OciDefineHandle.cs
	* System.Data.OracleClient/OracleDataReader.cs
	* System.Data.OracleClient/OracleCommand.cs: fix character
	field value for a reader that was retrieved from a REF CURSOR.
	It was failing due to OCI_INVALID_HANDLE - resolve the error
	by passing a connection object which has a valid environment
	handle.

	* System.Data.OracleClient.Oci/OciCalls.cs: correct 
	call to OCIDefineByPos

	* System.Data.OracleClient/OracleParameter.cs: better way to
	determine if the input value Is Null instead of using reflection.
	Flush - Re-arraning how variables are being bound.

	* System.Data.OracleClient/OciGlue.cs: add function
	to convert OCI Return / Error Status Code to a String Description
 
	* System.Data.OracleClient.Oci/OciErrorHandle.cs: better
	error handling

svn path=/trunk/mcs/; revision=112419
2008-09-06 09:45:42 +00:00
Daniel Morgan f8b34b4a56 2008-09-04 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleCommand.cs: removed AssertNoDataReader
	because oracle allows multiple result sets and has since .NET 1.0,
	fix bug where REF CURSOR would not work for ExecuteReader or
	filling a DataSet via an OracleDataAdapter.  The REF CURSOR is used to
	populate the DataSet.

	* System.Data.OracleClient/OracleDataReader.cs: fix for getting
	next result set; implement NET_2_0 methods 
	GetProviderSpecificFieldType,
	GetProviderSpecificValuee, 
	GetProviderSpecificValue; and validate the reader is open
	before allowing a Read or NextResult, otherwise, throw
	an InvalidOperationException

	* System.Data.OracleClient/OracleParameter.cs: fix for
	getting one or more REF CURSOR out parameters if
	ExecuteReader was called. 

	* System.Data.OracleClient.Oci/OciErrorHandle.cs
	* System.Data.OracleClient.Oci/OciHandle.cs: add addiional method
	for getting error, such as, INVALID_HANDLE being passed to OCI

svn path=/trunk/mcs/; revision=112250
2008-09-04 07:12:49 +00:00
Daniel Morgan f9992d7537 2008-08-26 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleParameter.cs
	* System.Data.OracleClient.Oci/OciStatementHandle.cs
	* System.Data.OracleClient.Oci/OciDefineHandle.cs: fix bug
	for GetOracleLob in OracleDataReader that was created
	via a REF CURSOR.  Bug occurred because the cursor when created
	did not have a ServiceContext - this was solved by passing
	the connection in which did.  Fixes bug#350408.  In OracleParameter, also
	show the data type that is not implemented.

	* Test/testblob.cs
	* Test/TestOracleClient.cs: updated tests

	* Test/refcursortest.cs: added ref cursor test with blob

svn path=/trunk/mcs/; revision=111595
2008-08-26 06:33:55 +00:00
Daniel Morgan 001708d523 2008-08-25 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleCommand.cs
	* System.Data.OracleClient.Oci/OciHandle.cs
	* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs: fix
	bug 378470 by fixing method ExecuteOracleNonQuery 
        by getting the Universal ROWID and
	returning it as an output parameter OracleString.
        This will only work for Oracle 9i clients and above.

svn path=/trunk/mcs/; revision=111525
2008-08-25 04:56:38 +00:00
Sebastien Pouliot df804b5b94 svn path=/trunk/mcs/; revision=107345 2008-07-06 18:06:25 +00:00
Leszek 'skolima' Ciesielski b537b2d2c7 Improved memory allocation time
svn path=/trunk/mcs/; revision=71321
2007-01-19 11:13:59 +00:00
Leszek 'skolima' Ciesielski bd7da4a3c1 Cleanup of unused variables and other compiler warnings.
svn path=/trunk/mcs/; revision=70505
2007-01-04 21:32:40 +00:00
Leszek 'skolima' Ciesielski d63b262fed Set svn:eol-style to native.
Added padding with 0's to buffers fed back to OCI.

svn path=/trunk/mcs/; revision=70467
2007-01-04 12:39:25 +00:00
Leszek 'skolima' Ciesielski 2e3677ca91 Integrated the Mainsoft test suite into make run-test. Many tests still fail...
svn path=/trunk/mcs/; revision=66740
2006-10-17 08:04:07 +00:00
Raja R Harinath 9bdec12456 Kill all executable flags on *.cs and ChangeLog files.
AKA: fun with find(1)+xargs(1)
AKA: find . -name \*.cs -and -perm /a+x | xargs svk propdel svn:executable

svn path=/trunk/mcs/; revision=66131
2006-09-30 18:29:13 +00:00
Leszek 'skolima' Ciesielski 117d0f42eb Fix for bug 79284, number handling now takes into consideration NLS from Oracle database.
svn path=/trunk/mcs/; revision=65243
2006-09-11 17:15:07 +00:00
Senganal T 11479fa2e1 2006-03-10 Senganal T <[email protected]>
* System.Data.OracleClient.Oci/OciStatementHandle.cs : Get StatementType as a ushort value.
	* System.Data.OracleClient.Oci/OciParameterDescriptor.cs : Get DataType as a ushort value.

	Fixes bug #71318.

svn path=/trunk/mcs/; revision=57762
2006-03-10 05:24:51 +00:00
Daniel Morgan f0565901b2 2005-12-20 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleConnectionPoolManager.cs
	* System.Data.OracleClient/OracleConnectionPool.cs
	* System.Data.OracleClient/OracleConnection.cs
	* System.Data.OracleClient/OciGlue.cs
	* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs
	* System.Data.OracleClient.Oci/OciErrorHandle.cs
	* System.Data.OracleClient.Oci/OciServiceHandle.cs
	* System.Data.OracleClient.Oci/OciSessionHandle.cs: modified
		- support Integrated Security which is external authentication
		- dispose of OCI handles properly to prevent SEGSIGV during finalization
		at application exit

svn path=/trunk/mcs/; revision=54672
2005-12-21 03:44:38 +00:00
Daniel Morgan 19e89e475e 2005-12-19 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleConnectionPoolManager.cs
	* System.Data.OracleClient/OracleConnectionPool.cs
	* System.Data.OracleClient/OracleConnection.cs: for connection pooling, need to
	dispose of any connection pools properly otherwise a SEGSIGV may happen trying
	to detach from the server during finalization at exit of app
	
	* System.Data.OracleClient/OracleDataReader.cs: need to make sure statement and command
	exists during dispose because they are set to null when closed

svn path=/trunk/mcs/; revision=54588
2005-12-19 04:57:55 +00:00
Daniel Morgan 919c473487 2005-12-13 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleParameter.cs: free
	unmanaged resources after update of values

2005-12-13  Daniel Morgan <[email protected]>

	* System.Data.OracleClient.Oci/OciErrorHandle.cs patch
	from  "Hubert FONGARNAND" <[email protected]>
	- fix error handling for non-English locales.  Bug# 76623.

2005-12-13  Daniel Morgan <[email protected]>

	* System.Data.OracleClient/OracleParameter.cs: patch
	from  "Hubert FONGARNAND" <[email protected]>
	- fix Timestamp when filling a DataSet.  Bug# 76437.

2005-12-13  Daniel Morgan <[email protected]>

	* System.Data.OracleClient/OracleParameter.cs: patch
	from "Hubert FONGARNAND" <[email protected]>
	- problems with OracleClob as input parameters 
	  (when the input parameter is an OracleString, 
	  mono crashes with a invalidcastexception)
    - problems with OracleDateTime.Null, OracleString.Null 
      as input parameters (it works with DBNull.Value, 
      but it fails with those parameters)

svn path=/trunk/mcs/; revision=54271
2005-12-13 05:06:34 +00:00
Daniel Morgan 623727e08d REF CURSOR support. See ChangeLog for 2005-12-11 Daniel Morgan <[email protected]>
svn path=/trunk/mcs/; revision=54216
2005-12-11 22:38:21 +00:00
Daniel Morgan 8970063146 2005-08-10 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleCommandBuilder.cs: update 
	based on changes Suresh did to OdbcCommandBuilder, SqlCommandBuilder, 
	and DbDataAdapter
	
	* System.Data.OracleClient/OracleParameter.cs
	* System.Data.OracleClient.Oci/OciHandle.cs
	* System.Data.OracleClient.Oci/OciCalls.cs
	* System.Data.OracleClient.Oci/OciDataType.cs
	* System.Data.OracleClient.Oci/OciParameterDescriptor.cs
	* System.Data.OracleClient.Oci/OciStatementHandle.cs
	* System.Data.OracleClient.Oci/OciDefineHandle.cs: with help
	from Hubert FONGARNAND <[email protected]>
	implement TIMESTAMP support via OciDateTime descriptor
	
	* System.Data.OracleClient.dll.sources: add
	OciDateTimeDescriptor.cs to build
	
	* System.Data.OracleClient.Oci/OciDateTimeDescriptor.cs: add new
	file to support Oracle TIMESTAMP using OciDateTime descriptor

svn path=/trunk/mcs/; revision=48254
2005-08-11 02:06:06 +00:00
Daniel Morgan bf25ad7058 2005-07-10 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleCommand.cs: support
	CommandBehavior of SchemaOnly

	* System.Data.OracleClient/OracleCommandBuilder.cs:
	implement OracleCommandBuilder.  Does not work yet.

	* System.Data.OracleClient/OracleDataReader.cs:
	implement CommandBehavior of KeyInfo which is required
	for OracleCommandBuilder.  Correct data retreived via
	GetSchemaTable()

	* System.Data.OracleClient.Oci/OciParameterDescriptor.cs: add
	method to convert a OciDataType enum to OracleDataType enum
	
	* System.Data.OracleClient.Oci/OciStatementHandle.cs: allow
	execute of DescribeOnly to support CommandBehavior.SchemaOnly

	* Test/OracleAdapterTest.cs: add file for adapter tests

svn path=/trunk/mcs/; revision=47156
2005-07-10 20:43:31 +00:00
Daniel Morgan 586b31fa86 2005-07-08 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleParameter.cs
	* System.Data.OracleClient/OracleCommand.cs
	* System.Data.OracleClient/OracleDataReader.cs: support
	Output parameters.  Return and InputOutput are TODO.  Input
	already supported.  TODO for handling NULL indicator on Output params.

	* System.Data.OracleClient/OracleConnection.cs: remove
	compile warning

	* Test/TestOracleClient.cs: add tests for out parameters

svn path=/trunk/mcs/; revision=47076
2005-07-08 06:01:26 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Daniel Morgan be424fd23b 2005-02-20 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleDateTime.cs: modified -
	added functions for converting the date format strings between
	OracleDateTime and DateTime based on 
	the NLS_DATE_FORMAT on the Oracle server
	
	* System.Data.OracleClient/OracleConnection.cs: implement
	internal function GetNlsInfo to get NLS info from the Oracle server
	for the session or environment.  Also, implemented function
	GetSessionNlsDateFormat to get Oracle's NLS_DATE_FORMAT string
	
	* System.Data.OracleClient/OracleParameter.cs: for input parameters,
	fixed setting the parameter value to DBNull.Value and fixed the
	setting of a DateTime or OracleDateTime.  Tried to fix CLOBs/BLOBs, but
	it is still a TODO.
	
	* Test/TestOracleClient.cs: updated the parameters test
	
	* System.Data.OracleClient.Oci/OciHandle.cs: implement
	internal function SetAttributeString
	
	* System.Data.OracleClient.Oci/OciCalls.cs: add DllImport
	OCIBindByNameBytes so byte array can be passed instead of IntPtr
	for the value, add DllImport OCIDateTimeFromText, 
	and added DllImport for OCINlsGetInfo to get NLS info, 
	such as, NLS_DATE_FORMAT
	
	* System.Data.OracleClient.Oci/OciAttributeType.cs: added
	attribute for date format (not used)
	
	* System.Data.OracleClient.Oci/OciNlsServiceType.cs: added new file
	for an enum to hold NLS Service types which is to be used with GetNlsInfo()
	in OracleConnection
	
	* System.Data.OracleClient.dll.sources: added OciNlsServiceType.cs to
	the build

svn path=/trunk/mcs/; revision=40926
2005-02-20 10:52:16 +00:00
Daniel Morgan ef125f112a 2005-02-07 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleDataReader.cs: add LONG 
	to GetOracleValue to return an OracleString
	
	* System.Data.OracleClient.Oci/OciDefineHandle.cs: add
	LONG VARCHAR support.  See DefineLong () 
	for LAMESPEC about OCI

	* Test/TestOracleClient.cs: add LONG to Oracle tests

svn path=/trunk/mcs/; revision=40229
2005-02-07 04:58:51 +00:00
Daniel Morgan d3c298e5e0 2005-01-09 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleCommand.cs: set Command
	property on OciStatementHandle
	
	* System.Data.OracleClient/OracleConnection.cs: implement
	properties ServerVersion and DataSource, partially
	implement method ICloneable Clone, implement
	connection StateChange and InfoMessage events
	
	* System.Data.OracleClient/OciGlue.cs: add internal properties
	for OciSessionHandle and OciServerHandle
	
	* System.Data.OracleClient/OracleInfoMessageEventArgs.cs:
	implement
	
	* Test/TestOracleClient.cs: add new tests
	
	* System.Data.OracleClient.Oci/OciStatementHandle.cs: 
	- add property for OracleCommand
	- patch from Joost Evertse <[email protected]>
	  for handling OCI_SUCCES_WITH_INFO during Fetch which
	  indicates a Warning info message
	
	* System.Data.OracleClient.Oci/OciCalls.cs: added OCI call
	OCIServerVersion
	
	* System.Data.OracleClient.Oci/OciDefineHandle.cs: flush

svn path=/trunk/mcs/; revision=38585
2005-01-10 03:35:25 +00:00
Daniel Morgan bd13a44741 2005-01-06 Daniel Morgan <[email protected]>
* Assembly/AssemblyInfo.cs: updated copyright
	
	* System.Data.OracleClient/OracleCommand.cs: add 
	connection string parameter "Server" and 
	removed "Database" to match .NET
	
	* System.Data.OracleClient/OracleLob.cs: handle 
		BLOBs and CLOBs that are not null, but are empty
	
	* System.Data.OracleClient/OracleCommand.cs: started 
		implementing Clone and ExecuteOracleScalar
	
	* System.Data.OracleClient/OracleDataReader.cs: modified
	- ms.net has GetDataTypeName return data types upper case
	- implement	GetFieldType
	- implement GetOracleValues, GetOracleValue, 
	  GetOracleDateTime, GetOracleNumber, GetOracleString
	- modified GetOracleLob based on internal change
	- fix GetSchemaTable to return the correct "DataType" 
		instead of always being System.String
	- GetValue should return Blobs as a byte array and Clobs 
		as a string
	- Test/TestOracleClient.cs: updated Mono Oracle Tests
	- System.Data.OracleClient.Oci/OciCalls.cs: update 
		DllImports for data type, actual data size, and iters

	* System.Data.OracleClient.Oci/OciDefineHandle.cs: modified
	- added properties for precision and field type
	- if ROWID is specified in a SELECT statement, handle 
		the data type of OciDataType.RowIdDescriptor by just 
		treating it as 10 byte string
	- do not free a HGlobal handle for a LOB since they do
		not get a HGlobal created for them
	- GetValue should return an OracleLob for BLOBs and CLOBs
	
	* System.Data.OracleClient.Oci/OciDataType.cs: make enum
	OciDataType to be uint
	
	* System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
	- add function to convert Oracle's data type name 
		to .net data type name
		
	* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs: flush	

svn path=/trunk/mcs/; revision=38419
2005-01-06 07:27:41 +00:00
Marek Safar 3d1d13bb9b removed unused variables
svn path=/trunk/mcs/; revision=36557
2004-11-25 16:16:01 +00:00
Joerg Rosenkranz f417fe531b 2004-05-27 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient/OracleCommandBuilder.cs:
		Fixed namespace.
	* System.Data.OracleClient.dll.sources:
		Added OracleCommandBuilder.cs.

2004-05-26	Joerg Rosenkranz <[email protected]>

	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
		Merged in a fix send by Rogerio Pereira Araujo
		<[email protected]>: Fixed a bug with NUMBER data type
		when no parameter is passed to OracleCommand.

svn path=/trunk/mcs/; revision=28333
2004-05-28 07:28:45 +00:00
Gonzalo Paniagua Javier 64f41b5283 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* System.Data.OracleClient/OracleCommand.cs:
	* System.Data.OracleClient/OracleDataReader.cs:
	* System.Data.OracleClient.Oci/OciStatementHandle.cs: patch by Eduard
	Nesiba that implements autocommit behavior for non query statement
	which is out of transaction. In previous implementation changed rows
	stayed locked until client disconnect and hasRows proper settings.

svn path=/trunk/mcs/; revision=28019
2004-05-25 00:49:50 +00:00
Miguel de Icaza 7665cb70ff 2004-05-10 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient.Oci/OciCalls.cs:
		Added OCI calls OCICharSetToUnicode and OCIUnicodeToCharSet.
 	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
 		Changed statement encoding from UTF8 to OCIUnicodeToCharSet.
 	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
 		Changed string encoding from UTF8 to OCICharSetToUnicode.

svn path=/trunk/mcs/; revision=27855
2004-05-21 22:21:59 +00:00
Umadevi S 3b7e9b62a3 2004-05-21 Umadevi S <[email protected]>
* System.Data.OracleClient.Oci/OciDefineHandle.cs
          Fixed bug 55030. Included checking for size

svn path=/trunk/mcs/; revision=27799
2004-05-21 05:33:18 +00:00
Gonzalo Paniagua Javier 1c7ec0236b 2004-04-10 Gonzalo Paniagua Javier <[email protected]>
* OciDefineHandle.cs: added support for basic RAW data type. Patch by
	Eduard Nesiba.

svn path=/trunk/mcs/; revision=25269
2004-04-10 05:24:24 +00:00
Miguel de Icaza ca52e918c1 Patch from Joerg Rosenkranz
2004-03-31  Joerg Rosenkranz  <[email protected]>

	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
		Changed DefineChar to allow retrieval of
		multibyte characters (i.e. german umlauts).
	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
		OciDefineHandles are now disposed in the
		Dispose function.

svn path=/trunk/mcs/; revision=24996
2004-04-03 17:19:03 +00:00