Commit Graph

1316 Commits

Author SHA1 Message Date
foobar
3c0eb788fa ws 2003-12-08 18:57:09 +00:00
foobar
b03cb681f6 Fix logic 2003-12-07 15:33:19 +00:00
Georg Richter
10b60148c9 prototype fix for mysqli_ssl_set 2003-11-30 10:56:55 +00:00
Georg Richter
e664af1943 added/fixed write property 2003-11-24 11:31:26 +00:00
Georg Richter
fee99f6b29 fixed mem leak in constructor 2003-11-23 07:50:04 +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
Hartmut Holzgraefe
f992fbfa2c proto fix 2003-11-19 20:13:49 +00:00
Ilia Alshanetsky
d9bf51b17c 10-18% optimization of fetch_array(), when both number & string indexes are
created.

# Do we want to MFH the change (for ext/mysql) into 4.3.X?
2003-11-07 17:20:49 +00:00
foobar
2c9f29b9b6 cosmetics 2003-10-31 13:48:34 +00:00
Zak Greant
8802c3ad8c Ensure that INI entries are unregistered on shutdown 2003-10-30 13:32:18 +00:00
Georg Richter
8f1f9b2f6d changed return value from long to boolean for mysql_execute 2003-10-30 12:35:16 +00:00
Georg Richter
73be3af983 added functions for embedded server 2003-10-29 20:52:25 +00:00
Georg Richter
8caae993a3 added support for embedded MySQL Server
some prototype fixes
2003-10-29 20:48:47 +00:00
Georg Richter
340d891b3e mysqli_prepare_result -> mysqli_get_metadata 2003-09-25 11:19:58 +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
Hartmut Holzgraefe
92b237f4c3 proto fix 2003-09-16 19:45:22 +00:00
Georg Richter
c836bf6036 test for helly's mysqli_fetch_object changes 2003-09-06 19:40:53 +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
Marcus Boerger
14ffad71d6 Fix warnings 2003-09-05 19:27:26 +00:00
Marcus Boerger
63dacec1d4 Revert commit by accident, sorry 2003-08-31 11:03:05 +00:00
Marcus Boerger
d15ad4609d Revisited: Replace the non portable code by spprintf 2003-08-31 10:52:23 +00:00
Andrey Hristov
b2eb454171 format string fixes 2003-08-28 21:00:24 +00:00
Andrey Hristov
acb65b7c0a misplaced quote 2003-08-28 20:51:18 +00:00
Marcus Boerger
304f37fb80 Fix parameter spec 2003-08-21 14:34:07 +00:00
foobar
83595f1f5c fix test 2003-08-12 02:05:21 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +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
foobar
4babf66753 ws fix 2003-07-28 10:23:36 +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
5c09a9e42f test for bind + sql_mode=PIPES_AS_CONCAT 2003-07-15 13:13:59 +00:00
Georg Richter
b6bed54bbd added support for rebind 2003-07-15 10:37:19 +00:00
Georg Richter
4457876554 additional test for multi-bind 2003-07-15 10:36:18 +00:00
Georg Richter
192fb9095e changed tests (ysqli_bind_param and mysql_bind_result changes) 2003-06-28 21:30:58 +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
bb37c9c335 fixed prototypes 2003-06-22 06:16:47 +00:00
Georg Richter
4554dc4a37 new functions (4.1.1): mysql_sqlstate, mysql_stmt_sqlstate 2003-06-21 13:35:26 +00:00
Sterling Hughes
821b0fa134 remove the wierdness that prevented the compileness 2003-06-17 00:49:24 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Georg Richter
5a7257f6e2 fixed return value 2003-06-06 08:57:51 +00:00
foobar
8282bd0117 - No c++ comments in c code.. 2003-06-02 11:42:39 +00:00
Marcus Boerger
cc629666e8 - fix one warning
- fix some commit by accident?
# did someone here mix c and php code ?
2003-05-31 22:03:57 +00:00
Georg Richter
82afbdc281 additional check for unsecure connect options 2003-05-31 07:05:34 +00:00
Georg Richter
445180f228 MYSQL_NEED_DATA isn't defined anymore in mysql.h 2003-05-21 08:47:27 +00:00
foobar
f8354b5c5d Align the configure --help texts 2003-05-19 23:43:41 +00:00
Marcus Boerger
2838dcb713 Add missing ini setting (use default and change expected result accordingly) 2003-05-19 19:14:34 +00:00
Zak Greant
eac7884bdb Added a few extra proto descriptions and made some minor corrections and comments 2003-05-04 03:15:02 +00:00
Hartmut Holzgraefe
e06fdaae8b accept possible leaks for now to make SELECTS with both bound parameters
and results again ...
2003-04-11 04:41:52 +00:00
Hartmut Holzgraefe
a1ff81d277 proto fix 2003-04-11 04:30:29 +00:00
Hartmut Holzgraefe
2f26d2b693 parameter count for bind stuff is different in OO interface 2003-04-11 04:29:28 +00:00
Georg Richter
05e02eb27b fixed mysqli_prepare_result 2003-04-03 08:03:59 +00:00
Georg Richter
130860e709 fixed output 2003-04-03 08:03:12 +00:00
Georg Richter
625df86428 fixed expected output 2003-04-02 22:07:27 +00:00
Georg Richter
e3bf2f5c9c changed constant name 2003-03-30 15:28:21 +00:00
Georg Richter
7ff2c00be8 changed macro 2003-03-30 13:51:06 +00:00
Sebastian Bergmann
38491e487f --+_ 2003-03-30 09:24:40 +00:00
Georg Richter
e43e219e46 changed method name 2003-03-24 07:43:28 +00:00
Marcus Boerger
f83c88e81d Add missing initialization 2003-03-21 18:08:59 +00:00
Marcus Boerger
49adbd1ef6 missing TSRMLS_FETCH 2003-03-20 20:03:21 +00:00
foobar
6a6e0151c5 Better config.m4.. 2003-03-19 23:52:45 +00:00
Hartmut Holzgraefe
6f24340f22 more proto fixes 2003-03-17 12:48:38 +00:00
Hartmut Holzgraefe
e6633a9611 lots of proto stuff 2003-03-15 22:51:49 +00:00
Georg Richter
efde6643d4 added new profiler-files 2003-03-11 01:22:20 +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
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
Georg Richter
338ec7b859 fixed bug in macro-definition 2003-03-03 22:50:56 +00:00
Georg Richter
359d21aa54 disabled output of errormessages 2003-03-03 22:50:34 +00:00
Georg Richter
281960ee78 added profiler support 2003-03-03 22:36:47 +00:00
Georg Richter
0133377fba removed some comments 2003-02-22 07:47:46 +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
Georg Richter
05d10452ba test for mysqli_stmt_store_result 2003-02-18 08:41:16 +00:00
Ilia Alshanetsky
5b858c9e94 Fixed compiler warning. 2003-02-18 03:12:38 +00:00
Georg Richter
19a9b4f310 new test (class which extends mysqli. currently this test fails :( ) 2003-02-18 00:42:38 +00:00
Georg Richter
2f604f67e8 removed duplicate code 2003-02-18 00:32:47 +00:00
Georg Richter
bc5eb4b3b4 fixed some leaks when mysql_close will be called before all stmts are freed. 2003-02-18 00:00:51 +00:00
Georg Richter
bf348326bd additional tests for non freed objects 2003-02-17 23:29:58 +00:00
Georg Richter
3686b61548 test for mysql_fetch_row (oo-style) 2003-02-17 16:19:49 +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
1076328edb test for OO-Implementation (bind_result) 2003-02-17 08:54:23 +00:00
Georg Richter
fe9a33a002 fixed output 2003-02-16 21:19:32 +00:00
Ilia Alshanetsky
148fdce82d Reverted lld -> lld patch and added explanation as to why it should not be
done.
2003-02-16 17:59:30 +00:00
Ilia Alshanetsky
ad1972fae9 Moved longlong conversion to a macro. 2003-02-16 15:56:57 +00:00
Ilia Alshanetsky
2ac79528c9 better skip condition. 2003-02-16 15:47:22 +00:00
Georg Richter
c40eff35da test for mysqli_prepare_result 2003-02-16 13:48:00 +00:00
Georg Richter
ffe43821d0 test for mysqli_stmt_affected_rows (delete command) 2003-02-16 12:04:21 +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
9f7fbaf5c2 Proper lib detection. 2003-02-15 20:09:49 +00:00
Ilia Alshanetsky
8a07cc45cf Fixed skip condition. 2003-02-15 17:06:35 +00:00
Georg Richter
e671a8c3e4 added skipif section (innodb-support) 2003-02-15 16:21:35 +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
43eda85d5a Fixed compile warnings. 2003-02-14 20:14:44 +00:00
Georg Richter
e8fd6662ae test for bind_result with show 2003-02-14 19:49:35 +00:00
Ilia Alshanetsky
f6e4904759 CS fixes. 2003-02-14 18:35:30 +00:00
Ilia Alshanetsky
410dd6abaf Fixed a typo. 2003-02-14 18:27:20 +00:00
Georg Richter
2841d94f02 fixed compiler warning 2003-02-14 18:18:12 +00:00
Georg Richter
c544a77836 fixed a bug in mysqli_fetch
removed c++ comment (thx to Jani :)
fixed compiler warning
2003-02-14 18:17:25 +00:00
Ilia Alshanetsky
031dd997fb Missing portion of the previous patch. 2003-02-14 16:49:09 +00:00
Ilia Alshanetsky
4f1b6364f9 Buncha Fixes.
* Fixed a number of memory leaks.
 * Fixed some php_error_docref() calls that tried to print non-existent
   arguments.
 * Fixed some signed/unsigned problems.
 * Fixed the MYSQLI_FETCH_RESOURCE macro so that compilers do not complain
   about un-initialized variables.
 * CS fixes.
2003-02-14 16:45:31 +00:00
Georg Richter
14bc73defe bind_result fix 2003-02-14 16:31:51 +00:00
Georg Richter
1a7a41cf9f fixed a bug in prepare/bind 2003-02-14 16:31:22 +00:00
Georg Richter
bad0ab1576 include file for test 2003-02-13 18:21:37 +00:00
Edin Kadribasic
f0e7b24e60 Use my_ulonglong instead of unsigned long long to make msvc++ happy. 2003-02-13 17:15:22 +00:00
Edin Kadribasic
ab4bbd51ff Initial windows project file 2003-02-13 14:46:11 +00:00
Georg Richter
124f76c557 removed warnings (unused vars) 2003-02-13 08:54:46 +00:00
Georg Richter
6bddc36966 new tests 2003-02-13 01:23:28 +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
Derick Rethans
b8ad8c9f83 - Let's add the config.m4 file too :-) 2003-02-12 16:24:41 +00:00
Georg Richter
91eeae5e1d added new tests 2003-02-12 10:40:19 +00:00
Georg Richter
2706394076 removed function mysql_num_warnings (libmysql change). 2003-02-12 10:39:06 +00:00
Georg Richter
ff8f0eb7da adding a few tests 2003-02-12 00:46:29 +00:00
Georg Richter
7d7c07a77c initial upload 2003-02-12 00:45:53 +00:00