diff --git a/README.md b/README.md index cbd20dd..7f46e49 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,12 @@ In case you want to discuss based on this project join me on [WowApp][2] ### Changelog: -##### v2.3 (Not released yet - master) +##### v2.3 - Removed the necessity of `gen_server` calls for prepared statements. Observed this as being a bottleneck under heavy load. - Removed from erlcass module all methods starting with `uuid_*` and `date_from_epoch/1`, `time_from_epoch/1`, `date_time_to_epoch/2`. Instead this functions you can use the one from `erlcass_uuid` and `erlcass_time` modules. -- Updated cpp-driver to 2.2.1 +- Updated cpp-driver to 2.3.0 - Internal code refactoring ##### v2.2 diff --git a/c_src/nif_cass_statement.cc b/c_src/nif_cass_statement.cc index 63ac2b9..1d4f4c7 100644 --- a/c_src/nif_cass_statement.cc +++ b/c_src/nif_cass_statement.cc @@ -29,7 +29,7 @@ SchemaColumn get_schema_column(const cass::DataType* data_type) if(data_type->is_collection() || data_type->is_tuple()) { - const cass::SubTypesDataType* collection_type = static_cast(data_type); + const cass::CompositeType* collection_type = static_cast(data_type); for(cass::DataType::Vec::const_iterator it = collection_type->types().begin(); it != collection_type->types().end(); ++it) sc.subtypes.push_back(get_schema_column((*it).get())); diff --git a/rebar.config b/rebar.config index f77a650..5e72d73 100644 --- a/rebar.config +++ b/rebar.config @@ -1,4 +1,4 @@ -{post_hooks,[{'get-deps',"sh -c './build_deps.sh https://github.com/datastax/cpp-driver.git 2cb8360bf45c3e24ec00cd475b4163a45f6700b7'"}]}. +{post_hooks,[{'get-deps',"sh -c './build_deps.sh https://github.com/datastax/cpp-driver.git 6f72bb8b5bd251e63846ebc9f0fba7adbc8c7e72'"}]}. %{ % deps,