File tree 4 files changed +22
-11
lines changed
4 files changed +22
-11
lines changed Original file line number Diff line number Diff line change
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
+
1
9
# 1.2.1
2
10
3
11
Bug Fixes:
Original file line number Diff line number Diff line change @@ -14,23 +14,25 @@ protocol and Cassandra Query Language v3.
14
14
15
15
<active >yes</active >
16
16
</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 >
19
19
<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 >
22
22
</version >
23
23
<stability >
24
24
<release >stable</release >
25
25
<api >stable</api >
26
26
</stability >
27
27
<license uri =" http://www.apache.org/licenses/LICENSE-2.0" >Apache License 2.0</license >
28
28
<notes >
29
- # 1.2.1
29
+ # 1.2.2
30
30
31
31
Bug Fixes:
32
32
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
34
36
</notes >
35
37
<contents >
36
38
<dir name =" /" >
Original file line number Diff line number Diff line change 5
5
#define PHP_CASSANDRA_NAME "cassandra"
6
6
#define PHP_CASSANDRA_MAJOR 1
7
7
#define PHP_CASSANDRA_MINOR 2
8
- #define PHP_CASSANDRA_RELEASE 1
8
+ #define PHP_CASSANDRA_RELEASE 2
9
9
#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 "
12
12
13
13
#endif /* PHP_CASSANDRA_VERSION_H */
Original file line number Diff line number Diff line change @@ -111,20 +111,21 @@ public function testUniqueInChild() {
111
111
}
112
112
?>
113
113
EOF ;
114
+ $ numProcesses = 64 ;
114
115
115
116
// Execute the PHP script passing in the filename for the UUIDs to be stored
116
117
$ uuidsFilename = tempnam (sys_get_temp_dir (), "uuid " );
117
118
$ scriptFilename = tempnam (sys_get_temp_dir (), "uuid " );
118
119
file_put_contents ($ scriptFilename , $ script , FILE_APPEND );
119
- exec (PHP_BINARY . " {$ scriptFilename } {$ uuidsFilename } 1024 " );
120
+ exec (PHP_BINARY . " {$ scriptFilename } {$ uuidsFilename } $ numProcesses " );
120
121
unlink ($ scriptFilename );
121
122
122
123
// Get the contents of the file
123
124
$ uuids = file ($ uuidsFilename );
124
125
unlink ($ uuidsFilename );
125
126
126
127
// Ensure all the UUIDs are unique
127
- $ this ->assertEquals (1024 , count (array_unique ($ uuids )));
128
+ $ this ->assertEquals ($ numProcesses , count (array_unique ($ uuids )));
128
129
}
129
130
}
130
131
}
You can’t perform that action at this time.
0 commit comments