aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);