mirror of https://github.com/apache/cassandra
Upgrade the jna version to 4.3.0
patch by jasobrown, reviewed by mkjellman for CASSANDRA-13300
This commit is contained in:
parent
01f8e770d9
commit
28b838ed66
|
|
@ -1,4 +1,5 @@
|
|||
4.0
|
||||
* Upgrade the jna version to 4.3.0 (CASSANDRA-13300)
|
||||
* Add the currentTimestamp, currentDate, currentTime and currentTimeUUID functions (CASSANDRA-13132)
|
||||
* Remove config option index_interval (CASSANDRA-10671)
|
||||
* Reduce lock contention for collection types and serializers (CASSANDRA-13271)
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -126,11 +126,15 @@ public final class CLibrary
|
|||
private static OSType getOsType()
|
||||
{
|
||||
String osName = System.getProperty("os.name").toLowerCase();
|
||||
if (osName.contains("mac"))
|
||||
if (osName.contains("linux"))
|
||||
return LINUX;
|
||||
else if (osName.contains("mac"))
|
||||
return MAC;
|
||||
else if (osName.contains("windows"))
|
||||
return WINDOWS;
|
||||
else if (osName.contains("aix"))
|
||||
|
||||
logger.warn("the current operating system, {}, is unsupported by cassandra", osName);
|
||||
if (osName.contains("aix"))
|
||||
return AIX;
|
||||
else
|
||||
// fall back to the Linux impl for all unknown OS types until otherwise implicitly supported as needed
|
||||
|
|
|
|||
Loading…
Reference in New Issue