diff options
author | Constantin <jucovschi@gmail.com> | 2010-04-05 15:30:31 +0200 |
---|---|---|
committer | Constantin <jucovschi@gmail.com> | 2010-04-05 15:31:41 +0200 |
commit | 1c448e00c4596b86f4edd557d96d442c03d3c800 (patch) | |
tree | 2f5f4c5d2f40779792fc3a8d9773d1f1fcdfb7ef /rnprotocol/rnpclientcomm2.cc | |
parent | 1c27972c2c05c0bee40c6562cf277caeb0908d1d (diff) | |
download | rasdaman-upstream-1c448e00c4596b86f4edd557d96d442c03d3c800.tar.gz rasdaman-upstream-1c448e00c4596b86f4edd557d96d442c03d3c800.tar.xz rasdaman-upstream-1c448e00c4596b86f4edd557d96d442c03d3c800.zip |
Error token substitution bug fixed.
Diffstat (limited to 'rnprotocol/rnpclientcomm2.cc')
-rw-r--r-- | rnprotocol/rnpclientcomm2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rnprotocol/rnpclientcomm2.cc b/rnprotocol/rnpclientcomm2.cc index 3974bd5..191266e 100644 --- a/rnprotocol/rnpclientcomm2.cc +++ b/rnprotocol/rnpclientcomm2.cc @@ -786,14 +786,14 @@ void RnpClientComm::executeExecuteUpdateQuery(const char *query) throw(r_Error) decoder.getNextParameter(); int colNo = decoder.getDataAsInteger(); decoder.getNextParameter(); - const char* token = decoder.getDataAsString(); + std::string token = decoder.getDataAsString(); clearAnswer(); if( status == 2 || status == 3 ) { LEAVE( "RnpClientComm::executeExecuteUpdateQuery(): exception, status = " << status ); - throw r_Equery_execution_failed( errNo, lineNo, colNo, token ); + throw r_Equery_execution_failed( errNo, lineNo, colNo, token.c_str() ); } if( status == 1 ) |