Commit Graph

511 Commits

Author SHA1 Message Date
Andrey Hristov
212c00cd1a Fix snapshot build 2008-04-08 07:46:05 +00:00
Andrey Hristov
1bf96fdf5c MFB : Fix for Bug #43832 mysqi_get_charset() doesn't expose charset comment 2008-03-25 18:28:13 +00:00
Andrey Hristov
9732763eca Small fix and a test case to prove it 2008-03-20 15:34:09 +00:00
Andrey Hristov
46df4529be Missing lines from the param-bind-non-changing fix 2008-03-20 13:58:46 +00:00
Andrey Hristov
0e884df573 - 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.
- 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 13:25:49 +00:00
Andrey Hristov
86cc5d9325 MFB : fix the build 2008-03-18 17:32:03 +00:00
Andrey Hristov
e53f44b9bd MFB - Bug #44352 mysqli_connect_error() false negative for host errors 2008-03-18 16:58:43 +00:00
Andrey Hristov
60869b3e8e 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:27:15 +00:00
Johannes Schlüter
e883735e64 Fix typo 2008-03-10 13:38:23 +00:00
Johannes Schlüter
0cd7f31de0 - Fix build with older MySQL 2008-03-10 13:26:15 +00:00
Andrey Hristov
a8e4046c72 - Fix a warning in php_mysql.c
- Fixed #44371 Extension compile failed
2008-03-10 09:16:13 +00:00
Andrey Hristov
cd9b7889ec Bug fixed in MySQL 5.0.46 2008-03-08 15:17:45 +00:00
Andrey Hristov
f20d47c541 MFB:
- Fixed problem with $mysqli->connect() not connecting with defaults
- Fixed leak (#39475)
2008-03-08 15:16:08 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +00:00
Andrey Hristov
237e147191 Fix test. Now passes. 2008-02-20 18:28:37 +00:00
Andrey Hristov
d5aaeda6e4 Fix a failing test 2008-02-19 17:22:05 +00:00
Andrey Hristov
7b0625865b Fix a compile warning + test 2008-02-19 15:38:24 +00:00
Andrey Hristov
038a533d65 Fix Windows build. VC doesn't like nested macros - expansion + #if 2008-02-12 22:06:06 +00:00
Johannes Schlüter
35bfb9028f - Fix build with TSRM and mysqlnd 2008-02-12 20:18:56 +00:00
Antony Dovgal
4a7c24b267 nuke unnecessary TSRMLS_FETCH() 2008-02-12 10:54:27 +00:00
Andrey Hristov
a4c1bc02b7 Fix typo 2008-02-12 10:51:25 +00:00
Andrey Hristov
82ad02f0cd cvs sync 2008-02-11 16:45:15 +00:00
Andrey Hristov
533618d2a0 Remove dead code 2008-02-08 09:57:01 +00:00
Andrey Hristov
0c65a68fc9 Fix a bug and a test 2008-02-06 14:11:32 +00:00
Andrey Hristov
bb4051d480 Fix test 2008-02-06 13:01:30 +00:00
Andrey Hristov
ac3d36818f Pconnect working with mysqli_real_connect() 2008-02-06 11:35:44 +00:00
Andrey Hristov
cfcf16f0f7 Fix a leak and memory warning. 2008-02-04 17:32:43 +00:00
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Andrey Hristov
6d9fdbce50 MFB:
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:54:21 +00:00
Andrey Hristov
18c8e6501b MFB: 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:27:49 +00:00
Ulf Wendel
dd8bda11f8 Those functions have been deprecated and removed. We'll test them only internally
but not bother php.net with it. Unless you really want to have tests for deprecated
and removed functionality...
2008-01-08 13:18:46 +00:00
Ulf Wendel
96c63a378e Looks more than it is. Its whitespace, adding error handling in a few places,
changing SQL statement formatting etc. No "real" changes.
2008-01-08 12:43:08 +00:00
Ulf Wendel
d435cd76df Added:
mysqli_fetch_assoc_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bind_result_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bing_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:17:13 +00:00
Ulf Wendel
6b0e5b66fb Fix for Bug #43036 2008-01-04 09:00:35 +00:00
Ulf Wendel
ba1f8fba1d Remove test for deprecated (and removed) function 2008-01-03 17:20:19 +00:00
Johannes Schlüter
584a7c7be8 - Remove more replication stuff 2008-01-03 14:32:52 +00:00
Ulf Wendel
60be62b781 Make it work for MySQL 6.x as well. 2008-01-03 10:19:02 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Ulf Wendel
b9963f50d9 Merge from 5_3. Fixing 32 vs. 64bit issue. 2007-12-28 18:28:21 +00:00
Ulf Wendel
4ba70f548c Merge from 5_3 - MySQL 6.0 SQL fixes 2007-12-28 18:19:17 +00:00
Andrey Hristov
d265efd570 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:38:23 +00:00
Ulf Wendel
5e64d2273e Sync from 5_3. Cutting off a few edges:
- use connection parameter from environment variables
 - check if MySQL supports procedures
 - whitespace
2007-12-28 14:51:26 +00:00
Hartmut Holzgraefe
229919cb55 Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2007-12-25 18:23:07 +00:00
Andrey Hristov
4ba0bd49fb Fix crashes with pconn (merge from 5_3) 2007-11-09 12:13:15 +00:00
Jani Taskinen
f8314496a2 Fix bug headers 2007-10-30 12:06:28 +00:00
Jani Taskinen
aed3360625 - Fixed invalid handling of float value passed to an integer field on 64bit machine 2007-10-29 09:50:49 +00:00
Jani Taskinen
ecdea3117a fix test 2007-10-29 09:03:39 +00:00
Andrey Hristov
43160de684 Fix the build, the w32 files should look like in 5_3 2007-10-23 10:44:25 +00:00
Antony Dovgal
29fd758310 commit lost part of the patch 2007-10-17 08:22:01 +00:00
Antony Dovgal
dc8634add8 use correct dtor and variable for the callback 2007-10-17 08:17:34 +00:00