1999-03-31  Michael Lausch  <mla@gams.at>

	* gda-types.h (_Gda_ODBC_Recordset): remove at_begin attribute.

	* gda-recset.h (gda_odbc_describe_recset): new prototype.

	* gda-recset.c (gda_odbc_recset_allocmem): rename function, was 
	recset_allocmem. Free CORBA memory allocated if a driver error
	happens.
	(gda_odbc_recset_move_next): Return if already at end of
	data. IODBC throws an error after SQL_NO_DATAFOUND has already
	been returned. 

	* gda-odbcsrv.c (impl_GDA_Recordset_fetch): set the length for all 
	the array data types.

	* gda-command.c (gda_odbc_describe_recset): don't care about
	at_end, at_beginning settings.  

1999-03-29  Michael Lausch  <mla@gams.at>

	* gda-recset.c (gda_odbc_recset_move_next): Add error handling if
	SQLFetch returns an error.

	* gda-odbcsrv.c (impl_GDA_Recordset_fetch): Mark the shadow value
	and the original value as NULL values.

1999-03-22  Michael Lausch  <mla@gams.at>

	* gda-recset.c: Remove the table creation function. They belong in 
	the connection.c file. 

	* gda-odbcsrv.c (impl_GDA_Connection_createRecordset): Implement
	the table creation function.

	* gda-connection.h: Add prototype for a function to creater a
	table from a recordset.

	* gda-connection.c: Add function to create a table in adatabase
	from a recordset. This makes it easy for the database designer to
	create new tables. 

	* gda-command.c (gda_odbc_describe_recset): Remove unnecessary
	debug output.

1999-03-09  Michael Lausch  <mla@gams.at>

	* gda-odbcsrv.c (impl_GDA_Command_execute): Use the affected
	parameter. Return CORBA_OBJECT_NIL if there are no results from
	the query. 
	(impl_GDA_Recordset_describe): Catch the case if the servant
	object has no result set. This is for debugging only. 

	* gda-odbc-misc.h (value_2_ptr): Added prototypes for utility
	functions. 

	* gda-odbc-misc.c: Added utility functions.

	* gda-command.h (gda_odbc_cmd_execute): Change prototype.

	* gda-command.c: Move utility functions to gda-odbc-misc.c file.
	(gda_odbc_cmd_execute): use the affected_rows parameter to return
	the number of affected rows.

1999-03-08  Michael Lausch  <mla@gams.at>

	* main.c (main): use new factory function.

	* gda-recset.c: move type conversion to gda-odbc-misc.c file. 

	* gda-connection.c: don't pass error object when calling one of
	the schema functions. They use the connection to store the
	errors. 

	* Makefile.am (libgda_odbc_la_SOURCES): new source files
	gda-odbc-misc.{c,h}.
	(implementation): new target to generate implementation stubs.

1999-03-04  Michael Lausch  <mla@gams.at>

	* gda-odbcsrv.c (gda_Recset_fetch): chunk->_length set to number
	of fetched rows. Don't allocate buffer if no rows have been fetched.

1999-03-03  Michael Lausch  <mla@gams.at>

	* sqldriver.h: add prototypes for SQLProcedure and SQLFetchPrev

	* gda-odbcsrv.c (gda_Recset_fetch): Completly redone logic. Now
	the function can rause an exception  and returns the correct value 
	even if the table is empty. 
	(GDA_odbc_connection_start_logging): Cast the filename parameter
	to SQLSetConnectOption.
	(gda_Command_execute): Cast the parameter to CORBA_string_dup().

	* gda-recset.c (gda_odbc_recset_move_next): Return
	error condition if allocate_recordset_memory fails.
	(allocate_recordset_memory): Let the function return an error. 


	

