summaryrefslogtreecommitdiff
path: root/odb/mysql/source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:47:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:47:07 +0200
commitbf21eac4ab82b7058c3c4148bae8b1f77924730e (patch)
tree65144a85ad85d236aedcf1cef1f3e10c2d5ed715 /odb/mysql/source.cxx
parent0af7ebb3ec09bb97f63337d365f1d3404ccaebdc (diff)
Rename store() to update()
Diffstat (limited to 'odb/mysql/source.cxx')
-rw-r--r--odb/mysql/source.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/mysql/source.cxx b/odb/mysql/source.cxx
index 22dac91..9502a1b 100644
--- a/odb/mysql/source.cxx
+++ b/odb/mysql/source.cxx
@@ -715,9 +715,9 @@ namespace mysql
column_name (id) << "` = ?\";"
<< endl;
- // store_statement
+ // update_statement
//
- os << "const char* const " << traits << "::store_statement =" << endl
+ os << "const char* const " << traits << "::update_statement =" << endl
<< "\"UPDATE `" << table_name (c) << "` SET \"" << endl;
{
@@ -853,10 +853,10 @@ namespace mysql
os << "}";
- // store ()
+ // update ()
//
os << "void " << traits << "::" << endl
- << "store (database&, object_type& obj)"
+ << "update (database&, object_type& obj)"
<< "{"
<< "using namespace mysql;"
<< endl
@@ -876,7 +876,7 @@ namespace mysql
<< "if (init (sts.image (), obj) || imb.version == 0)" << endl
<< "bind (imb, sts.image ());"
<< endl
- << "sts.store_statement ().execute ();"
+ << "sts.update_statement ().execute ();"
<< "}";
// erase ()