aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-15 18:43:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-15 18:43:03 +0200
commit0d1e7d241cc459ace099db554fee413abcbf7700 (patch)
treeaef4eef28d20861c027d26ee208fc597059a6b95
parent93fb6614f72a87af9cf8c935a49988a16df5a5c9 (diff)
Implement SQLite incremental BLOB/TEXT I/O
-rw-r--r--odb/pgsql/statement.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx
index 9f206a6..50ba20e 100644
--- a/odb/pgsql/statement.cxx
+++ b/odb/pgsql/statement.cxx
@@ -162,23 +162,23 @@ namespace odb
switch (sk)
{
case statement_select:
- process_select (text_,
+ process_select (text_copy_,
+ text_,
&proc->bind->buffer, proc->count, sizeof (bind),
'"', '"',
- optimize,
- text_copy_);
+ optimize);
break;
case statement_insert:
- process_insert (text_,
+ process_insert (text_copy_,
+ text_,
&proc->bind->buffer, proc->count, sizeof (bind),
- '$',
- text_copy_);
+ '$');
break;
case statement_update:
- process_update (text_,
+ process_update (text_copy_,
+ text_,
&proc->bind->buffer, proc->count, sizeof (bind),
- '$',
- text_copy_);
+ '$');
break;
case statement_delete:
assert (false);