Commit Graph

701 Commits

Author SHA1 Message Date
Andrey Hristov
04d8609e9f MFH: Fix failures when the server is running with ANSI_QUOTES 2009-05-28 09:58:36 +00:00
Andrey Hristov
bf1a698e51 MFH:
Less warnings by usage of proper modifier
2009-05-27 20:05:37 +00:00
Andrey Hristov
91a4502914 MFH:because we use int64_t we need corresponding printf modifiers. the type
can be different on 32 and 64 bit, thus we can't use ld and lld but
C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)
2009-05-27 19:57:11 +00:00
Andrey Hristov
07fc51d559 MFH: Fix tests when the server is running with ANSI_QUOTES 2009-05-27 18:18:58 +00:00
Ulf Wendel
6cf02c738b Crappy anonymous MySQL user account... trying to make the test more portable. 2009-05-27 17:54:30 +00:00
Ulf Wendel
774f562375 The test is bogus as long as there is no (proper) way to detect from the PHP userland if persistent connections do a change user or not. If they do is controlled by define at the moment. 2009-05-27 17:52:32 +00:00
Ulf Wendel
b3645db1ce Testing a little further into the direction of a possible mysqlnd vs. libmysql compatibility break or a libmysql bug. It is not clearly stated in the MySQL C-API documentation what excactly happens on stmt_reset(). 2009-05-27 17:50:09 +00:00
Ulf Wendel
a39d92c144 Trying to get test failures down by fixing tests. 2009-05-27 17:46:14 +00:00
Andrey Hristov
10bc558aca MFH: Revert in regard of my_ulonglong which should be used instead of long
which can be anything.
2009-05-27 15:05:28 +00:00
Kalle Sommer Nielsen
e26710bfc4 Fixed compiler warning again, uint8_t is only available with mysqlnd. This is not affecting HEAD 2009-05-23 02:58:15 +00:00
Ilia Alshanetsky
52f599687a Fixed build 2009-05-20 13:10:49 +00:00
Kalle Sommer Nielsen
f02ebe4a08 MFH: Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysql 2009-05-20 08:30:12 +00:00
Johannes Schlüter
611c453598 MFH: Fix mysqli pconnects to properly reset connection status by default 2009-01-27 15:35:34 +00:00
Johannes Schlüter
074b084852 MFH: export mysql_refresh
[DOC] This makes mysql_refresh() as described in
      http://dev.mysql.com/doc/refman/6.0/en/mysql-refresh.html
      available as mysqli_Refresh() and mysqli->refresh()
      MYSQLI_REFRESH_BACKUP_LOG is only available when linking libmysql 6.0
      or mysqlnd
2009-01-22 21:01:58 +00:00
Johannes Schlüter
e4a348d782 MFH: Fix #47050 mysqli_poll() modifies improper variables 2009-01-12 14:04:32 +00:00
Johannes Schlüter
74cfc5f3d7 MFH Fix #45940 MySQLI OO does not populate connect_error property on failed
connect
2009-01-12 12:56:01 +00:00
Johannes Schlüter
7d3d47fa27 MFH: Fixed bug #46653 2009-01-09 14:30:00 +00:00
Johannes Schlüter
1e3e6cdf29 MFH: Proper ctor usage (Fix #46044) 2009-01-07 16:32:08 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Ilia Alshanetsky
c9f030f576 Fixed bug #46887 (Invalid calls to php_error_docref())
# Patch by oeriksson at mandriva dot com and crrodriguez at opensuse dot org
2008-12-18 20:02:20 +00:00
Johannes Schlüter
a022cd1d5e MFH: Change to zend_parse_parameters 2008-11-28 20:38:20 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Etienne Kneuss
3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Andrey Hristov
825034cea5 MFH:
Asynchronous queries for mysqli, when mysqlnd is enabled.
Includes 4 tests for mysqli_poll
2008-11-18 17:02:18 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Andrey Hristov
abf612ba59 MFH: Remove unneeded cast 2008-11-10 20:06:23 +00:00
Ilia Alshanetsky
757087553b MFH: Fixed compiler warnings 2008-11-10 19:04:05 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Andrey Hristov
4f5895a4d2 MFH: Fix warnings in sprintf 2008-10-31 20:31:27 +00:00
Andrey Hristov
ec20906b1b Fix that instance too - mysql_get_client_version() returns unsigned long 2008-10-28 15:59:42 +00:00
Johannes Schlüter
04d9bbe65e MFH: Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement is
executed)
2008-10-27 17:21:22 +00:00
Andrey Hristov
34ca27a191 MFH: Fix an issue with mysqli.default_port not being used 2008-10-27 14:34:35 +00:00
Andrey Hristov
4df718a477 MFH:
Warning if the library API version differs from the headers used to compile.
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
2008-10-27 12:09:36 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Pierre Joye
86a352afda - Declarations MUST BE done in the beginning of a context 2008-10-03 16:19:49 +00:00
Andrey Hristov
bf20aa12c7 MFH:Fix for bug#46019 MySQLi::init() leaks memory 2008-09-19 11:38:46 +00:00
Antony Dovgal
46ab8303e1 fix test 2008-09-18 08:40:02 +00:00
Andrey Hristov
8bb2465a51 MFH:
Add float conversions too. Float users should understand how float works!!!
2008-09-15 18:09:20 +00:00
Antony Dovgal
f10dd24e79 cleanup garbage 2008-08-26 11:06:09 +00:00
Antony Dovgal
838ac5fdaa fix typo 2008-08-26 10:59:10 +00:00
Johannes Schlüter
f869bbfc1b MFH: Fix #45763 (mysqli::multi_query does not work with mysqlnd) 2008-08-11 12:33:56 +00:00
Etienne Kneuss
c77ca4c34a MFH: Fix error_handling usage in various extensions 2008-08-08 22:07:07 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Andrey Hristov
7833cf9f10 MFH: Fixed bug#45019 Segmentation fault with SELECT ? and UNION 2008-07-25 12:46:03 +00:00
Dmitry Stogov
691d4a6999 Fixed uninitialised data 2008-07-25 08:23:07 +00:00
Andrey Hristov
f728ceae94 MFH: Added test file 2008-07-24 14:17:47 +00:00
Andrey Hristov
24e7d03e48 MFH: Fixed bug#44897 - failed to prepare statement
After a PS "CALL()" we have at least one result set. If the SP does also some, then
     we need to clean the wire more fool-proof.
2008-07-23 14:07:38 +00:00
Andrey Hristov
8c56a23a26 MFH: Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
and pconn. ext/mysql is being fixed with a better fix for similar leak.
2008-07-22 23:44:23 +00:00
Andrey Hristov
5e79f2c476 Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 12:58:51 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Andrey Hristov
136a55fcd9 Sync with bzr 2008-07-15 13:11:09 +00:00
Antony Dovgal
4a71b17693 more fixed tests 2008-07-13 21:43:12 +00:00
Andrey Hristov
827b772c9f Fix remaining valgrind problems with pconn and zval cache
HEAD merge will follow tomorrow.
2008-06-24 22:22:48 +00:00
Andrey Hristov
943e9a577b Fix double-free, introduced lately 2008-06-24 13:19:29 +00:00
Andrey Hristov
e0f45cf7ae Fix possible bug with persistent connections and mysqlnd 2008-06-24 11:01:38 +00:00
Pierre Joye
41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Andrey Hristov
259b652b2e Make mysqli compilable in a 5_2 environment. Some want to use mysqlnd+mysqli
with 5_2. This won't hurt 5_2 in any way. Won't be MFB-ed because HEAD is
completely different.
2008-05-06 17:05:14 +00:00
Andrey Hristov
f4e659d2af Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
2008-04-24 14:22:19 +00:00
Andrey Hristov
de560f3161 MFB: Update CVS from the development tree 2008-04-16 12:57:38 +00:00
Andrey Hristov
46e3d3a4d8 Fix snapshot build 2008-04-08 07:45:49 +00:00
Andrey Hristov
5abe8c8d01 Small updates & a fix for
Bug #43832 mysqi_get_charset() doesn't expose charset comment
2008-03-25 18:27:17 +00:00
Andrey Hristov
85cd8525c9 Small fix and a test case to prove it's right 2008-03-20 15:29:14 +00:00
Andrey Hristov
6867385d75 - Don't modify the variables which are passed for parameter binding.
We need to clone them, if there will be a transformation (convert_to_xxx)
  which will change the origin
  (bug#44390 bind_param / bind_result and Object member variables)
- Make mysqlnd more compatible to libmysql, in this case if the execute of
  a statement fails set the state of the statement back to PREPARED
- A test case to check the case of a failing statement.
2008-03-20 14:03:30 +00:00
Andrey Hristov
98680c0c8f Fix the build 2008-03-18 17:30:55 +00:00
Andrey Hristov
caf3e9c3f1 Fixed a bunch of bugs reported in
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.
2008-03-18 16:57:31 +00:00
Andrey Hristov
725b31fc6c Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
2008-03-10 20:15:38 +00:00
Johannes Schlüter
445a24e400 Fix typo 2008-03-10 13:39:53 +00:00
Andrey Hristov
a27e0c8818 - Fix a warning in php_mysql.c
- Fixed #44371 Extension compile failed
2008-03-10 09:18:43 +00:00
Andrey Hristov
64aad3d210 Bug fixed in 5.0.46 2008-03-08 15:00:50 +00:00
Andrey Hristov
ff8a310468 Fix a problem with $mysqi->connect() not working with default values.
Fix a leak, bug#39457
2008-03-08 14:55:52 +00:00
Andrey Hristov
702bc3b345 Fix test. Now passes. 2008-02-20 18:27:53 +00:00
Andrey Hristov
4ade01852c Fix a failing test 2008-02-19 17:21:50 +00:00
Andrey Hristov
ff23e5c875 Fix test 2008-02-19 15:36:38 +00:00
Ilia Alshanetsky
fe9f641658 Fixed a possible crash 2008-02-18 13:28:48 +00:00
Andrey Hristov
49172e3c4b Fix windows build - VC doesn't like nested macros 2008-02-12 22:05:34 +00:00
Johannes Schlüter
d211430aa7 MFH: - Fix build with TSRM and mysqlnd 2008-02-12 20:19:21 +00:00
Antony Dovgal
a47e15d8b5 MFH 2008-02-12 10:54:54 +00:00
Andrey Hristov
c95c7c7d3f Fix typo 2008-02-12 10:51:39 +00:00
Andrey Hristov
cf07e941f1 cvs sync 2008-02-11 16:44:48 +00:00
Andrey Hristov
9790d7bfe8 MFH: Fix a compatibility bug and a failing test 2008-02-06 14:12:32 +00:00
Andrey Hristov
72c97a14e5 MFH: Fix test 2008-02-06 13:01:58 +00:00
Andrey Hristov
1caa85a682 Pconnect working with mysqli_real_connect(). To less failing tests. 2008-02-06 11:34:44 +00:00
Andrey Hristov
2d5e8a1e55 Fix a leak, memory warning and failing test case. 2008-02-04 17:33:46 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Andrey Hristov
2033c1b7f2 some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.
2008-01-28 22:50:06 +00:00
Andrey Hristov
7932ccba6d More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
2008-01-28 18:25:50 +00:00
Ulf Wendel
c7c7e7f318 MySQL 6 compatibility fix. 2008-01-08 13:16:00 +00:00
Ulf Wendel
b0b510f6e6 Merge from HEAD: looks more than it is. Whitespace, some SQL formatting changes etc.
No "real" changes.
2008-01-08 12:49:42 +00:00
Ulf Wendel
f316766afe MFH
Added:

  mysqli_fetch_assoc_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bind_result_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bind_param_call_user_func.phpt
    Needs to be refined once http://bugs.php.net/bug.php?id=43568
    has been closed and a decision has been made on call_user_func_array().
    There seems to be a BC break between 5_2 -> 5_3 .
    Johannes has an eye on it

Modified:

  mysqli_change_user_insert_id.phpt
    skip test for buggy MySQL Server versions

  mysqli_insert_id.phpt
    added additional checks
2008-01-04 18:20:53 +00:00
Ulf Wendel
754545d918 MFH: Fix for bug #43036 2008-01-04 09:00:59 +00:00
Ulf Wendel
5dceff0104 MFH: Remove test for deprecated (and removed) function 2008-01-03 17:21:01 +00:00
Johannes Schlüter
32dfad780c - MFH: Remove more replication stuff 2008-01-03 14:33:46 +00:00
Hartmut Holzgraefe
3354b3a480 fixed binary arithmetic (MF5.2) 2008-01-01 18:13:14 +00:00
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
Ulf Wendel
afa5602456 Fixing SQL syntax in this very old test to make it pass with MySQL 6.0 2007-12-28 15:27:38 +00:00
Ulf Wendel
3ca72e6a79 Isn't it nice to get a new 64bit box? Fixing 32bit/64bit issue. 2007-12-28 15:26:17 +00:00
Ulf Wendel
3562e88fa6 Sooner or later these old 0*.phpt tests had to bite us - fixing SQL syntax,
HEAD sync will follow.
2007-12-28 15:06:02 +00:00
Ulf Wendel
8c71dd5df8 Cutting off a few edges:
- use connection parameter from environment variables
 - check if MySQL supports procedures
 - whitespace
2007-12-28 14:50:48 +00:00
Hartmut Holzgraefe
edee094851 MFH: Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2007-12-25 18:55:40 +00:00
Andrey Hristov
660ba3b61b Fix build 2007-11-09 11:06:07 +00:00
Andrey Hristov
6f63004f1a Fix crash with pconnect 2007-11-09 10:56:28 +00:00
Jani Taskinen
5cfa9c6312 MFH: partial MFH before? 2007-11-06 10:00:39 +00:00
Jani Taskinen
7f49f956e8 - Fix bug headers 2007-10-30 12:05:53 +00:00
Jani Taskinen
ecb0fb3f0e MFH:- Fixed invalid handling of float value passed to an integer field on 64bit machine 2007-10-29 09:51:08 +00:00
Jani Taskinen
ae6626e783 MFH: fix test 2007-10-29 09:04:15 +00:00
Antony Dovgal
74f416106c ..and correct macro 2007-10-17 08:19:07 +00:00
Antony Dovgal
780fa84fbd MFH: use correct dtro and variable for the callback 2007-10-17 08:18:09 +00:00
Andrey Hristov
8a2e9e6043 Sync mysqlnd. Should still compile with 5_2 for those who want to use the
current stable branch. mysqli from 5_3 patched for mysqlnd should be also
compilable with 5_2.
2007-10-16 20:56:22 +00:00
Antony Dovgal
c9e481590f avoid double free and use zval_dtor() where neccessary 2007-10-16 13:20:14 +00:00
Andrey Hristov
1421ccd4c0 Fix bug due to shadowing of variables. This one is pretty-pretty rare,
caught by source code inspection.
2007-10-16 12:55:05 +00:00
Ulf Wendel
6c508d2e4d Same as for HEAD: make it skip and not fail if it can't connect to DB 2007-10-12 12:52:56 +00:00
Ulf Wendel
3a11ec8ba1 Same as for HEAD: Trying to skip tests if they can't connect to the
DB server. Note the environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE
to control if you want tests that can't connect to fail or to be skipped.
2007-10-12 12:06:07 +00:00
Ulf Wendel
0c6e832584 Fixing the test. Might the PHP 5.2 run-tests.php have fooled me? I could swear,
I saw this test passing with 5.2 before...
2007-10-10 15:04:59 +00:00
Ulf Wendel
1f651c4051 Version specific EXPECF sections would be wonderful (bug31668.phpt).
And sometimes it helps to read the commit messages to keep tests up to date:
we removed mysqli_set_local_infile_handler() from mysqlnd (061.phpt) some
time ago.
2007-10-10 14:31:28 +00:00
Ulf Wendel
8cc5e47402 Last bunch of new tests. 2007-10-10 10:20:11 +00:00
Ulf Wendel
3a3594d3f1 Adding new tests: mysqli_s*.phpt 2007-10-10 10:18:50 +00:00
Ulf Wendel
5ec98ed1c8 Adding new tests: mysqli_q*.phpt mysqli_r*.phpt 2007-10-10 10:18:29 +00:00
Ulf Wendel
007e650e2e Adding new tests: mysqli_m*.phpt mysqli_n*.phpt mysqli_o*.phpt mysqli_p*.phpt 2007-10-10 10:17:38 +00:00
Ulf Wendel
92256befd5 Adding new tests: mysqli_g*.phpt mysqli_i*.phpt mysqli_k*.phpt 2007-10-10 10:16:00 +00:00
Ulf Wendel
ec08f105b9 Adding new tests mysqli_d*.phpt mysqli_e*.phpt mysqli_f*.phpt 2007-10-10 10:14:38 +00:00
Ulf Wendel
97c82d363f Adding new tests. Again, I'll commit in chunks and try to find acceptable
commit sizes.
2007-10-10 10:13:47 +00:00
Ulf Wendel
5f1fe934ea Test code for bug #42378 2007-10-10 10:11:27 +00:00
Ulf Wendel
636d1b0803 Further changes to regression/bug-verification tests. 2007-10-10 10:10:59 +00:00
Ulf Wendel
af818e3e53 Last set of changes to the classical 0*.phpt - 06*.phpt/07*.phpt 2007-10-10 10:10:14 +00:00
Ulf Wendel
041d506a86 Changes to 04*.phpt, 05*.phpt. 2007-10-10 10:08:29 +00:00
Ulf Wendel
a429f06289 Changes to 02*.phpt, 03*.phpt 2007-10-10 10:07:46 +00:00
Ulf Wendel
4f913a4d4d Changes to all 01*.phpt tests 2007-10-10 10:07:08 +00:00
Ulf Wendel
0a212c12b1 Changes to existing tests: 0*.phpt 2007-10-10 10:06:53 +00:00
Ulf Wendel
326fd449e2 Starting to merge updated set of tests into 5.3. 2007-10-10 10:04:46 +00:00
Andrey Hristov
eb02cb5990 Move declarations from the public header file. 2007-10-08 15:38:47 +00:00
Antony Dovgal
1ee4146d71 fix build 2007-10-07 08:30:47 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +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
Andrey Hristov
dc34874dc9 Fix stupid error, which happens only on Windows. And we thought this has
been fixed. Now my_thread_end() should be called and there should be no
warnings in the error logs of exiting thread, which hasn't deinited, and
leaks.
2007-09-12 09:12:56 +00:00
Andrey Hristov
09fbf87a6c Fixed leaks with multiple connects using one mysqli object.
HEAD will be fixed during the next mysqlnd merge

Fixed failing test for bug38710, 5.0 version is bad, 5.1 is ok.
2007-09-06 10:07:42 +00:00
Andrey Hristov
649152ca49 Fixed bug #42378 (mysqli_stmt_bind_result memory exhaustion)
Fixed regression of bug 38710. Already fixed in HEAD.
#HEAD will be fixed when doing the next merge from svn
2007-09-05 12:36:44 +00:00
Andrey Hristov
38ae7f47c0 Fix build with latest 5.1 sources where gptr is no more. 2007-07-24 09:22:16 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Andrey Hristov
e1f222858f Remove dot at the end of the message 2007-06-28 09:07:40 +00:00
Scott MacVicar
99c875a03d Fixed bug #41350 (my_thread_global_end() error during request shutdown on Windows). 2007-06-25 16:01:30 +00:00
Stanislav Malyshev
b925a9248b Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir
or safe_mode is active
2007-06-18 21:51:32 +00:00
Antony Dovgal
ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Antony Dovgal
a06d3b7bf3 revert 2007-04-23 09:27:07 +00:00
Andrey Hristov
73da9ea31d Hmm, the right place to edit 2007-04-19 09:49:28 +00:00
Antony Dovgal
85fe8e9663 MFH 2007-04-14 10:35:05 +00:00
foobar
82023f9aac - Fixed test to skip when mysqld is not running 2007-03-25 01:14:51 +00:00
Marcus Boerger
6081c2284e - MFH Optional dependency for SPL must be specified in header 2007-03-20 20:00:27 +00:00
Martin Kraemer
9c62ddde34 Typo 2007-03-14 09:58:14 +00:00
Stanislav Malyshev
1e9fd0f002 add testcase 2007-03-09 18:37:03 +00:00
Stanislav Malyshev
6e460bab4e fix crash/leak in bug #38710 2007-03-08 22:49:53 +00:00
Marcus Boerger
d2c343a3df - Fix spprintf usage 2007-02-24 14:33:50 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Stanislav Malyshev
8edc9018db use error message size 2007-02-16 18:48:53 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Hannes Magnusson
0028eccadd Fix tests 2006-12-12 08:09:40 +00:00
Antony Dovgal
b5b8fa4f6b fix test 2006-11-13 12:47:43 +00:00
Hannes Magnusson
3611a3de4a Fix protos 2006-10-02 07:44:34 +00:00
Hannes Magnusson
6a4dca06e6 Fix proto 2006-10-02 07:36:18 +00:00
Georg Richter
67d2992fdc MFH: fixed error message 2006-09-29 08:40:10 +00:00
Ilia Alshanetsky
54032dee04 Fixed test for systems without INFILE/OUTFILE support 2006-09-13 15:52:57 +00:00
Antony Dovgal
1ec10ac8c7 typos in comments and other minor improvements 2006-08-10 13:43:18 +00:00
Ilia Alshanetsky
305f597696 Improved fix for bug #37671 2006-08-04 22:13:59 +00:00
Georg Richter
0ba0abbd40 Added testcase for bug #37090 2006-07-30 11:03:30 +00:00
Antony Dovgal
92f4cc359f MFH: fix leak in php_local_infile_init() handler 2006-07-27 10:53:15 +00:00
Ilia Alshanetsky
fea4eeb845 Added possible failure note. 2006-07-18 00:09:01 +00:00
Ilia Alshanetsky
ab6d4d411a Fixed test for systems where set_charset() method is unavailable. 2006-07-13 15:42:43 +00:00
Antony Dovgal
8a35e9d014 fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) 2006-07-12 09:51:47 +00:00
Antony Dovgal
1f09c0b9d5 fix TSRM build 2006-07-12 09:33:37 +00:00
Hartmut Holzgraefe
3fe315c652 MFH new test cases 2006-07-12 08:01:44 +00:00
Hartmut Holzgraefe
e796974f6f fixed C&P errors in groups handling, activated groups feature 2006-07-12 07:01:04 +00:00
Hartmut Holzgraefe
aca6460346 MFH 2006-07-11 23:45:28 +00:00
Hartmut Holzgraefe
ae749049f5 MFH make sure that embedded database is correctly initialized 2006-07-11 23:43:55 +00:00
Hartmut Holzgraefe
61e9783154 debug output was breaking all tests 2006-07-11 23:42:58 +00:00
Hartmut Holzgraefe
3e099a5983 MFH test for ping and kill methods 2006-07-11 23:35:38 +00:00
Antony Dovgal
d9d23050d1 MFH: fix mysqli_*_free_storage() funcs to conform with their prototypes 2006-07-10 13:02:43 +00:00
Dmitry Stogov
26c7981ccf Another fix for #38019 2006-07-10 12:46:28 +00:00
Dmitry Stogov
690e86fdb2 Fixed bug #38019 (segfault extending mysqli class) 2006-07-10 10:05:20 +00:00
Antony Dovgal
d90263437c add test for bug #38003 2006-07-05 13:31:17 +00:00
Antony Dovgal
0f8f945418 MFH: fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context) 2006-07-05 11:48:30 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Ilia Alshanetsky
63a658ee7a Fixed bug #37671 (MySQLi extension fails to recognize BIT column). 2006-06-04 14:56:34 +00:00
Michael Wallner
6e2ff39e3e - Fix bug #37630: MySQL extensions should link against thread safe client libs if built with ZTS 2006-06-01 19:14:48 +00:00
Michael Wallner
3b407d143b - Fixed bug #36949 (invalid internal mysqli objects dtor) 2006-05-29 16:53:56 +00:00
Georg Richter
10ed7a1e0a Fix for bug #37620 2006-05-29 05:38:50 +00:00
Andrey Hristov
ac97b77ed9 Don't allocate 2 chunks of memory when one can fit. Reduces memory
fragmentation. There is one more place that fragments memory but it will
complicate the ongoing Unicode upgrade of mysqli so leaving it away for now.
2006-05-10 11:53:13 +00:00
Marcus Boerger
77c1b56cd7 - Update after api changes 2006-05-10 00:00:13 +00:00
Georg Richter
d2dd99ded5 removed unused macro parameter 2006-05-09 11:26:09 +00:00
Georg Richter
d94467f7e8 moved zend_class_entry variables to mysqli.c 2006-05-08 16:19:43 +00:00
Andrey Hristov
818d2b7aee tweaks and optimizations
#tested on 32b and 64b
2006-05-08 15:06:51 +00:00
Georg Richter
0944a47107 fixed bigint conversion on windows platforms 2006-04-05 12:17:08 +00:00
Georg Richter
b97b088800 fixed stmt property container and required status for error properties 2006-04-03 05:48:50 +00:00
Georg Richter
f8e6ffee30 Added additional information for compiled header files. 2006-04-02 09:40:19 +00:00
Antony Dovgal
b6c9363f73 fix tests 2006-03-30 20:43:39 +00:00
Antony Dovgal
62ce6717ad fix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace) 2006-03-30 11:21:51 +00:00
Antony Dovgal
ad746130ad fix typo 2006-03-29 16:29:53 +00:00
Antony Dovgal
59b8592c8c fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)

to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
Andrey Hristov
0b02327267 kill the left unused variable 2006-03-26 21:10:13 +00:00