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
commit0c5953ed01ff28f81c866fed126ebcd47f76c0ea (patch)
treedcc7a392b094b577a0a7760c099806016b448b1b
parent48bd6a6b6585fde8839697294e14079da2d86962 (diff)
Implement SQLite incremental BLOB/TEXT I/O
-rw-r--r--odb/mysql/statement.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/odb/mysql/statement.cxx b/odb/mysql/statement.cxx
index d4e858e..df99223 100644
--- a/odb/mysql/statement.cxx
+++ b/odb/mysql/statement.cxx
@@ -78,23 +78,23 @@ namespace odb
switch (sk)
{
case statement_select:
- process_select (text_,
+ process_select (text_copy_,
+ text_,
&proc->bind->buffer, proc->count, sizeof (MYSQL_BIND),
'`', '`',
- optimize,
- text_copy_);
+ optimize);
break;
case statement_insert:
- process_insert (text_,
+ process_insert (text_copy_,
+ text_,
&proc->bind->buffer, proc->count, sizeof (MYSQL_BIND),
- '?',
- text_copy_);
+ '?');
break;
case statement_update:
- process_update (text_,
+ process_update (text_copy_,
+ text_,
&proc->bind->buffer, proc->count, sizeof (MYSQL_BIND),
- '?',
- text_copy_);
+ '?');
break;
case statement_delete:
assert (false);