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

	* gda-recordset.c (gda_recordset_new): Fix initialization.
	(fetch_and_store): Fix fetching with count > 1.

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

	* gda-recordset.c (fetch_and_store): Simplification.
	(gda_recordset_move_first): Allow a move_first without any data fetched. 

	* gda-recordset.h (_Gda_Recordset): new attributes for cursor
	location and type.

	New prototypes.

	* gda-recordset.c (row_by_idx): Check for over and underflow
	condition. Needed by new navigation logic. 
	(gda_recordset_new): Set reasonable defaults.
	(gda_recordset_bof):
	(gda_recordset_eof):Stricter check
	(fetch_and_store): New function. Get data and store it
	locally. Used when cursor location is on the client side. 
	(fetch_and_dont_store): New function (untested). Get data and
	don't store it locally. Used when cursor location is on the server 
	side. 
	(gda_recordset_move): Use the new functions, depending on the
	cursor location.
	(gda_recordset_move_first): 
	(gda_recordset_move_last): Behaviour depends on the cursor
	location. 
	(gda_recordset_get_connection): New function. Return the current
	connection for the recordset.
	(gda_recordset_open_txt): set the cursor_type and lock_type
	attributes. Initialize recordset attributes to reasonable
	defaults. 
	(gda_recordset_get_cursorloc):
	(gda_recordset_set_cursorloc):
	(gda_recordset_get_cursortype): 
	(gda_recordset_set_cursortype): new functions. used to set
	Recordset attributes. 

	* gda-field.c (gda_stringify_value): Stringify varbinary data
	type. The implementation is kind of useless right now.

	* gda-connection.c (open_schema): 
	* gda-command.c (gda_command_execute): Don't bother with eof,bof
	settings here.

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

	* gda-connection.c (gda_connection_open_schema): Fix memory
	allocation for strings and memory leak. 

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

	* gda-connection.c (gda_connection_open): Return an error if
	database name is not found in ~/.gnome/gdalib.

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

	* gda-server.h: Add prototype for gda_server_copy.

	* gda-server.c (gda_server_copy): New function to copy a
	Gda_Server object.

	* gda-recordset.h: Change prototype for gda_recordset_create().

	* gda-recordset.c (gda_recordset_create): New function to create a
	table which has the same layout as the recordset passed as
	parameter. It doesn't work now. 

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

	* gda-recordset.h: Add prototypes for new functions.

	* gda-recordset.c (gda_recordset_open_txt): don't free the
	resultset if an exception was thrown. It might be invalid (ORbit
	didn't marshall CORBA_OBJECT_NIL values correctly). 
	(gda_recordset_add_field): new function. You can add fields to a
	recordset. Used to create a table with the same layout as the
	recordset or to provide filtering for the result of a query. You
	might also use recordsets without connection to the database to
	emulate query results. 

	* gda-command.c: moved utility functions to gda-odbc-misc.c
	(gda_command_execute): Behave correctly if no recordset is
	returned from the server. This is the case if the SQL statement
	does not return any value.

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

	* gda-recordset.c (add_errors_to_list): new function.
	(gda_recordset_open_txt): use new add_errors_to_list function.
	Fix memory leak. 

	* gda-connection.c (get_corba_connection): use new factory to
	create connection. 
	(gda_connection_list_datasources): catch NULL return value and
	exception from GDA_Connection_listSources.
	(gda_connection_open_schema): fix memory leak.

