Skip to content

Commit 7f46c98

Browse files
committed
Updated CHANGELOG for release 1.2.2
1 parent b1d87df commit 7f46c98

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 1.2.2
2+
3+
Bug Fixes:
4+
5+
* [PHP-88] \Cassandra\Timestamp::toDateTime segfault with PHP7
6+
* [PHP-112] Freeing a null future as result of a failure in \Cassandra\DefaultSession::executeAsync()
7+
* [PHP-115] \Cassandra\UUID returning duplicate UUIDs
8+
19
# 1.2.1
210

311
Bug Fixes:

ext/package.xml

+8-6
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,25 @@ protocol and Cassandra Query Language v3.
1414
<email>[email protected]</email>
1515
<active>yes</active>
1616
</lead>
17-
<date>2016-07-28</date>
18-
<time>08:37:25</time>
17+
<date>2016-08-08</date>
18+
<time>11:25:32</time>
1919
<version>
20-
<release>1.2.1</release>
21-
<api>1.2.1</api>
20+
<release>1.2.2</release>
21+
<api>1.2.2</api>
2222
</version>
2323
<stability>
2424
<release>stable</release>
2525
<api>stable</api>
2626
</stability>
2727
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</license>
2828
<notes>
29-
# 1.2.1
29+
# 1.2.2
3030

3131
Bug Fixes:
3232

33-
* [PHP-113] pecl install of 1.2.0 fails because sourcecode is missing FutureRows.h
33+
* [PHP-88] \Cassandra\Timestamp::toDateTime segfault with PHP7
34+
* [PHP-112] Freeing a null future as result of a failure in \Cassandra\DefaultSession::executeAsync()
35+
* [PHP-115] \Cassandra\UUID returning duplicate UUIDs
3436
</notes>
3537
<contents>
3638
<dir name="/">

ext/version.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#define PHP_CASSANDRA_NAME "cassandra"
66
#define PHP_CASSANDRA_MAJOR 1
77
#define PHP_CASSANDRA_MINOR 2
8-
#define PHP_CASSANDRA_RELEASE 1
8+
#define PHP_CASSANDRA_RELEASE 2
99
#define PHP_CASSANDRA_STABILITY "stable"
10-
#define PHP_CASSANDRA_VERSION "1.2.1"
11-
#define PHP_CASSANDRA_VERSION_FULL "1.2.1"
10+
#define PHP_CASSANDRA_VERSION "1.2.2"
11+
#define PHP_CASSANDRA_VERSION_FULL "1.2.2"
1212

1313
#endif /* PHP_CASSANDRA_VERSION_H */

tests/unit/Cassandra/UuidTest.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,21 @@ public function testUniqueInChild() {
111111
}
112112
?>
113113
EOF;
114+
$numProcesses = 64;
114115

115116
// Execute the PHP script passing in the filename for the UUIDs to be stored
116117
$uuidsFilename = tempnam(sys_get_temp_dir(), "uuid");
117118
$scriptFilename = tempnam(sys_get_temp_dir(), "uuid");
118119
file_put_contents($scriptFilename, $script, FILE_APPEND);
119-
exec(PHP_BINARY . " {$scriptFilename} {$uuidsFilename} 1024");
120+
exec(PHP_BINARY . " {$scriptFilename} {$uuidsFilename} $numProcesses");
120121
unlink($scriptFilename);
121122

122123
// Get the contents of the file
123124
$uuids = file($uuidsFilename);
124125
unlink($uuidsFilename);
125126

126127
// Ensure all the UUIDs are unique
127-
$this->assertEquals(1024, count(array_unique($uuids)));
128+
$this->assertEquals($numProcesses, count(array_unique($uuids)));
128129
}
129130
}
130131
}

0 commit comments

Comments
 (0)