Commit Graph

109 Commits

Author SHA1 Message Date
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Andrey Hristov
98f88d7a97 Remove RPL functions. They were always experimental and lead to crashes.
The underlying functions will be removed from libmysql as of MySQL 6.0, so
it's right time to remove them.
2007-12-28 15:37:52 +00:00
Andrey Hristov
8b9b553aa2 Import mysqlnd
Patch ext/mysql and ext/mysqli to support mysqlnd
2007-10-05 21:23:56 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Zeev Suraski
7669169bd5 Whitespace fix (don't ask :) 2005-12-26 09:28:38 +00:00
foobar
06b36f7cea MFH: nuke php3 legacy 2005-12-06 01:40:06 +00:00
Antony Dovgal
d8e5ee075f MFH: fix bug #34902 (mysqli::character_set_name() - undefined method) 2005-10-18 10:02:36 +00:00
Georg Richter
7357ac0b96 fix for bug 34785:
added support for parent::__construct (mysqli_statement and mysqli_resultset)
  fixed failed testcases when sql_mode is in effect
2005-10-08 15:08:07 +00:00
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
224b12ba8b reverted Ilias changes - added get_warnings methods
(forgot to commit the file in my last commit)
2005-06-24 14:44:45 +00:00
Ilia Alshanetsky
50d32d4d7e temporary fix to let mysqli extension build, so we can make a release. 2005-06-23 02:15:04 +00:00
Georg Richter
d486da963e added new function mysqli_get_charset 2005-06-03 08:49:01 +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
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
8c6ab178e4 fixed bug #29311
added support for Cursors (MySQL 5.0.x)
2004-07-23 12:47:36 +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
f063bdec06 added php_mysqli_construct_get to support __construct in extended classes 2004-06-23 16:47:25 +00:00
Georg Richter
1b40042b35 forgot to remove Win32 restrictions for mysql methods 2004-06-07 08:34:52 +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
460ec22808 ups - changed alias instead of method before 2004-03-21 20:45:57 +00:00
Georg Richter
535b190ac1 renamed get_metadata method to get_result_metadata.
(We have to differentiate between result_metadata and param_metdata.
 mysql_stmt_param_metadata will be added in libmysql 4.1.3)
2004-03-21 20:43:44 +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
Edin Kadribasic
865903a2a4 Attempt at fixing win32 link errors 2004-03-03 18:54:20 +00:00
Georg Richter
5ffccfffda removed blocking calls to mysql_set_server_option (MYSQLI_DISABLE_MQ)
added mysqli_multi_query to function table
changed stmt->affected_rows property (http://bugs.mysql.com/?id=2247) for 4.1.2
2004-02-26 08:27:24 +00:00
Georg Richter
12c6378412 fixed typo in method alias 2004-02-21 07:37:41 +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
Georg Richter
429aa55248 prototype fixes
removed method field_tell (which is already property current_field)
2004-01-27 13:23:54 +00:00
Georg Richter
5066f521db proto fixes
removed mysqli_read_query_result (will be removed in libmysql)
2004-01-26 13:38:13 +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
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Georg Richter
317e4b0d90 added properties
- insert_id
	- server_status
fixed bug in mysqli_execute (report func)
2003-12-16 08:18:31 +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
73be3af983 added functions for embedded server 2003-10-29 20:52:25 +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
55f947aa13 Fix build 2003-08-03 18:55:51 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +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
f38bd95002 added BYREF_FORCE for bind parameters in msqli_bind_param and mysqli_bind_result
changed function parameters in mysqli_bind_param
  from (object statement, mixed var1, long type1, ...)
  to   (object statement, array tyoes, mixed var1, mixed var2, ...)
2003-06-28 21:27:08 +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
e43e219e46 changed method name 2003-03-24 07:43:28 +00:00
Georg Richter
15f648c8f9 various changes for profiler 2003-03-08 23:33:12 +00:00
Georg Richter
281960ee78 added profiler support 2003-03-03 22:36:47 +00:00
Georg Richter
500dfcfd62 added new function mysqli_stmt_store_result 2003-02-18 08:49:00 +00:00
Georg Richter
1f188f6554 added close method/alias for result object (for compatibility with statement and
link objects)
2003-02-17 09:38:32 +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
Georg Richter
44559a18f9 added new function int mysql_get_server_version
this function is available since libmysql change set 1.1450 (2002-02-13)
2003-02-13 00:11:17 +00:00
Georg Richter
ef086ad82d changed function entries for statements 2003-02-12 21:07:28 +00:00
Georg Richter
2706394076 removed function mysql_num_warnings (libmysql change). 2003-02-12 10:39:06 +00:00
Georg Richter
7d7c07a77c initial upload 2003-02-12 00:45:53 +00:00