aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/container-statements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-09 14:09:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-09 14:09:52 +0200
commit6e71fee5bdb0fe338c7b9c3259a07d317ba36679 (patch)
tree3dfc0d07eee98c0c3742819c4fa20eeb38f9c2ff /odb/pgsql/container-statements.hxx
parent0e37272b9ab8f37ad2f3d37bf6a09c68e5117d02 (diff)
Avoid copying statement text if it is statically allocated
Diffstat (limited to 'odb/pgsql/container-statements.hxx')
-rw-r--r--odb/pgsql/container-statements.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/pgsql/container-statements.hxx b/odb/pgsql/container-statements.hxx
index a8d15d8..79c6e6b 100644
--- a/odb/pgsql/container-statements.hxx
+++ b/odb/pgsql/container-statements.hxx
@@ -188,6 +188,7 @@ namespace odb
insert_one_count_,
data_image_binding_,
data_image_native_binding_,
+ false,
false));
}
@@ -208,7 +209,8 @@ namespace odb
select_all_count_,
cond_image_binding_,
cond_image_native_binding_,
- data_image_binding_));
+ data_image_binding_,
+ false));
}
return *select_all_;
@@ -227,7 +229,8 @@ namespace odb
delete_all_types_,
delete_all_count_,
cond_image_binding_,
- cond_image_native_binding_));
+ cond_image_native_binding_,
+ false));
}
return *delete_all_;