Configure read only access in connection param with out the need to set
database as readonly using gfix
---
Key: CORE-5320
URL:
29.07.2016 19:33, Alex Peshkoff wrote:
> It should return default generated automatically metadata - the fact
> that statement was executed with some non-default metadata does not
> affect default parameters format.
Ok.
The same question for IResutSet: must getMetadata() return default
On 07/29/2016 06:21 PM, Dimitry Sibiryakov wrote:
> Hello, All.
>
> Consider following code:
>
> IMessageMetadata* inm = XXX;
> IStatement* stmt = att->prepare();
> stmt->execute(, inm, );
>
> Should following stmt->getInputMetadata(...) return the same inm
Hello, All.
Consider following code:
IMessageMetadata* inm = XXX;
IStatement* stmt = att->prepare();
stmt->execute(, inm, );
Should following stmt->getInputMetadata(...) return the same inm pointer or
something
generated automatically and, perhaps, completely
On 07/29/2016 04:27 PM, Dimitry Sibiryakov wrote:
> 29.07.2016 15:20, Alex Peshkoff wrote:
>> StatementMetadata::getType() returns COLUMN type, but
>> Statement::getType() - STATEMENT type. They are not related.
> JStatement::getType() seems to have different opinion because it returns
>
29.07.2016 15:20, Alex Peshkoff wrote:
> StatementMetadata::getType() returns COLUMN type, but
> Statement::getType() - STATEMENT type. They are not related.
JStatement::getType() seems to have different opinion because it returns
metadata.getType().
In any case: what
On 07/29/2016 03:34 PM, Dimitry Sibiryakov wrote:
> 29.07.2016 14:26, Dimitry Sibiryakov wrote:
>> StatementMetadata::getType() doesn't perform backward mapping for constants
>> received from it.
> Perhaps, documentation is wrong and IStatement::getType() is supposed to
> return
>
29.07.2016 14:26, Dimitry Sibiryakov wrote:
> StatementMetadata::getType() doesn't perform backward mapping for constants
> received from it.
Perhaps, documentation is wrong and IStatement::getType() is supposed to
return
isc_info_sql_stmt_* constants?..
--
WBR, SD.
Hello, All.
I sources I see that dsql.cpp:sql_info() maps values returned by
IStatement::getType()
from DsqlCompiledStatement::Type into isc_info_sql_stmt_* constants, but
StatementMetadata::getType() doesn't perform backward mapping for constants
received from it.
Isn't it a bug?..