Georg Richter
485f862b35
fixed bug #29335
2004-07-26 07:19:05 +00:00
Georg Richter
dede51adf6
fixed bug in mysql->client_version
...
added mysql->client_info property
2004-07-26 05:44:06 +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
96c002e07c
changed warning (bug #29298 ) for outdated client library
2004-07-22 07:24:55 +00:00
Sara Golemon
f064a2c8b9
This should fix binary safety for bound results or may coogle strike me down.
2004-07-22 03:23:33 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Georg Richter
15ef63b39a
fixed paraenthesis warning in mysql_stmt_attr_set/get
2004-07-17 10:48:28 +00:00
Georg Richter
bfd3c9ecfb
prototype fixes
2004-07-13 17:04:16 +00:00
Georg Richter
f61dbf06a1
changed mysqli_stmt_reset (returns now bool instead of void)
2004-07-13 16:12:28 +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
Marcus Boerger
c884ad017c
- Bugfix: #29019 Database not closing
2004-07-05 19:36:10 +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
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