aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-10 12:49:25 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-10 13:18:06 +0200
commit1f830b2415494b6fabb6be9b6d04e120cc73a163 (patch)
treeac6775886bad6c2bde8648ae4a01f7b60bacf19a
parent9072761e0c9486cc3d1265a1c1e2b39db8e68bf7 (diff)
Set LOB parameter capacity in runtime instead of in generated code
-rw-r--r--odb/relational/oracle/source.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/odb/relational/oracle/source.cxx b/odb/relational/oracle/source.cxx
index 68cd367..244ab7b 100644
--- a/odb/relational/oracle/source.cxx
+++ b/odb/relational/oracle/source.cxx
@@ -318,13 +318,8 @@ namespace relational
<< b << ".size = 0;"
<< "}"
<< "else" << endl
- << "{"
- //@@ Modify to less than the total size to see what happens
- //
- << b << ".capacity = 4096;"
<< b << ".size = reinterpret_cast<ub2*> (&" << arg << "." <<
mi.var << "position_context);"
- << "}"
<< endl;
}