From 6e71fee5bdb0fe338c7b9c3259a07d317ba36679 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 Nov 2011 14:09:52 +0200 Subject: Avoid copying statement text if it is statically allocated --- odb/pgsql/container-statements.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'odb/pgsql/container-statements.hxx') 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_; -- cgit v1.1