Georg Richter
f063bdec06
added php_mysqli_construct_get to support __construct in extended classes
2004-06-23 16:47:25 +00:00
Georg Richter
202d2990a9
fixed crash (changed MYSQL TO MY_MYSQL in mysql_stmt_init)
2004-06-08 06:20:58 +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
Sebastian Bergmann
14deb9dd04
ZTS fixes.
2004-06-06 06:40: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
Andi Gutmans
14edc95ff8
- Temporary fix for bug #27869
...
- George, you need to implement clone in order for "clone" and
- compatibility mode to work.
2004-04-15 17:25:51 +00:00
Derick Rethans
29273ca7a9
- Align help output for configure.
2004-03-31 21:11:23 +00:00
Hartmut Holzgraefe
eeb172b29f
"The Visa to Sibiria" (work in progress)
...
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +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
Stanislav Malyshev
5b0f6b1f34
Update for new read_property API
2004-03-21 18:28:38 +00:00
Georg Richter
e6ac744282
fixed problems in mysql_stmt_init (missing alloc from stmt)
2004-03-18 13:04:55 +00:00
Georg Richter
848f123645
removed if type=string: val is allocated for any type of data
2004-03-18 13:03:17 +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
Marcus Boerger
59804de32e
Missing buffer->val change
2004-03-09 14:29:20 +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
Edin Kadribasic
fb861026d8
Add missing source file
2004-03-03 18:36:30 +00:00
Edin Kadribasic
664998fa50
Replace mysql with mysqli in paths to allow building both mysql and mysqli
2004-03-03 18:15:56 +00:00
foobar
ac5fa854f3
ws & cs fixes
2004-02-26 12:33:23 +00:00
Georg Richter
700bb4dbb4
prototype fix for mysqli_ping
2004-02-26 12:24:21 +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
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
Ard Biesheuvel
81f05c18f5
Wordsize fixes
2004-02-25 20:16:27 +00:00
foobar
cae6ae8250
Do not corrupt mysql build with mysqli build stuff. (should fix #27387 )
2004-02-25 13:29:30 +00:00
Georg Richter
c65d7997c3
fixed prototypes for mysqli_connect_err* functions
...
(thx to Mehdi Achour)
2004-02-23 16:49:18 +00:00
Georg Richter
b3979e76ba
fixed report message
...
Disabled reconnect option
2004-02-23 06:35:18 +00:00
Sebastian Bergmann
7af39b1aad
Can't test whether it works (no current >=mysql-4.1.2 available on Windows), but it should.
2004-02-21 15:05:52 +00:00
Georg Richter
12c6378412
fixed typo in method alias
2004-02-21 07:37:41 +00:00
Georg Richter
1f67407f84
Moved functions for replication support in to file mysqli_repl.c
...
- these functions are marked as experimental now in documentation
not sure if we will replace or extend them with NDB support in
April
2004-02-20 13:09:14 +00:00
Georg Richter
a12c95e1be
changed return value of mysql_fetch
...
- instead of MYSQL_NO_DATA mysql_fetch will now return NULL
2004-02-18 13:26:57 +00:00
Georg Richter
f7ca7c469a
changed output
2004-02-17 07:45:15 +00:00
Georg Richter
d23dff1220
fixed some tests
...
added skip section for prepared statements when using SHOW command
2004-02-16 15:32:46 +00:00
Georg Richter
d5084182ce
fixed several binding problems
2004-02-15 20:23:05 +00:00
Zeev Suraski
7c710a9f9b
Use zval_ptr_dtor() to free variables as soon as they hit refcount of 0.
...
Note: You should not be using ZVAL_DELREF() in day to day usage. Instead,
you should use zval_ptr_dtor(). Use ZVAL_DELREF() only if you're
messing with the refcount directly and know what you're doing.
Note #2 : For clarity, if you want to initialize a new zval with a refcount
of 0, it's best to do that directly, instead of using ZVAL_DELREF
after allocating the zval...
2004-02-15 12:58:19 +00:00
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
Georg Richter
9e93ac6005
removed printfs :)
...
Thx Andi!
2004-02-11 08:34:08 +00:00
Georg Richter
3e2907d614
changed first param in mysqli_bind_param
2004-02-11 07:39:28 +00:00
Georg Richter
c0a1ec4210
changed first parameter in mysqli_bind_param from array to string
...
(as discussed on berlin db meeting)
2004-02-11 07:38:43 +00:00
Georg Richter
e3d0e587b8
fixed cast warning
2004-02-07 13:45:44 +00:00
Zeev Suraski
8424be849f
- Update with new destructor code
2004-02-04 11:14:47 +00:00
Georg Richter
cccb92b233
Corrected binding:
...
if column has type DECIMAL it will converted to string now.
Thanks to Brian Aker for pointing this out.
2004-01-31 07:51:03 +00:00
Georg Richter
1baf3d3478
added nuw_rows property for statement object
2004-01-30 22:45:19 +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
692726cdd3
changed prototype mysql_dataseek from void to bool
...
add check for specified offset
2004-01-27 13:56:03 +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
c139c48a99
fixed compiler warning (thx to Marcus Boerger)
2004-01-26 20:08:16 +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
Georg Richter
85510ff3a1
more prototype fixes.
...
fixed a bug in mysqli_send_long_data
2004-01-26 07:39:57 +00:00
Georg Richter
a2380e901b
prototype fix for mysqli_fetch
2004-01-25 12:01:36 +00:00
Georg Richter
ed135edbda
prototype fixes
2004-01-24 14:38:16 +00:00
foobar
6a1d0114a7
Silence some compile warnings
2004-01-23 03:28:59 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Marcus Boerger
635e3b1980
Proto fix
2004-01-12 00:34:37 +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
27319233e5
fixed bug(s) in macro call for statement properties
2004-01-01 15:46:39 +00:00
Georg Richter
1733557ac8
Added Macro for longlong values
...
added property stmt->affected_rows
2004-01-01 14:04:35 +00:00
Ilia Alshanetsky
b658a26874
emalloc() -> safe_emalloc()
2003-12-31 19:45:46 +00:00
Georg Richter
c10072d067
fixed memleak and segfault when constructor call failed
2003-12-31 08:34:02 +00:00
Georg Richter
51fc89e49c
fixed a bug in mysqli_num_rows (added support for longlong values)
2003-12-30 19:19:13 +00:00
Georg Richter
17f6ef5106
fixed a bug in insert_id property
2003-12-30 19:08:33 +00:00
Georg Richter
703921ab36
updated todo list (removed finished tasks)
2003-12-29 00:11:14 +00:00
Georg Richter
36b65c4ed0
fixed prototype for mysqli_bind_result
2003-12-28 22:26:59 +00:00
Georg Richter
95bda90038
fixed bug in properties for longlong values
2003-12-28 09:18:51 +00:00
Georg Richter
5bf9b63c5b
beautifying :)
2003-12-22 17:00:54 +00:00
Georg Richter
ba7d400fa1
fixed bug #26680
2003-12-22 16:56:14 +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
ec5b38fae9
minor fixes for embedded
2003-12-13 16:08:13 +00:00
Marcus Boerger
04d0d99b11
ZTS fixes
2003-12-13 13:44:56 +00:00
Georg Richter
ec7ddff5c7
removed old profiler stuff for embedded server
2003-12-13 10:15:45 +00:00
Georg Richter
bef6368dee
removed profiler stuff
2003-12-13 00:46:48 +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
1be7176c7b
freeing result and stmt properties in MSHUTDOWN
2003-12-10 10:06:07 +00:00
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