Andrey Hristov
a881ea7d86
Add a test case to test fetching of multiple rows with bit values.
2016-12-12 21:28:33 +02:00
Andrey Hristov
e15c418c4c
Fix off by 1 problem.
...
The problem was manifestated only with BIT columns and only when more than
one row was fetched. The problem was coming from the fact that in pre-7.0
times mysqlnd was using a no-copy optimization. This optimization kept the
strings (and also the BIT mask equivalents as strings) in the packet and the
zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because
of this the allocated memory for the packet was reduced by 1 by the person who
ported the driver, but the starting address of the bit area wasn't reduced.
Because of this the bit_area started at wrong address and the length decoded
wrong.
2016-12-12 21:11:02 +02:00
Anatol Belski
7a8774ade4
better way to get ACP
2016-12-12 01:54:22 +01:00
Anatol Belski
3473b519c0
fix datatype for zpp, yet a followup on bug #73679
2016-12-12 01:26:06 +01:00
Anatol Belski
ee2625e252
update NEWS
2016-12-11 17:39:08 +01:00
Anatol Belski
1d80fb2cdb
Fixed bug #73679 DOTNET read access violation using invalid codepage
2016-12-11 17:06:55 +01:00
Anatol Belski
66ad7918b8
fix uninitialized member
2016-12-08 17:15:06 +01:00
Ferenc Kovacs
a4d6d16b3b
Merge branch 'PHP-5.6' into PHP-7.0
2016-12-08 07:09:41 +01:00
Ferenc Kovacs
60da307c61
update NEWS
2016-12-08 07:05:32 +01:00
Anatol Belski
ff6565462e
git clean section
2016-12-08 03:24:18 +01:00
Anatol Belski
73fb2192d2
update NEWS
2016-12-07 21:22:34 +01:00
Dorin Marcoci
13ffa88e1f
Fixed bug #72931 PDO_FIREBIRD with Firebird 3.0 not work on returning statement
2016-12-07 21:06:11 +01:00
Markus Staab
dd77116fb0
Fixed typo in skipif error message
2016-12-07 13:35:58 +01:00
Dmitry Stogov
3c8c347fa7
Check if PHP is in execution state.
2016-12-07 15:12:18 +03:00
Anatol Belski
991ca7f7d7
update NEWS
2016-12-06 20:25:27 +01:00
Bob Weinand
7e12b5da71
Fixed issue getting executable lines from custom wrappers
...
See also krakjoe/phpdbg#161
2016-12-06 18:29:48 +01:00
Anatol Belski
fee5c049a8
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak, take 2
2016-12-06 16:17:28 +01:00
Anatol Belski
c89306ac52
fix leak, take 2
2016-12-06 16:12:39 +01:00
Anatol Belski
9b1430140a
fix leak, take on 7.x
2016-12-06 14:42:59 +01:00
Anatol Belski
f2fc812b78
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak, take on 5.6
2016-12-06 14:36:52 +01:00
Anatol Belski
b04d60626d
fix leak, take on 5.6
2016-12-06 14:34:27 +01:00
Xinchen Hui
358bd77b23
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:32 +08:00
Stanislav Malyshev
183b4d78aa
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:33:33 -08:00
Stanislav Malyshev
d7ce944cf1
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:32:59 -08:00
Stanislav Malyshev
1d59ed7524
Fix bug #73645 - int/size_t confusion
2016-12-05 22:16:00 -08:00
Stanislav Malyshev
6292fe84d3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:58:55 -08:00
Stanislav Malyshev
266ecb6d0a
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:40:55 -08:00
Dmitry Stogov
a983b728a7
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-05 21:45:08 +03:00
Anatol Belski
eddca73ad2
fix test
...
This test depends on connection flags modifable from teh env,
that can affect the exact function called.
2016-12-04 22:42:39 +01:00
Anatol Belski
1eb3f01c68
fix test
...
On Windows, either doubled backslashes or forward slashes are supported
on the server side.
2016-12-04 22:27:17 +01:00
Anatol Belski
69fbc751ff
fix ident
2016-12-04 20:59:12 +01:00
Anatol Belski
8e209d0435
fix test
2016-12-04 17:28:43 +01:00
Anatol Belski
10a2ceef3b
enforce the test ini usage for the child process
2016-12-04 14:01:40 +01:00
Bob Weinand
46d708a1b6
Fix PHP-7.0 build (wrong fix for the branch)
2016-12-03 23:39:54 +01:00
Bob Weinand
ffc1ef1eed
Fix leak when using $this outside of object context
2016-12-03 18:28:08 +01:00
Christoph M. Becker
a8ec79e27f
Merge branch 'PHP-5.6' into PHP-7.0
2016-12-03 14:18:00 +01:00
Adrien Crivelli
cf2496140d
Fix minor typo
2016-12-03 14:15:52 +01:00
Nikita Popov
8f7325fc24
Fix leak in shift_right_function
2016-12-02 17:03:05 +01:00
Bob Weinand
3c1a0d75bf
Fix test of wrong operator in self_xor.phpt
2016-12-02 15:41:47 +01:00
Dmitry Stogov
68558ab71d
Eliminated useless exception check
2016-12-02 15:39:33 +03:00
Dmitry Stogov
2b70d44b57
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-02 15:13:55 +03:00
Dmitry Stogov
dbf39cddd9
Fixed behavior of failing compound assignments (they shouldn't change the source value).
2016-12-02 13:58:44 +03:00
Dmitry Stogov
67d90a4870
Fixed possible memory leak in &=, |=, ^=.
2016-12-02 12:34:46 +03:00
Bob Weinand
fcaccbaa22
Fix valgrind issue when throwing due to yield from aborted generator
2016-12-01 15:21:28 +01:00
Anatol Belski
2252d4e59d
fork tests
2016-12-01 14:52:18 +01:00
Dmitry Stogov
7f22e3c879
Fixed bad merge
2016-12-01 16:21:57 +03:00
Dmitry Stogov
b7b7dd8cea
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Workaround for GCC-4.9.2 bug
oops, changed in wrong place
2016-12-01 15:50:05 +03:00
Dmitry Stogov
1cd566e13f
Workaround for GCC-4.9.2 bug
2016-12-01 15:46:52 +03:00
Anatol Belski
043d8e2fe1
improve skipif
2016-12-01 13:32:10 +01:00
Dmitry Stogov
003346c450
Simpler overflow check
2016-12-01 10:30:02 +03:00