Commit Graph

54 Commits

Author SHA1 Message Date
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Antony Dovgal
502b00c3f6 add forgotten ifdefs, fix #33667 (mysqli doesn't compile) 2005-07-12 20:38:34 +00:00
Georg Richter
9aabcf7016 changed version dependency for charset functions 2005-07-12 15:45:07 +00:00
Georg Richter
9caaee66bd removed charset structure. libmysql now provides a function
mysqli_get_character_set_info (Vers. 5.0.10)
2005-07-12 09:35:16 +00:00
Georg Richter
6fba73e8e2 changed/fixed mysqli_warning class
added prefetch support for cursors
2005-06-22 09:12:43 +00:00
Georg Richter
d486da963e added new function mysqli_get_charset 2005-06-03 08:49:01 +00:00
Georg Richter
230681b0b3 enabled set_charset for MySQL Versions >= 5.0.6
added testcase for bug #33090
2005-05-21 08:46:46 +00:00
Georg Richter
d8f91dc44c mysql_set_charset now works version undependent for MySQL 4.1.13 and above 2005-05-13 13:30:22 +00:00
Georg Richter
49e1484da8 - fixed compile error under windows. Functionality for changing the
character set was moved to libmysql (4.1 bk tree - will be merged into
5.0 within the next days).
- renamed mysql_set_character_set to mysqli_set_charset
2005-05-13 13:11:41 +00:00
Georg Richter
b654b20ef6 Added new function mysqli_set_character_set_name 2005-05-08 08:39:56 +00:00
Andrey Hristov
f6b12b351e MFB (fixing bug 31668) 2005-04-27 12:12:58 +00:00
Zak Greant
f3d39ff406 Added standard emacs and vim modelines 2005-01-16 19:28:55 +00:00
Georg Richter
0b4c108bd7 Added new classes:
mysqli_driver
	mysqli_warning
	mysqli_exception
	mysqli_sql_exception

Improved embedded server support
changed testsuite to work also with embedded server

Made statement and resultset classes extendable

minor fixes
2005-01-07 14:59:59 +00:00
Georg Richter
683f6c879c added constructors for mysqli_stmt and mysqli_result classes 2004-12-26 13:16:40 +00:00
Georg Richter
62ed6a0f2b fixed bug #29283 2004-09-02 04:53:01 +00:00
Georg Richter
c8572b0bba changed local_infile_handler:
mysql client lib now uses php_local_infile functions by default, which allows
  to use php_fopen_wrapper: e.g. LOAD DATA LOCAL INFILE 'http://foo.com/bar.csv' ...

  mysql_set_local_infile_handler now only supports a callback function for read.
2004-08-25 13:57:35 +00:00
Georg Richter
9db1075c0e added check in config.m4 for deprecated library
added support for new 4.1.3-beta functions
	mysqli_stmt_field_count
	mysqli_stmt_attr_set
	mysqli_stmt_attr_get
removed support for deprecated/old api functions
fixed bug in constructor_get
2004-07-07 08:02:27 +00:00
Georg Richter
f0468116c0 removed conditional defines for load_data_infile_handlers on windows
(4.1.2 windows build is fixed now on mysql.com)
2004-06-06 08:52:19 +00:00
Georg Richter
93bf6517df Major changes for 4.1.2-alpha/4.1.3-beta:
- added container for mysql structure
- added load data infile callback functions (currently disabled under win)
Bug fixes:
- fixed property changes (4.1.1 -> 4.1.2)
- fixed memleak in mysqli_connect
- fixed bug #28100
- fixed bug #28205
- fixed bug #28430
2004-06-05 18:31:56 +00:00
Georg Richter
e3077eadef fixed stmt->stmt->query which was removed in libmysql 4.1.2
added query buffer in internal stmt structure to copy string
after prepare
2004-03-16 21:43:25 +00:00
Georg Richter
a3bd712b78 added new function mysql_stmt_free_result 2004-03-10 09:50:05 +00:00
Georg Richter
612ab199ad fixed memleaks in bind functions
added 4.1.2 support (renamed functions)
2004-03-09 12:01:23 +00:00
foobar
ac5fa854f3 ws & cs fixes 2004-02-26 12:33:23 +00:00
Georg Richter
8e52a1a8a3 added MySQLI ini entries
added ini parameter for mysql->reconnect
2004-02-26 11:40:35 +00:00
Georg Richter
7782a4b425 removed experimental status
fixed bug in mysqli_data_seek (thx to Andrey "Effendi" Hristov)
various prototype fixes
moved some methods to properties which are part of mysql struct
added function mysqli_get_server_version
2004-01-28 22:51:54 +00:00
foobar
6a1d0114a7 Silence some compile warnings 2004-01-23 03:28:59 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Georg Richter
c10072d067 fixed memleak and segfault when constructor call failed 2003-12-31 08:34:02 +00:00
Marcus Boerger
04d0d99b11 ZTS fixes 2003-12-13 13:44:56 +00:00
Georg Richter
8b3b1c192b removed profiler
added mysqli_report
	- better support for errors
	- support for no_index_used and bad_index_used
typos and prototype fixes
2003-12-13 00:28:21 +00:00
Georg Richter
230b207849 - Added multiquery support:
mysqli_multi_query
	mysqli_more_results
	mysqli_next_results

- added read-only properties (and removed methods)
	object mysql
		affected_rows
		client_flags
		client_version
		errno, error,
		host, host_info, info
		server_capabilities, server_version
		sqlstate, port, protocol_version,
		server_language
		thread_id, user, warning_count

	object result
		current_field, field_count,
		lengths, num_rows, type

	object stmt
		query, param_count, field_count,
		id, errno, error, sqlstate


- added constructor

- minor fixes, prototypes
2003-11-22 21:20:07 +00:00
Georg Richter
8caae993a3 added support for embedded MySQL Server
some prototype fixes
2003-10-29 20:48:47 +00:00
Georg Richter
49823c5edb mysql_prepare_result -> mysqli_get_metadata
This function was renamed in libmysql (changeset 1.607 by monty)
2003-09-25 11:19:25 +00:00
Marcus Boerger
1ae13e543a Modify mysqli_fetch_object() to be able to instantiate a selected class and
pass parameters to the constructor.
2003-09-06 19:34:48 +00:00
Georg Richter
13966fdf3e added new functions:
mysqli_connect_error
  mysqli_connect_errno

  which return possible errors for the last connect
2003-07-18 06:17:39 +00:00
Georg Richter
db398787e6 added new function mysqli_stmt_data_seek 2003-07-15 14:00:19 +00:00
Georg Richter
b6bed54bbd added support for rebind 2003-07-15 10:37:19 +00:00
Georg Richter
5655ebe6f2 added new function mysqli_stmt_num_rows 2003-06-22 08:46:39 +00:00
Georg Richter
4554dc4a37 new functions (4.1.1): mysql_sqlstate, mysql_stmt_sqlstate 2003-06-21 13:35:26 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Georg Richter
7cf921a56f profiler:
moved profiler stuff from php_mysql.h to separate include file
added port communication
added xml support for file and port output
2003-03-11 01:19:21 +00:00
Georg Richter
15f648c8f9 various changes for profiler 2003-03-08 23:33:12 +00:00
Georg Richter
338ec7b859 fixed bug in macro-definition 2003-03-03 22:50:56 +00:00
Georg Richter
281960ee78 added profiler support 2003-03-03 22:36:47 +00:00
Georg Richter
b63fbf2763 Fixed bug with stmt_close (libmysql bk version 1.1477 required)
Fixed bug with mysql_execute and float values
2003-02-22 07:31:01 +00:00
Georg Richter
500dfcfd62 added new function mysqli_stmt_store_result 2003-02-18 08:49:00 +00:00
Ilia Alshanetsky
ad1972fae9 Moved longlong conversion to a macro. 2003-02-16 15:56:57 +00:00
Georg Richter
6997d50ff0 added new function mysqli_stmt_affected_rows
added bigint support for mysqli_affected_rows
fixed memleak in mysqli_prepare (stmt->is_null)
fixed return type for mysqli_connect
2003-02-16 12:03:37 +00:00
Ilia Alshanetsky
f8e0290cd6 Allow mysqli to be built when imap (c-client) is used. 2003-02-14 21:27:13 +00:00
Ilia Alshanetsky
031dd997fb Missing portion of the previous patch. 2003-02-14 16:49:09 +00:00