changelog

来自「一个很好用的Linux/Unix下Oracle OCI开发接口封装库」· 代码 · 共 136 行

TXT
136
字号
2003-08-14  kpoitschke <kai[_at_]poitschke.de>        * Released 2.2.11	* sqlora.c (sqlo_execute): Fixed a memory problem when	doing one parse and lots of bind_by_name and executes.	Memory increased when lots of binds were done.2003-06-11  kpoitschke  <kai.poitschke@axense.com>	* acoracle.m4 (ORACLE_LIBDIR): Use $ORACLE_HOME/lib32 if present	in favour of $ORACLE_HOME/lib. Helps on Solaris9 and maybe on 	other 64bit OS too.2002-12-06  Kai Poitschke  <kai[_at_]poitschke.de>	* Released 2.2.10	* sqlora.c (_stmt_init): Fixed a malloc bug where stmts > 1024 bytes	lost one byte at the end.2002-12-02  Kai Poitschke  <kai[_at_]poitschke.de>	* Released 2.2.9		* acoracle.m4 (AM_PATH_ORACLE): Fixed configure/link problems 	on AIX (at least some versions of it).2002-08-25  Kai Poitschke  <kai[_at_]poitschke.de>	* _db_release: Close open trace files	* _get_trace_fp: Return in any case a valid fp. If nothing works, sterr	will be returned.	2002-08-25  Kai Poitschke  <kai[_at_]poitschke.de>	* Released 2.2.8	2002-08-24  Kai Poitschke  <kai[_at_]poitschke.de>	* sqlora.c (sqlo_reopen, sqlo_fetch): This function closed internally	the cursor, if an error occured. If the user did this also, the user	probably closed a cursor which was already opened by another thread,	which caused corruption in the internal data structure and strange	effects for the user.	Generally speaking, multiple sqlo_close were not safe. Now sqlo_close	checks if the cursor was really opened by the closing thread.	A better solution would be to store statement handles locally per	database handle and make statement handle values unique across 	multiple connections. This would mean we don't have to lock the	statement handle vector anymore, which means much less locks and	hopefully a better performance. 	The drawback would be a lower limit of available dbh's (32768) and	sth's (65535 per connection), which is not a too hard limit IMHO.	* sqlora.c (sqlo_server_attach): Protect OCIEnvCreate by a mutex lock.	Looks like OCIEnvCreate is not thread safe, so we better protect it.		* sqlora.c (sqlo_close): Close cursor (means release any resources)	even if the cursor is not opened or prepared.	* sqlora.c (sqlo_close): Check if the cursor we want to close is really	opened by this thread.	* sqlora.h: Added missing prototype and documentation of sqlo_get_stmt.	* sqlora.c (sqlo_values, sqlo_ocol_names, sqlo_ocol_name_len)	 Set *num to 0, if function returns NULL, in case of errors.	Of course this only done if num != NULL.		* Added windows subdirectory, which provides the readme file and a def	file to use it with Visual C++	2002-08-16  Kai Poitschke  <kai[_at_]poitschke.de>	* configure.in: Added compiler flag -W if gcc is used.	* Makefile.start: New target config to get the lastest config.sub 	and config.guess from fsf.	2002-07-24  Kai Poitschke  <kai[_at_]poitschke.de>	* Released 2.2.72002-07-23  Kai Poitschke  <kai[_at_]poitschke.de>	* doc/Makefile.am: Made doc the default target.2002-07-19  Kai Poitschke  <kai[_at_]poitschke.de>	* sqlora.c (_save_oci_status): Changed format of error messages.	libsqlora8 specific messages start with LIBSQLORA8-<nnnnn>, where nnnnn	is the error number.	* acoracle.m4 (ACX_ORACLE_VERSION): Fixed error in script to	determine the Oracle version.	2002-07-16  Kai Poitschke  <kai[_at_]poitschke.de>	* Released 2.2.6		* sqlora.c (sqlo_register_int_handler): New function to register	a signal handler for interrupts. 	Because you are not allowed to install your own handler for SIGINT,	you can register one with the OCI interface via the sqlo_register_int_handler        function. Oracles OCI will call this function if it catches the SIGINT.    	NOTE: DON'T TRY TO EXECUTE ANY OCI/LIBSQLORA8 FUNCTIONS IN THE SIGNAL HANDLER!!!    		Have a look at examples/examples.c to see how it is used.	* sqlora.c (sqlo_clear_int_handler): New function to clear	a signal handler for interrupts. 	2002-07-16  Kai Poitschke  <kai[_at_]poitschke.de>	* sqlora.c (sqlo_get_ocol_dtype): Returns allways the right Oracle	datatype. The function returned the type used in the library before.	* sqlora.c (sqlo_ncols): For select list columns, we execute now	the statement and return the number of columns delivered by the OCI 	statement attribute OCI_ATTR_PARAM_COUNT. 2002-07-12  Kai Poitschke  <kai[_at_]poitschke.de>	* sqlora.c (_open_trace_file): Fixed wrong parameter documentation.2002-07-11  Kai Poitschke  <kai[_at_]poitschke.de>	* Released 2.2.5	* sqlora.c (_open_trace_file): Write session specific trace files.	There is still the trace file sqlora8.trc where information is written,	before a connection to a databas

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?